Gentoo Archives: gentoo-dev

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] State of elogind integration and the default +elogind local USE flag on xorg-server.
Date: Fri, 22 Mar 2019 20:48:42
Message-Id: ab61a699-abfe-b14e-c8d5-e5e46332de1a@gentoo.org
In Reply to: Re: [gentoo-dev] State of elogind integration and the default +elogind local USE flag on xorg-server. by Brian Evans
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.

Attachments

File name MIME type
pEpkey.asc application/pgp-keys