You are not logged in.

#1 2021-03-26 21:02:47

user189189
Member
Registered: 2021-03-26
Posts: 1

Black screen/"Failed to start Light Display Manager" lightdm

Hello!
I'm trying to install XFCE desktop environment with lightdm.
But I get black screen or error "Failed to start Light Display Manager" after booting.
lightdm.service is enabled. Also, I have no problem with my video card because I can run XFCE using startx command.
I have installed lightdm-gtk-greeter and I tried to set greeter-session to lightdm-gtk-greeter. Also didn't help.
Lightdm login screen works if I try to run it manually from console using command sudo lightdm --debug, but after entering correct password I get error "Unable to contact settings server" "Could not connect: connection refused.".
My ~/.xinitrc configured like: "exec startxfce4", also I've tried "exec startx". Nothing worked.
journalctl log:

Mar 26 15:44:36 host lightdm[357]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not p>
Mar 26 15:44:36 host systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 15:44:36 host systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 26 15:44:36 host systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.

/var/log/lightdm/lightdm.log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=836
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+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 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+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: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] DEBUG: XServer 1: Launching X Server
[+0.01s] DEBUG: Launching process 841: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.02s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.02s] DEBUG: User user added
[+1.85s] DEBUG: Seat seat0 changes active session to
[+2.65s] DEBUG: Got signal 10 from process 841
[+2.65s] DEBUG: XServer 1: Got signal from X server :1
[+2.65s] DEBUG: XServer 1: Connecting to XServer :1
[+2.70s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.70s] DEBUG: Session pid=858: Started with service 'lightdm-greeter', username 'lightdm'
[+2.71s] DEBUG: Session pid=858: Authentication complete with return value 0: Success
[+2.71s] DEBUG: Seat seat0: Session authenticated, running command
[+2.71s] DEBUG: Session pid=858: Running command /usr/bin/lightdm-gtk-greeter
[+2.71s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.71s] DEBUG: Session pid=858: Logging to /var/log/lightdm/seat0-greeter.log
[+2.72s] DEBUG: Activating VT 7
[+2.82s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+2.86s] DEBUG: Greeter start authentication for user
[+2.86s] DEBUG: Session pid=874: Started with service 'lightdm', username 'user'
[+2.87s] DEBUG: Session pid=874: Got 1 message(s) from PAM
[+2.87s] DEBUG: Prompt greeter with 1 message(s)
[+8.23s] DEBUG: Continue authentication
[+8.24s] DEBUG: Session pid=874: Authentication complete with return value 0: Success
[+8.24s] DEBUG: Authenticate result for user user: Success
[+8.24s] DEBUG: User user authorized
[+8.25s] DEBUG: Greeter requests session xfce
[+8.25s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+8.25s] DEBUG: Session pid=858: Sending SIGTERM
[+8.26s] DEBUG: Greeter closed communication channel
[+8.26s] DEBUG: Session pid=858: Exited with return value 0
[+8.26s] DEBUG: Seat seat0: Session stopped
[+8.26s] DEBUG: Seat seat0: Greeter stopped, running session
[+8.26s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+8.26s] DEBUG: Session pid=874: Running command /etc/lightdm/Xsession startxfce4
[+8.26s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+8.26s] DEBUG: Session pid=874: Logging to .xsession-errors
[+8.26s] DEBUG: Activating VT 7
[+9.15s] DEBUG: Session pid=874: Exited with return value 1
[+9.15s] DEBUG: Seat seat0: Session stopped
[+9.15s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+9.15s] DEBUG: Sending signal 15 to process 841
[+11.68s] DEBUG: Process 841 exited with return value 0
[+11.68s] DEBUG: XServer 1: X server stopped
[+11.68s] DEBUG: Releasing VT 7
[+11.68s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+11.68s] DEBUG: Seat seat0: Display server stopped
[+11.68s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+11.68s] DEBUG: Seat seat0: Creating greeter session
[+11.68s] DEBUG: Seat seat0: Creating display server of type x
[+11.68s] DEBUG: Using VT 7
[+11.68s] DEBUG: Seat seat0: Starting local X display on VT 7
[+11.68s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+11.68s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+11.68s] DEBUG: XServer 1: Launching X Server
[+11.68s] DEBUG: Launching process 902: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+11.68s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+12.43s] DEBUG: Got signal 10 from process 902
[+12.43s] DEBUG: XServer 1: Got signal from X server :1
[+12.43s] DEBUG: XServer 1: Connecting to XServer :1
[+12.48s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+12.48s] DEBUG: Session pid=917: Started with service 'lightdm-greeter', username 'lightdm'
[+12.49s] DEBUG: Session pid=917: Authentication complete with return value 0: Success
[+12.49s] DEBUG: Seat seat0: Session authenticated, running command
[+12.49s] DEBUG: Session pid=917: Running command /usr/bin/lightdm-gtk-greeter
[+12.49s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+12.49s] DEBUG: Session pid=917: Logging to /var/log/lightdm/seat0-greeter.log
[+12.50s] DEBUG: Activating VT 7
[+12.59s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+12.63s] DEBUG: Greeter start authentication for user
[+12.63s] DEBUG: Session pid=933: Started with service 'lightdm', username 'user'
[+12.64s] DEBUG: Session pid=933: Got 1 message(s) from PAM
[+12.64s] DEBUG: Prompt greeter with 1 message(s)
[+221.37s] DEBUG: Continue authentication
[+222.97s] DEBUG: Session pid=933: Authentication complete with return value 6: Permission denied
[+222.97s] DEBUG: Authenticate result for user user: Permission denied
[+222.97s] DEBUG: Session pid=933: Exited with return value 1
[+222.97s] DEBUG: Seat seat0: Session stopped
[+223.16s] DEBUG: Greeter start authentication for user
[+223.16s] DEBUG: Session pid=942: Started with service 'lightdm', username 'user'
[+223.17s] DEBUG: Session pid=942: Got 1 message(s) from PAM
[+223.17s] DEBUG: Prompt greeter with 1 message(s)
[+225.10s] DEBUG: Continue authentication
[+225.11s] DEBUG: Session pid=942: Authentication complete with return value 0: Success
[+225.11s] DEBUG: Authenticate result for user user: Success
[+225.11s] DEBUG: User user authorized
[+225.30s] DEBUG: Greeter requests session xfce
[+225.30s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+225.30s] DEBUG: Session pid=917: Sending SIGTERM
[+225.41s] DEBUG: Greeter closed communication channel
[+225.41s] DEBUG: Session pid=917: Exited with return value 0
[+225.41s] DEBUG: Seat seat0: Session stopped
[+225.41s] DEBUG: Seat seat0: Greeter stopped, running session
[+225.41s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+225.41s] DEBUG: Session pid=942: Running command /etc/lightdm/Xsession startxfce4
[+225.42s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+225.42s] DEBUG: Session pid=942: Logging to .xsession-errors
[+225.42s] DEBUG: Activating VT 7
[+387.77s] DEBUG: Session pid=942: Exited with return value 1
[+387.77s] DEBUG: Seat seat0: Session stopped
[+387.77s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+387.77s] DEBUG: Sending signal 15 to process 902
[+390.23s] DEBUG: Process 902 exited with return value 0
[+390.23s] DEBUG: XServer 1: X server stopped
[+390.23s] DEBUG: Releasing VT 7
[+390.23s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+390.24s] DEBUG: Seat seat0: Display server stopped
[+390.24s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+390.24s] DEBUG: Seat seat0: Creating greeter session
[+390.24s] DEBUG: Seat seat0: Creating display server of type x
[+390.24s] DEBUG: Using VT 7
[+390.24s] DEBUG: Seat seat0: Starting local X display on VT 7
[+390.24s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+390.24s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+390.24s] DEBUG: XServer 1: Launching X Server
[+390.24s] DEBUG: Launching process 984: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+390.24s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+391.13s] DEBUG: Got signal 10 from process 984
[+391.13s] DEBUG: XServer 1: Got signal from X server :1
[+391.13s] DEBUG: XServer 1: Connecting to XServer :1
[+391.18s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+391.18s] DEBUG: Session pid=999: Started with service 'lightdm-greeter', username 'lightdm'
[+391.19s] DEBUG: Session pid=999: Authentication complete with return value 0: Success
[+391.19s] DEBUG: Seat seat0: Session authenticated, running command
[+391.19s] DEBUG: Session pid=999: Running command /usr/bin/lightdm-gtk-greeter
[+391.19s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+391.19s] DEBUG: Session pid=999: Logging to /var/log/lightdm/seat0-greeter.log
[+391.19s] DEBUG: Activating VT 7
[+391.36s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+391.57s] DEBUG: Greeter start authentication for user
[+391.57s] DEBUG: Session pid=1015: Started with service 'lightdm', username 'user'
[+391.59s] DEBUG: Session pid=1015: Got 1 message(s) from PAM
[+391.59s] DEBUG: Prompt greeter with 1 message(s)
[+721.48s] DEBUG: Seat seat0 changes active session to 1

Hope for your help!

Offline

#2 2021-03-28 04:23:25

loqs
Member
Registered: 2014-03-06
Posts: 13,179

Re: Black screen/"Failed to start Light Display Manager" lightdm

Please post /var/log/lightdm/lightdm.log and /var/log/Xorg.0.log after you have rebooted and lightdm has failed without starting lightdm in any other manner.
The lightdm.log you have posted does not show lightdm failing so I am assuming it was overwritten by a later run of lightdm.
Please use code tags for commands and their outputs not quote tags.

Offline

Board footer

Powered by FluxBB