Public bug reported:

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

** Affects: lightdm-gtk-greeter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/972518

Title:
  lightdm-gtk-greeter does not use previous session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/972518/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to