1 |
Hi, |
2 |
|
3 |
On 22/03/2019 21.43, Brian Evans wrote: |
4 |
> What are the implications, if any, of using DMs which are not aware of |
5 |
> {,e}logind? Do they work without modification? |
6 |
|
7 |
My understanding is that such DMs, like lightdm, fork X as root anyway, |
8 |
so there's no implication here, regardless if you have -elogind or |
9 |
+elogind on xorg-server. Even more, you can have -suid -elogind -systemd |
10 |
on xorg-server for lightdm and it will work, as again, it starts as root. |
11 |
|
12 |
The relation between xorg-server and elogind is that pam_elogind.so |
13 |
provides user upon login with variables like $XDG_VTNR, that Xorg then |
14 |
uses, when you start X as user, to start X on the very same virtual |
15 |
terminal that one logged in, and then, elogind (started via dbus or |
16 |
manually) pass the SETMASTER ioctl. |
17 |
|
18 |
-- Piotr. |