Sample Header Ad - 728x90

Debian 12 boot fails to load lightdm and stops

1 vote
0 answers
578 views
Debian 12 fails to boot after last upgrades writing sth like [failed] Lightm did not load The content of /var/log/lightdm/lightdm.log is as follows
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=722
[+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: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus Screen "Screen0" (0)
[  1310.592] (**) |   |-->Monitor "Monitor0"
[  1310.593] (**) |   |-->Device "Card0"
[  1310.593] (**) |-->Input Device "Mouse0"
[  1310.593] (**) |-->Input Device "Keyboard0"
[  1310.593] (==) Automatically adding devices
[  1310.593] (==) Automatically enabling devices
[  1310.593] (==) Automatically adding GPU devices
[  1310.593] (==) Automatically binding GPU devices
[  1310.593] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1310.593] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1310.593] 	Entry deleted from font path.
[  1310.593] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1310.593] 	Entry deleted from font path.
[  1310.593] (**) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[  1310.593] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1310.593] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1310.593] (WW) Disabling Mouse0
[  1310.593] (WW) Disabling Keyboard0
[  1310.729] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[  1310.730] Number of created screens does not match number of detected devices.
  Configuration failed.
[  1310.730] (EE) Server terminated with error (2). Closing log file.
I used to try to install cuda some time before the last upgrade. It led to gui malfunctioning , so i uninstalled cuda, returned to nouveau, and ran Xorg -configure and everything seemed to work. And it still works if i boot to the previous version of Debian on grub (sth like 6.8 instead of 6.10). Current xorg.conf is as follows
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz",
        ### : "%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# []
        #Option     "HWcursor"           	# []
        #Option     "NoAccel"            	# []
        #Option     "ShadowFB"           	# []
        #Option     "VideoKey"           	# 
        #Option     "WrappedFB"          	# []
        #Option     "GLXVBlank"          	# []
        #Option     "ZaphodHeads"        	# 
        #Option     "PageFlip"           	# []
        #Option     "SwapLimit"          	# 
        #Option     "AsyncUTSDFS"        	# []
        #Option     "AccelMethod"        	# 
        #Option     "DRI"                	# 
	Identifier  "Card0"
	Driver      "nouveau"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
My graphics card is Nvidia GeForce 240M.
Asked by Иван Катаев (11 rep)
Apr 29, 2024, 10:52 AM
Last activity: Apr 29, 2024, 05:49 PM