[LightDM] User login/logout scripts

Jaap Winius jwinius at umrk.nl
Fri Dec 21 19:57:17 PST 2012


On Fri, 21 Dec 2012 22:09:52 +0100, Yves-Alexis Perez wrote:

> You can use ~/.xsessionrc for the login stuff (although it's
> then under control of the user).

Exactly. It's nice that that's possible, but I'm only interested in a 
system-wide solution at the moment.

> Or put it after 90x11 in /etc/X11/Xsession.d? That way, it will be
> executed as $USER *after* the user session has finished.

Brilliant! I've tested this and it works. It looks like I can now have my 
cake and eat it. Thank you very much, Yves-Alexis! :-)

Regarding bugzilla.xfce.org, since this last solution also supports a 
system-wide logout script (run as $USER), I wonder if it would be worth 
submitting a feature request for the same functionality. I mean, if the 
Xfce developers already know that, what would be the point? Unless it 
would have some further advantage that I'm not aware of.

Cheers,

Jaap



More information about the LightDM mailing list