Hey guys. I’m experiencing a problem with my Raspberry Pi Zero 2 w not loading Lightdm. I normally use this pi headless.
systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● lightdm.service loaded failed failed Light Display Manager
lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /home/joel/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=1000 PID=499
[+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: Running in user mode
[+0.01s] DEBUG: Registered seat module local
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.17s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.19s] DEBUG: Monitoring logind for seats
[+0.19s] DEBUG: New seat added from logind: seat0
[+0.19s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.19s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.19s] DEBUG: Seat seat0: Starting
[+0.19s] DEBUG: Seat seat0: Creating greeter session
[+0.19s] 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.19s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.20s] DEBUG: User joel added
[+0.21s] DEBUG: Seat seat0: Creating display server of type x
[+0.22s] DEBUG: Seat seat0: Starting local X display
[+0.22s] DEBUG: XServer 0: Logging to /home/joel/.cache/lightdm/log/x-0.log
[+0.22s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.22s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:0?: Permission denied
[+0.22s] WARNING: XServer 0: Failed to write authority: Failed to open X authority /run/lightdm/root/:0: Permission denied
[+0.22s] DEBUG: XServer 0: Launching X Server
[+0.22s] DEBUG: Launching process 513: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp
[+0.22s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.22s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.22s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.23s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.24s] DEBUG: Process 513 exited with return value 1
[+0.24s] DEBUG: XServer 0: X server stopped
[+0.24s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.24s] DEBUG: Seat seat0: Display server stopped
[+0.24s] DEBUG: Seat seat0: Stopping session
[+0.24s] DEBUG: Seat seat0: Session stopped
[+0.24s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.24s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.24s] DEBUG: Seat seat0: Stopping
[+0.24s] DEBUG: Seat seat0: Stopped
[+0.24s] DEBUG: Required seat has stopped
[+0.24s] DEBUG: Stopping display manager
[+0.24s] DEBUG: Display manager stopped
[+0.24s] DEBUG: Stopping daemon
[+0.24s] DEBUG: Exiting with return value 1
I do not believe that is his issue. If there was a bug there would be several posts here on it since that link is a month old. My lightdm has been working on my pi and just did the latest upgrade on testing and lightdm is still working. My lightdm conf has not been touched.
Do you have xf86-video-fbdev installed? If not install it and also comment out like this on this line in config.txt:
#max_framebuffers=2
Added:
You should also increase the gpu_mem a little if the default is not enough when you reach the DE and mess around some. Web browsers might be frustrating to mess with, with the low ram on the board.
gpu_mem=128
Also make sure you have lightdm-gtk-greeter is installed.
The board is probably not a good choice for using a DE.