You are not logged in.

#1 2020-06-18 10:50:29

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

[Solved] lightdm fails at startup

I just upgraded my system and now lightdm fails at startup, even tho when started manually it works perfectly fine.

Here is the output of it:

● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2020-06-18 12:40:38 CEST; 32s ago
       Docs: man:lightdm(1)
    Process: 673 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 673 (code=exited, status=1/FAILURE)

Jun 18 12:40:38 arch systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Jun 18 12:40:38 arch systemd[1]: Stopped Light Display Manager.
Jun 18 12:40:38 arch systemd[1]: lightdm.service: Start request repeated too quickly.
Jun 18 12:40:38 arch systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 18 12:40:38 arch systemd[1]: Failed to start Light Display Manager.

The output of

 sudo 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=1740
[+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: Using Xephyr for X servers
[+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 1: Logging to /var/log/lightdm/x-1.log
[+0.00s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.00s] DEBUG: XServer 1: Launching X Server
[+0.00s] DEBUG: Launching process 1746: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+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/User1001 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?

Does anybody have an idea what causes this?

Last edited by Stefan_xyz (2020-06-18 12:24:10)

Offline

#2 2020-06-18 11:56:39

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [Solved] lightdm fails at startup

What is the contents of /var/log/lightdm/lightdm.log and /var/log/Xorg.0.log after lightdm failed on startup?

Offline

#3 2020-06-18 12:11:37

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

Re: [Solved] lightdm fails at startup

ligthdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=665
[+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 671: /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.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Process 671 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

Xorg.0.log

[     4.702] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     4.702] Build Operating System: Linux Arch Linux
[     4.702] Current Operating System: Linux arch 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64
[     4.702] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=2e9cb740-7b56-49cc-a5e8-bb4e6b5b4045 rw loglevel=3 quiet
[     4.702] Build Date: 05 May 2020  05:08:17AM
[     4.702]  
[     4.702] Current version of pixman: 0.40.0
[     4.702] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     4.702] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.702] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 18 14:09:03 2020
[     4.702] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     4.702] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     4.702] (==) No Layout section.  Using the first Screen section.
[     4.702] (==) No screen section available. Using defaults.
[     4.702] (**) |-->Screen "Default Screen Section" (0)
[     4.702] (**) |   |-->Monitor "<default monitor>"
[     4.702] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     4.702] (==) Automatically adding devices
[     4.702] (==) Automatically enabling devices
[     4.702] (==) Automatically adding GPU devices
[     4.702] (==) Automatically binding GPU devices
[     4.702] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     4.702] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     4.702] 	Entry deleted from font path.
[     4.702] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[     4.702] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     4.702] 	Entry deleted from font path.
[     4.702] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     4.702] 	Entry deleted from font path.
[     4.702] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     4.702] (==) ModulePath set to "/usr/lib/xorg/modules"
[     4.702] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     4.702] (II) Module ABI versions:
[     4.702] 	X.Org ANSI C Emulation: 0.4
[     4.702] 	X.Org Video Driver: 24.1
[     4.702] 	X.Org XInput driver : 24.1
[     4.702] 	X.Org Server Extension : 10.0
[     4.703] (++) using VT number 7

[     4.703] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     4.705] (--) PCI:*(0@0:2:0) 8086:591b:1558:6450 rev 4, Mem @ 0xdd000000/16777216, 0xa0000000/536870912, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     4.705] (--) PCI: (1@0:0:0) 10de:1c8c:1558:6450 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     4.705] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     4.705] (II) LoadModule: "glx"
[     4.705] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     4.706] (II) Module glx: vendor="X.Org Foundation"
[     4.706] 	compiled for 1.20.8, module version = 1.0.0
[     4.706] 	ABI class: X.Org Server Extension, version 10.0
[     4.706] (==) Matched intel as autoconfigured driver 0
[     4.706] (==) Matched modesetting as autoconfigured driver 1
[     4.706] (==) Matched fbdev as autoconfigured driver 2
[     4.706] (==) Matched vesa as autoconfigured driver 3
[     4.706] (==) Assigned the driver to the xf86ConfigLayout
[     4.706] (II) LoadModule: "intel"
[     4.706] (WW) Warning, couldn't open module intel
[     4.706] (EE) Failed to load module "intel" (module does not exist, 0)
[     4.706] (II) LoadModule: "modesetting"
[     4.706] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     4.706] (II) Module modesetting: vendor="X.Org Foundation"
[     4.706] 	compiled for 1.20.8, module version = 1.20.8
[     4.706] 	Module class: X.Org Video Driver
[     4.706] 	ABI class: X.Org Video Driver, version 24.1
[     4.706] (II) LoadModule: "fbdev"
[     4.706] (WW) Warning, couldn't open module fbdev
[     4.707] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     4.707] (II) LoadModule: "vesa"
[     4.707] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     4.707] (II) Module vesa: vendor="X.Org Foundation"
[     4.707] 	compiled for 1.20.8, module version = 2.4.0
[     4.707] 	Module class: X.Org Video Driver
[     4.707] 	ABI class: X.Org Video Driver, version 24.1
[     4.707] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     4.707] (II) VESA: driver for VESA chipsets: vesa
[     4.707] (EE) open /dev/dri/card0: No such file or directory
[     4.707] (WW) Falling back to old probe method for modesetting
[     4.707] (EE) open /dev/dri/card0: No such file or directory
[     4.707] (EE) Screen 0 deleted because of no matching config section.
[     4.707] (II) UnloadModule: "modesetting"
[     4.707] (II) Loading sub module "vbe"
[     4.707] (II) LoadModule: "vbe"
[     4.707] (II) Loading /usr/lib/xorg/modules/libvbe.so
[     4.707] (II) Module vbe: vendor="X.Org Foundation"
[     4.707] 	compiled for 1.20.8, module version = 1.1.0
[     4.707] 	ABI class: X.Org Video Driver, version 24.1
[     4.707] (II) Loading sub module "int10"
[     4.707] (II) LoadModule: "int10"
[     4.707] (II) Loading /usr/lib/xorg/modules/libint10.so
[     4.707] (II) Module int10: vendor="X.Org Foundation"
[     4.707] 	compiled for 1.20.8, module version = 1.0.0
[     4.707] 	ABI class: X.Org Video Driver, version 24.1
[     4.707] (II) VESA(0): initializing int10
[     4.708] (EE) VESA(0): V_BIOS address 0x0 out of range
[     4.708] (II) UnloadModule: "vesa"
[     4.708] (II) UnloadSubModule: "int10"
[     4.708] (II) Unloading int10
[     4.708] (II) UnloadSubModule: "vbe"
[     4.708] (II) Unloading vbe
[     4.708] (EE) Screen(s) found, but none have a usable configuration.
[     4.708] (EE) 
Fatal server error:
[     4.708] (EE) no screens found(EE) 
[     4.708] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     4.708] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     4.708] (EE) 
[     4.708] (EE) Server terminated with error (1). Closing log file.

Offline

#4 2020-06-18 12:17:16

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [Solved] lightdm fails at startup

Offline

#5 2020-06-18 12:23:56

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

Re: [Solved] lightdm fails at startup

That worked thanks!

Offline

Board footer

Powered by FluxBB