17

When trying to log onto a Kubuntu 14.04 LTS system. I noticed that all users would pass, when logging in via ssh, but graphical login (i.e. LightDM with the KDE greeter) would just be possible for local accounts.

More precise: LDAP users would be authenticated with ease, but then KDE Plasma would not start up. The relevant lines of the log file:

# /var/log/lightdm/lightdm.log
DEBUG: Seat: Failed to find session configuration default
DEBUG: Seat: Can't find session 'default'

The lines do not show up when local accounts log in.

How to fix this? Explanations?

arney
  • 729

2 Answers2

13

You probably did not set the user-session in LightDM's config file, e.g.

# /etc/lightdm/lightdm.conf
[SeatDefaults]
user-session=plasma-kde
...

therefore LightDM looks into the user's ~/.dmrc file and finds

Session=default

and hence looks for /usr/share/xsessions/default.desktop which is missing.

arney
  • 729
8

sure, thread is pretty old - but anyway: stumbled over this thread, when trying to fix lightdm not starting on a bananapi M3 (armbian) - solution was to apt install lightdm-gtk-greeter (which was not pulled in when installing lightdm) maybe this helps someone :)

lgkf
  • 81