** Branch linked: lp:~robert-ancell/unity-greeter/always-use-valid- session
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-greeter in Ubuntu. https://bugs.launchpad.net/bugs/1303725 Title: Unable to log in if user has invalid session configured and no session switcher shown Status in “unity-greeter” package in Ubuntu: In Progress Bug description: I was having some unrelated problems with unity, so I temporarily removed it which caused me to stumble across this problem. I have gnome also installed on my system, and was planning to use it in the meanwhile. After I removed unity and reboot my computer, I noticed the session selector disappeared. From the ubuntu wiki I found this information: The session switcher will only show up if you have more than one VALID session; a valid session is one that points to a valid executable. This would be fine, except for lightdm assumed that the one session available was 'ubuntu.' I could not change the session because the selector was missing. Every attempt to log in would begin to appear as if it worked, but then I would just be stuck looking at the background image and nothing else. I looked though the logs and found these lines in x-0-greeter.log [+0.03s] DEBUG: Connected version=1.8.5 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true ... [+0.09s] DEBUG: Ignoring session /usr/share/xsessions/ubuntu.desktop [+0.09s] DEBUG: Loaded session /usr/share/xsessions/gnome.desktop (GNOME, This session logs you into GNOME) ... [+1.79s] DEBUG: Authentication complete for user jonathan with return code 0 [+1.79s] DEBUG: Starting session ubuntu So I changed the default session from 'ubuntu' to 'gnome', by running the following command: sudo /usr/lib/lightdm/lightdm-set-defaults --session gnome (I also verified in /etc/lightdm/lightdm.conf that it worked) This time around the log showed that default-session=gnome, but still attempted to load 'ubuntu' regardless. The only way I was ever able to get into gnome was by making a copy of gnome.desktop in /usr/share/xsessions, renaming the copy to ubuntu.desktop, forcing the session switcher to reappear. It worked, but it's a little bit hackish. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1303725/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

