Greeter doesn't select user's last session when using "Other"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LightDM GTK Greeter |
Fix Released
|
Low
|
Unassigned | ||
lightdm-gtk-greeter (Debian) |
Fix Released
|
Unknown
|
Bug Description
When you enter a username by hand (i.e. not via the user list), lightdm-gtk-greeter doesn't select the user's last session (or language). However, if you enter an incorrect password, *then* your last session *is* selected.
Since your last session is only selected when entering an incorrect password, this also means that if you select a desired session and then enter the wrong password, your choice will be reset to whatever your last session was, which is unexpected. This also happens when logging in via the user list.
The attached patch (also in BZR at lp:~agwa/lightdm-gtk-greeter/lightdm-gtk-greeter) fixes the problem by selecting the user's last session at the time the user is selected (either via the user list or by hand), rather than at the the time the password is entered.
Changed in lightdm-gtk-greeter (Debian): | |
status: | Unknown → Confirmed |
Changed in lightdm-gtk-greeter (Debian): | |
status: | Confirmed → Fix Released |
Changed in lightdm-gtk-greeter: | |
milestone: | none → 1.7.0 |
Changed in lightdm-gtk-greeter: | |
status: | Fix Committed → Fix Released |
Hi Andrew,
thanks for the patch, I was actually starting to look at the problem and wanted it to fix as well. Even I would have preferred to simply be able to explicitly choose the last session and last language in lightdm( -gtk-greeter) like you could in gdm 2.20.
Also, please have a look at my related bug reports:
- bug #1071417 - Inconsistent behavior when restoring default session and language
- bug #1068853 - Inconsistent behavior when storing default session and language
- bug #1069494 - Please allow to choose between AccountsService and ${HOME}/.dmrc
which show that there are several problems when dealing with saving and restoring the last session or language. This mechanism is broken especially when relying on network logins with users changing their login machines on a daily basis.
Cheers,
Adrian