12

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?

9

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.

  • Changing /etc/lightdm/lightdm.conf did not fix it for me, but modifying ~/.dmrc did the trick. Isn't ~/.dmrc prioritary over the /etc/ configuration? – Elouan Keryell-Even Jan 14 at 16:20
0

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 :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.