You are not logged in.

#1 2020-06-03 18:41:16

DannMartinnez
Member
Registered: 2020-05-12
Posts: 7
Website

[Solved] Failed to start Light Display Manager

Hi,
I’m having problems to boot my Arch system. This are some outputs that could be useful to help me solving the issue.

  systemctl status lightdm.service 
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disa>     Active: failed (Result: exit-code) since Wed 2020-06-03 12:06:47 -05; 1h 24min ago
       Docs: man:lightdm(1)
    Process: 586 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 586 (code=exited, status=1/FAILURE)

Jun 03 12:06:47 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:47 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Start request repeated too quickly.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:47 arch systemd[1]: Failed to start Light Display Manager. 
 journalctl -b -u lightdm.service 
 -- Logs begin at Fri 2020-05-22 16:59:49 -05, end at Wed 2020-06-03 13:16:36 -05. --
Jun 03 12:06:41 arch systemd[1]: Starting Light Display Manager...
Jun 03 12:06:41 arch systemd[1]: Started Light Display Manager.
Jun 03 12:06:46 arch systemd[1]: lightdm.service: Main process exited, code=exited, status>Jun 03 12:06:46 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:46 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:46 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:46 arch systemd[1]: Starting Light Display Manager...
Jun 03 12:06:46 arch systemd[1]: Started Light Display Manager.
Jun 03 12:06:46 arch systemd[1]: lightdm.service: Main process exited, code=exited, status>Jun 03 12:06:46 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:46 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:46 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:46 arch systemd[1]: Starting Light Display Manager...
Jun 03 12:06:46 arch systemd[1]: Started Light Display Manager.
Jun 03 12:06:46 arch systemd[1]: lightdm.service: Main process exited, code=exited, status>Jun 03 12:06:46 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:47 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: Starting Light Display Manager...
Jun 03 12:06:47 arch systemd[1]: Started Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Main process exited, code=exited, status>Jun 03 12:06:47 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:47 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: Starting Light Display Manager...
Jun 03 12:06:47 arch systemd[1]: Started Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Main process exited, code=exited, status>Jun 03 12:06:47 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter i>Jun 03 12:06:47 arch systemd[1]: Stopped Light Display Manager.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Start request repeated too quickly.
Jun 03 12:06:47 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 03 12:06:47 arch systemd[1]: Failed to start Light Display Manager.  
 lightdm --test-mode --debug  
 
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=3302
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 3308: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+1.38s] DEBUG: Process 3308 exited with return value 1
[+1.38s] DEBUG: XServer 0: X server stopped
[+1.38s] DEBUG: Releasing VT 7
[+1.38s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+1.38s] DEBUG: Seat seat0: Display server stopped
[+1.38s] DEBUG: Seat seat0: Stopping session
[+1.38s] DEBUG: Seat seat0: Session stopped
[+1.38s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+1.38s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+1.38s] DEBUG: Seat seat0: Stopping
[+1.38s] DEBUG: Seat seat0: Stopped
[+1.38s] DEBUG: Required seat has stopped
[+1.38s] DEBUG: Stopping display manager
[+1.38s] DEBUG: Display manager stopped
[+1.38s] DEBUG: Stopping daemon
[+1.38s] DEBUG: Exiting with return value 1  

Can anyone help me troubleshoot this?

Last edited by DannMartinnez (2020-06-03 20:52:47)

Offline

#2 2020-06-03 18:47:00

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] Failed to start Light Display Manager

Is the /var/log/lightdm/lightdm.log produced by lightdm with --test-mode --debug or without?  How did you configure lightdm and how did you configure X?
What graphical hardware is present on the system?

Offline

#3 2020-06-03 18:49:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Failed to start Light Display Manager

Please fix your thread title. Your machine is booting fine, it is your display manager that is the issue.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2020-06-03 19:50:52

DannMartinnez
Member
Registered: 2020-05-12
Posts: 7
Website

Re: [Solved] Failed to start Light Display Manager

Thanks loqs.


loqs wrote:

