Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5315

Troubleshooting • Error in lightdm test mode

$
0
0
I have a pi4 , all the programs working fine can ssh in to it but have a black screen with a x on it as a mouse pointer.

When i do lightdm --test-mode --debug
This is the outcome:

pi@edwin:~$ lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /home/pi/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=1000 PID=19985
[+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: Running in user mode
[+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.07s] DEBUG: Monitoring logind for seats
[+0.07s] DEBUG: New seat added from logind: seat0
[+0.07s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.07s] DEBUG: Seat seat0: Starting
[+0.07s] DEBUG: Seat seat0: Creating greeter session
[+0.07s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.07s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.08s] DEBUG: Seat seat0: Creating display server of type x
[+0.08s] DEBUG: posix_spawn avoided (fd close requested)
[+0.09s] DEBUG: Seat seat0: Starting local X display
[+0.09s] DEBUG: XServer 0: Logging to /home/pi/.cache/lightdm/log/x-0.log
[+0.09s] DEBUG: XServer 0: Writing X server authority to /home/pi/.cache/lightdm/run/root/:0
[+0.10s] DEBUG: XServer 0: Launching X Server
[+0.10s] DEBUG: Launching process 19990: /usr/bin/X :0 -seat seat0 -auth /home/pi/.cache/lightdm/run/root/:0 -nolisten tcp
[+0.10s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.10s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.10s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+1.84s] DEBUG: Got signal 10 from process 19990
[+1.84s] DEBUG: XServer 0: Got signal from X server :0
[+1.84s] DEBUG: XServer 0: Connecting to XServer :0
[+1.88s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.88s] DEBUG: Session: Not setting XDG_VTNR
[+1.90s] DEBUG: Session pid=20003: Started with service 'lightdm-greeter', username 'pi'
[+1.96s] DEBUG: Session pid=20003: Authentication complete with return value 0: Success
[+1.96s] DEBUG: Seat seat0: Session authenticated, running command
[+1.96s] DEBUG: Session pid=20003: Not setting XDG_VTNR
[+1.96s] DEBUG: Session pid=20003: Running command /usr/sbin/pi-greeter
[+1.96s] DEBUG: Creating shared data directory /var/lib/lightdm/data/pi
[+1.96s] WARNING: Could not chown user data directory /var/lib/lightdm/data/pi: Error setting owner: Operation not permitted
[+1.96s] DEBUG: Session pid=20003: Logging to /home/pi/.cache/lightdm/log/seat0-greeter.log

When i run as sudo lightdm --test-mode --debug
I got:

pi@edwin:/$ sudo lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.03s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=28157
[+0.03s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.03s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.03s] DEBUG: Registered seat module local
[+0.03s] DEBUG: Registered seat module xremote
[+0.03s] DEBUG: Registered seat module unity
[+0.03s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.06s] DEBUG: Monitoring logind for seats
[+0.06s] DEBUG: New seat added from logind: seat0
[+0.06s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.06s] DEBUG: Seat seat0: Starting
[+0.06s] DEBUG: Seat seat0: Creating greeter session
[+0.06s] DEBUG: Seat seat0: Creating display server of type x
[+0.06s] DEBUG: posix_spawn avoided (fd close requested)
[+0.08s] DEBUG: Using VT 7
[+0.08s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.08s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.08s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.08s] DEBUG: XServer 1: Launching X Server
[+0.09s] DEBUG: Launching process 28163: /usr/bin/X :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.09s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.09s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.09s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.09s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.09s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.28s] DEBUG: Process 28163 exited with return value 1
[+0.29s] DEBUG: XServer 1: X server stopped
[+0.29s] DEBUG: Releasing VT 7
[+0.29s] DEBUG: XServer 1: Removing X server authority /var/run/lightdm/root/:1
[+0.29s] DEBUG: Seat seat0: Display server stopped
[+0.29s] DEBUG: Seat seat0: Stopping session
[+0.29s] DEBUG: Seat seat0: Session stopped
[+0.29s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.29s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.29s] DEBUG: Seat seat0: Stopping
[+0.29s] DEBUG: Seat seat0: Stopped
[+0.29s] DEBUG: Required seat has stopped
[+0.29s] DEBUG: Stopping display manager
[+0.29s] DEBUG: Display manager stopped
[+0.29s] DEBUG: Stopping daemon
[+0.29s] DEBUG: Exiting with return value 1

And this is result off
sudo cat /var/log/lightdm/x-0.log:

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.0-72-generic armv8l Raspbian
Current Operating System: Linux edwin 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 video=HDMI-A-2:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 smsc95xx.macaddr=DC:A6:32:EC:91:3B vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=a77a639c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
Build Date: 04 January 2022 10:05:34AM
xorg-server 2:1.20.4-1+rpt4+deb10u4 (https://www.debian.org/support)
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 6 07:43:50 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
(II) Server terminated successfully (0). Closing log file.


Sorry if i did something wrong i’m a noob at this
What could be the problem?

Statistics: Posted by Darter1234 — Thu Jun 06, 2024 5:56 am



Viewing all articles
Browse latest Browse all 5315

Trending Articles