PDA

View Full Version : [xfce] [help] Lightdm fail



crwo98
April 30th, 2019, 06:05 PM
Hi everyone, I'm new in the forums and I need your help.

I've got a problem with lightdm, as it fails to start x session.
The following message appears on startup:

[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.

So that's what I did, and this is what came back:

● lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Tue 2019-04-30 10:38:46 WEST; 5min a
Docs: man:lightdm(1)
Process: 565 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Process: 561 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager
Main PID: 565 (code=exited, status=1/FAILURE)

I then run a sudo lightdm --test-mode --debug command to check what was going on:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.3, UID=0 PID=1625
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating user session
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: DisplayServer x-1: Can't launch X server Xephyr, not found in path
[+0.01s] DEBUG: DisplayServer x-1: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Can't create display server for automatic login
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: DisplayServer x-1: Can't launch X server Xephyr, not found in path
[+0.01s] DEBUG: DisplayServer x-1: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Can't create display server for greeter
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.02s] DEBUG: Seat seat0: Stopping
[+0.02s] DEBUG: Seat seat0: Stopped
[+0.02s] DEBUG: Failed to start seat: seat0

I tried re-installing all the xorg package, but nothing changed.
Also, after the error message, it lets me manually run the startx, and the DE is there fully working.

Any idea on how to solve this?

Thank you very much in advance.

Claus7
May 8th, 2019, 10:23 PM
Hello,

definitely this is not a fix you are seeking, yet it is the only time that I would advice switching from lightdm to gdm3. I do not know exactly if this is compatible with xubuntu, at least with ubuntu it is, so you will have to check it out. Usually lightdm is behaving better than gdm3 in the issues I have encountered. Maybe in your case, the other way around might help.

Regards!