#770967 user-session ignored for autologin sessions

Package:
lightdm
Source:
lightdm
Description:
simple display manager
Submitter:
Mike Gabriel
Date:
2014-11-26 21:03:10 UTC
Severity:
normal
#770967#5
Date:
2014-11-25 14:56:45 UTC
From:
To:
When I put the below into lightdm.conf...

"""
[SeatDefaults]
autologin-user=mike
autologin-user-timeout=0
user-session=LXDE
"""

.... my expectation would be to end up with an LXDE session as user mike directly after reboot.

What happens: I get an i3 desktop session (my system-wide default desktop shell).

It seems that the user-session parameter currently gets ignored by lightdm.

#770967#10
Date:
2014-11-25 21:42:21 UTC
From:
To:
Can you try with autologin-session?

Regards,

#770967#15
Date:
2014-11-26 10:24:21 UTC
From:
To:
Hi Yves,

No need to test, I guess. By looking at the lightdm code (and the
default lightdm.conf), you will notice that autologin-session is never
parsed / used inside the lightdm code.

I also tested it yesterday, IIRC, before checking the code more
thoroughly (and it did not work, of course).

Greets,
Mike

#770967#20
Date:
2014-11-26 20:02:25 UTC
From:
To:
Then I guess you have your answer :)

Regards,

#770967#25
Date:
2014-11-26 21:00:37 UTC
From:
To:

Can you:

- check there's a /usr/share/xsessions/LXDE.desktop with correct
contents
- run lightdm --show-config
- try without autologin and check if the correct session is selected

Regards,