lightdm-gtk-greeter does not use previous session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LightDM GTK Greeter |
Fix Released
|
High
|
Unassigned | ||
lightdm-gtk-greeter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In 12.04, lightdm-gtk-greeter (1.1.4-0ubuntu1) does not restore the previous session, rather always logs in with the system default session unless the user selects one specifically. I suspect this is because the session field defaults to "Ubuntu", rather than looking up the previous session name. The unity greeter in lightdm works as expected, but shows the icon for "Ubuntu" even if it is going to start Gnome.
lightdm logs the following:
[+651.62s] DEBUG: Continue authentication
[+651.62s] DEBUG: Session 6241 got 1 message(s) from PAM
[+651.62s] DEBUG: Prompt greeter with 1 message(s)
[+654.17s] DEBUG: Continue authentication
[+654.20s] DEBUG: Session 6241 authentication complete with return value 0: Success
[+654.20s] DEBUG: Authenticate result for user localuser: Success
[+654.20s] DEBUG: User localuser authorized
[+654.20s] DEBUG: Greeter requests session ubuntu
[+654.20s] DEBUG: Using session ubuntu
[+654.20s] DEBUG: Stopping greeter
[+654.20s] DEBUG: Session 6201: Sending SIGTERM
[+654.24s] DEBUG: Greeter closed communication channel
[+654.24s] DEBUG: Session 6201 exited with return value 0
[+654.24s] DEBUG: Greeter quit
[+654.26s] DEBUG: Dropping privileges to uid 1000
[+654.26s] DEBUG: Restoring privileges
[+654.26s] DEBUG: Dropping privileges to uid 1000
[+654.27s] DEBUG: Writing /home/localuser
[+654.27s] DEBUG: Restoring privileges
[+654.27s] DEBUG: Starting session ubuntu as user localuser
[+654.27s] DEBUG: Session 6241 running command /usr/sbin/
[+654.29s] DEBUG: Registering session with bus path /org/freedeskto
Status changed to 'Confirmed' because the bug affects multiple users.