[systemd-devel] logind on VT-less kernels, and starting a greeter on session hangs

2023-10-24 Thread nerdopolis
While on VT-less seats, while all major Wayland compositors support CTRL+ALT+F(x), the drawback is that on VT-less seats and kernels, it only works when there are multiple sessions on VT-less seats to switch between, as most display managers stop the greeter when starting a session, and a large

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-28 Thread nerdopolis
On Friday, May 28, 2021 3:13:17 AM EDT Pekka Paalanen wrote: > On Thu, 27 May 2021 17:33:35 +0200 > Lennart Poettering wrote: > > > On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > > > All in all, this stack would replace the usual stack where > > > /bin/login runs

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-28 Thread nerdopolis
On Thursday, May 27, 2021 11:33:35 AM EDT Lennart Poettering wrote: > On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > All in all, this stack would replace the usual stack where > > /bin/login runs directly on the TTY of a VT, allowing to use a more > > featureful

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread nerdopolis
On Thursday, May 27, 2021 11:23:44 AM EDT Lennart Poettering wrote: > On Fr, 21.05.21 21:29, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > > > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at veri

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread nerdopolis
On Saturday, May 22, 2021 3:14:27 PM EDT Pekka Paalanen wrote: > On Sat, 22 May 2021 09:04:42 -0400 > nerdopolis wrote: > > > On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > > > On Fri, 21 May 2021 21:29:09 -0400 > > > nerdopolis wro

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread nerdopolis
On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > On Fri, 21 May 2021 21:29:09 -0400 > nerdopolis wrote: > > > Sorry, I got the terminology mixed up again. I am still using TTYs to run > > the > > instances of `cage`. It's the kernel mode

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-21 Thread nerdopolis
On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at verizon.net) wrote: > > > Hi > > > > I am trying to experiment around replacing the text mode TTYs with usermode > > utilities. > > I don't follow? &

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-20 Thread nerdopolis
On Sunday, May 16, 2021 7:41:30 PM EDT wrote: > Hi > > I am trying to experiment around replacing the text mode TTYs with usermode > utilities. > > > While kmscon exists, the problem with it that I see is that it runs as root. > It's most likely so it can run /bin/login as root, and

[systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-16 Thread nerdopolis
Hi I am trying to experiment around replacing the text mode TTYs with usermode utilities. While kmscon exists, the problem with it that I see is that it runs as root. It's most likely so it can run /bin/login as root, and /bin/login is not setuid I found that doing something like (Can't

[systemd-devel] Possible support for child logind sessions running under a display server?

2020-09-16 Thread nerdopolis
Hi I have been experimenting with cobbling up some sort of non-root kmscon alternate by combining wlroots based cage and vte, However Two problems force me to run it as root. (The first being the obvious escalation of /bin/login which might be possible to do with systemd-run and pkexec and a

Re: [systemd-devel] Creating a fake logind seat with no devices [Experiment]

2020-08-03 Thread nerdopolis
On Thursday, July 30, 2020 5:00:27 AM EDT Arseny Maslennikov wrote: > On Wed, Jul 29, 2020 at 11:17:51PM -0400, nerdopolis wrote: > > I am pretty much trying to cobble together tmux, cage, and vte, to create a > > full screen VT-like > > console lookalike. (as the kernel one

Re: [systemd-devel] Creating a fake logind seat with no devices [Experiment]

2020-07-30 Thread nerdopolis
On Wednesday, July 29, 2020 7:13:23 AM EDT Lennart Poettering wrote: > On Mi, 29.07.20 00:11, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > Hi > > > > Sorry about the length. > > > > I have a unique thing I am trying to solve, is that if I have a

[systemd-devel] Creating a fake logind seat with no devices [Experiment]

2020-07-29 Thread nerdopolis
Hi Sorry about the length. I have a unique thing I am trying to solve, is that if I have a service that calls /sbin/logind under something like tmux, and I set `Environment=XDG_SEAT=seat0` in the service file, upon logging in, pam_systemd fails to create a session, as it's seat0 and it's

Re: [systemd-devel] All non-seat0 input devices leak into VT if no display server on seat0

2020-04-08 Thread nerdopolis
On Wednesday, April 8, 2020 3:35:08 AM EDT Pekka Paalanen wrote: > On Tue, 07 Apr 2020 23:03:52 -0400 > nerdopolis wrote: > > > On Friday, April 3, 2020 3:28:52 AM EDT Pekka Paalanen wrote: > > > On Thu, 02 Apr 2020 22:59:25 -0400 > > > nerdopolis wrote: > &g

Re: [systemd-devel] The meaning of CanMultiSession=no on non-seat0

2020-04-07 Thread nerdopolis
On Friday, April 3, 2020 3:28:52 AM EDT Pekka Paalanen wrote: > On Thu, 02 Apr 2020 22:59:25 -0400 > nerdopolis wrote: > > > On Tuesday, March 31, 2020 8:59:30 AM EDT Lennart Poettering wrote: > > > On Di, 28.01.20 22:48, nerdopolis (bluescreen_aven...@verizon.net) wr

Re: [systemd-devel] The meaning of CanMultiSession=no on non-seat0

2020-04-02 Thread nerdopolis
On Tuesday, March 31, 2020 8:59:30 AM EDT Lennart Poettering wrote: > On Di, 28.01.20 22:48, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > Hi > > > > Sorry if this is the wrong place for this. I can't seem to find a > > system-user > > mailing

[systemd-devel] The meaning of CanMultiSession=no on non-seat0

2020-01-28 Thread nerdopolis
Hi Sorry if this is the wrong place for this. I can't seem to find a system-user mailing list for this purpose on freedesktop. So I am curious about what CanMultiSession=no means, as I am able to start a Weston session on a secondary seat (eg seat1 if I set up the hardware with udev or

Re: [systemd-devel] Two questions about logind and seats

2017-08-02 Thread nerdopolis
On Wednesday, August 2, 2017 3:17:37 AM EDT Lennart Poettering wrote: > On Di, 01.08.17 19:32, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > On Tuesday, August 1, 2017 3:00:25 AM EDT Lennart Poettering wrote: > > > On Mo, 31.07.17 21:24, nerdopolis (bluescree

Re: [systemd-devel] Two questions about logind and seats

2017-08-01 Thread nerdopolis
On Tuesday, August 1, 2017 3:00:25 AM EDT Lennart Poettering wrote: > On Mo, 31.07.17 21:24, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > > > First, when I attach a 2nd graphics card to seat1, it seems > > > > CanMultisession is > > &g

Re: [systemd-devel] Two questions about logind and seats

2017-07-31 Thread nerdopolis
On Monday, July 31, 2017 9:41:46 AM EDT Lennart Poettering wrote: > On Sa, 29.07.17 00:34, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > Hi > > > > I hope this is the right place to ask this. I have two questions about > > logind > > and seats.

Re: [systemd-devel] Two questions about logind and seats

2017-07-30 Thread nerdopolis
they are set to. I still have my other question, is it possible to set CanMultisession to yes on other seats besides seat0? Thanks On Saturday, July 29, 2017 12:34:46 AM EDT nerdopolis wrote: > Hi > > I hope this is the right place to ask this. I have two questions about logind &g

[systemd-devel] Two questions about logind and seats

2017-07-28 Thread nerdopolis
Hi I hope this is the right place to ask this. I have two questions about logind and seats. First, when I attach a 2nd graphics card to seat1, it seems CanMultisession is set to 0. Is there a way to change that? or is that only supported on seat0, that supports the TTYs? Second, with

Re: [systemd-devel] [PATCH] dbus: fix --system handling

2011-03-23 Thread nerdopolis
On Monday, October 25, 2010 08:40:50 PM Lennart Poettering wrote: On Tue, 26.10.10 00:44, Michael Biebl (mbiebl at gmail.com) wrote: 2010/10/26 Lennart Poettering lennart at poettering.net: Note that we do not support booting a real system with systemd on PID != 1. The primary reason for