Is the /var/log/lightdm/lightdm.log produced by lightdm with --test-mode --debug or without?

Yes, is the log produced by lightdm with --test-mode --debug.
Just this part was missing as I was running the command from my phone by ssh

[8524.141118] radeon 0000:01:00.0: failed VCE resume (-110) 
loqs wrote:

How did you configure lightdm and how did you configure X?

This is my lightdm.conf

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session = lightdm-webkit2-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#greeter-setup-script=/usr/bin/numlockx on
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8
loqs wrote:

What graphical hardware is present on the system?

AMD Radeon HD 8730M


Thanks smile

Offline

#5 2020-06-03 19:55:09

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] Failed to start Light Display Manager

Please restart lightdm.service then post the contents of /var/log/Xorg.0.log /var/log/lightdm/lightdm.log /var/log/lightdm/seat0-greeter.log

Offline

#6 2020-06-03 20:17:39

DannMartinnez
Member
Registered: 2020-05-12
Posts: 7
Website

Re: [Solved] Failed to start Light Display Manager

After restart lightdm.service I get this message in console again.

 [8524.141118] radeon 0000:01:00.0: failed VCE resume (-110) 

This is the content of /var/log/Xorg.0.log

[ 10346.461] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 10346.461] Build Operating System: Linux Arch Linux
[ 10346.461] Current Operating System: Linux arch 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[ 10346.461] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f53c726d-2ab1-4b1d-b4e3-9824720add56 rw intel_idle.max_cstate=1
[ 10346.461] Build Date: 05 May 2020  05:08:17AM
[ 10346.461]  
[ 10346.461] Current version of pixman: 0.40.0
[ 10346.461]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 10346.461] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10346.461] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  3 14:58:50 2020
[ 10346.461] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 10346.461] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10346.461] Parse error on line 17 of section InputClass in file /etc/X11/xorg.conf.d/50-synaptics.conf
        "..." is not a valid keyword in this section.
[ 10346.461] (EE) Problem parsing the config file
[ 10346.461] (EE) Error parsing the config file
[ 10346.461] (EE) 
Fatal server error:
[ 10346.461] (EE) no screens found(EE) 
[ 10346.461] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 10346.461] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10346.461] (EE) 
[ 10346.461] (EE) Server terminated with error (1). Closing log file.
  

This is the content of /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=5624
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 5630: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Process 5630 exited with return value 1
[+0.02s] DEBUG: XServer 0: X server stopped
[+0.02s] DEBUG: Releasing VT 7
[+0.02s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.02s] DEBUG: Seat seat0: Display server stopped
[+0.02s] DEBUG: Seat seat0: Stopping session
[+0.02s] DEBUG: Seat seat0: Session stopped
[+0.02s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.02s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.02s] DEBUG: Seat seat0: Stopping
[+0.02s] DEBUG: Seat seat0: Stopped
[+0.02s] DEBUG: Required seat has stopped
[+0.02s] DEBUG: Stopping display manager
[+0.02s] DEBUG: Display manager stopped
[+0.02s] DEBUG: Stopping daemon
[+0.02s] DEBUG: Exiting with return value 1

and /var/log/lightdm/seat0-greeter.log is empty, is that normal?

Offline

#7 2020-06-03 20:20:49

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] Failed to start Light Display Manager

[ 10346.461] Parse error on line 17 of section InputClass in file /etc/X11/xorg.conf.d/50-synaptics.conf
        "..." is not a valid keyword in this section.
[ 10346.461] (EE) Problem parsing the config file
[ 10346.461] (EE) Error parsing the config file
[ 10346.461] (EE) 
Fatal server error:

Offline

#8 2020-06-03 20:33:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,796

Online

#9 2020-06-03 20:52:43

DannMartinnez
Member
Registered: 2020-05-12
Posts: 7
Website

Re: [Solved] Failed to start Light Display Manager

I had recently modified that file and I made a typo.

Thank you very much for teach me how to fix this kind of problems

Last edited by DannMartinnez (2020-06-03 20:53:22)

Offline

Board footer

Powered by FluxBB