[systemd-devel] XDG_SEAT for kmscon
Lennart Poettering
lennart at poettering.net
Tue Oct 2 06:33:24 PDT 2012
On Mon, 01.10.12 15:08, David Herrmann (dh.herrmann at googlemail.com) wrote:
> Hi
>
> I am currently working on making kmscon a drop-in replacement for
> agetty and was wondering how XDG_SEAT has to be set to correctly mark
> the seat-name for new logins? I currently simply spawn /bin/login from
> kmscon, but it doesn't set up the seat-name correctly (it simply
> passes "").
>
> Setting XDG_SEAT=seat0 for /bin/login doesn't work. Is there any
> documentation on this variable?
Just for completeness of the mailing list archives' sake: systemd in git
will now check XDG_SEAT both via pam_getenv() and via getenv() (only as
fallback), so that this should work correctly.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list