lightdm does ignore session selection first time non local user is choosen

Bug #896375 reported by Torsten Krah
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In contrast to GDM LightDM ignores the choosen session to start for a user account and even does forget a users choosen session after a restart/reboot.
I am using a winbind user account (from nsswitch), a non local one.
The first time the user can not be selected from the menu, you have to choose other and enter the username.
After pressing enter i switch my session from Ubuntu to LXDE and enter my password.
I would expect LXDE is started, however Ubuntu default Session is loaded.

I have to logout. I can choose now my user from the list (lightdm did remember the account now) and now i have to switch from Ubuntu to LXDE again.
After entering password and login second time LXDE does load.

After a reboot a have to do the procedure from above again.
GDM did not show this Session bug, i can enter any username i want and choose a session an its working the first time.

Expected behaviour is, after choosing a username and changing the session, that this session is loaded.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.6-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Nov 25 19:38:29 2011
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (42 days ago)

Revision history for this message
Torsten Krah (tkrah) wrote :
Revision history for this message
Thomas Bushnell, BSG (tbushnell) wrote :

We have this problem too. Our users typically do not have a home directory until the first time they log in, by the way, with the use of pam_mkhomedir.so to create it, however this behavior is independent of whether the home directory exists or not.

We do not see the session chooser widget until you click on a *different* user than the default; then it shows up, for all users.

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

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

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Jonas Sundman (jonas-sundman) wrote :

I can confirm the same behaviour (on two different machines) with accounts from ldap and selecting Gnome in lightdm.

On every reboot regardless of the selection in lightdm a Unity (default) session is launched. On subseqent logins the requested Gnome session is launchen.

In lightdm.log
[+42.89s] DEBUG: Greeter requests session ubuntu
[+42.89s] DEBUG: Using session ubuntu
[+43.04s] DEBUG: Stopping greeter

[+144.73s] DEBUG: Greeter requests session gnome-shell
[+144.73s] DEBUG: Using session gnome-shell
[+144.74s] DEBUG: Stopping greeter

Also in the greeter if I select Other..., select Gnome, type my username and press enter, then the selection is reverted to Unity in the password dialog.

Revision history for this message
dirbaio (yosoydario) wrote :

I have this problem too on Ubuntu 13.04

This is a Samba+Winbind installation. The greeter seems to be quite buggy with these accounts. It also asks me for my password twice.
It's very annoying, it should be fixed.

I'm using the exact same configuration on a Linux Mint Debian Edition computer and it behaves well.

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.