lightdm-gtk-greeter does not use previous session

Bug #972518 reported by Andrew Phillips
16
This bug affects 3 people
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/.dmrc
[+654.27s] DEBUG: Restoring privileges
[+654.27s] DEBUG: Starting session ubuntu as user localuser
[+654.27s] DEBUG: Session 6241 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+654.29s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session5

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm-gtk-greeter (Ubuntu):
status: New → Confirmed
Revision history for this message
Sean Davis (bluesabre) wrote :

This has been fixed in recent releases, and is verified in Ubuntu 14.04 with lightdm-gtk-greeter 1.8.4

Changed in lightdm-gtk-greeter:
status: New → Fix Released
Changed in lightdm-gtk-greeter (Ubuntu):
status: Confirmed → Fix Released
Changed in lightdm-gtk-greeter:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.