FS#34343 - [lightdm] Lightdm's home directory should be persisted
Attached to Project:
Community Packages
Opened by Christian Surlykke (surlykke) - Sunday, 17 March 2013, 13:21 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 17 March 2013, 21:40 GMT
Opened by Christian Surlykke (surlykke) - Sunday, 17 March 2013, 13:21 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 17 March 2013, 21:40 GMT
|
Details
Description: It would be nice if lightdm's home directory
was persistent (i.e in /var/lib rather than /var/run).
When a user logs in, lightdm-gtk3-greeter writes that user and his/her session to a state file in ~lightdm/.cache/lightdm-gtk-greeter and uses that user and session as suggestion next time it is run. When ~lightdm resides in /var/run this won't work across reboots. lightdm-razor-greeter will have the same functionality in the upcoming version 0.6. Additional info: * Version 1:1.4.02 Steps to reproduce: * With lightdm-gtk-greeter, login as someone. * Logout (without restarting). Notice that the user last logged in is suggested. * Restart the computer. Now there is no suggested user. |
This task depends upon
Comment by
Maxime Gauduin (Alucryd) - Sunday,
17 March 2013, 21:40 GMT
Thx for the suggestion, I've implemented it. Please note that
you'll need to uninstall lightdm for the lightdm user to be
deleted (make sure lightdm is not running while you do this), then
install the new package. Or you could just modify the user
yourself 'sudo usermod -d /var/lib/lightdm lightdm'.