LightDM crashing

LightDM has been crashing for a few days, since the last round of updates. It will crash, where the cursor still moves, but I can’t visibly click anything. I have noticed if I’m remoted into a server at the time, it does actually click things in there, but it isn’t reflected back in the display till I log back on, on this remote server after a restart of LightDM (going to an alt tty and running sudo /etc/init.d/lightdm restart). More recently, lightDM has been totally crashing before I can restart it at another tty I get the greeter come back.

$uname -a
Linux computer 5.1.0-parrot1-3t-amd64 #1 SMP Parrot 5.1.3-1parrot1.3t (2019-05-20) x86_64 GNU/Linux

Installed parrot using a USB key about 12 months ago, keep everything updated via built in apt.
No multi-boot.

If there are any error messages or relevant logs, post them below:

$tail ~/.xsession-errors

(mate-panel:6081): GLib-GObject-CRITICAL **: 11:29:10.594: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mate-panel:6081): GLib-GObject-CRITICAL **: 11:29:10.595: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mate-panel:6081): GLib-GObject-CRITICAL **: 11:29:10.595: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mate-panel:6081): GLib-GObject-CRITICAL **: 11:29:10.601: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mate-panel:6081): GLib-GObject-CRITICAL **: 11:29:10.610: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

#cat /var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=937
[+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.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: Starting
[+0.19s] DEBUG: Seat seat0: Creating greeter session
[+0.20s] DEBUG: Seat seat0: Creating display server of type x
[+0.20s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.20s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.21s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+0.21s] DEBUG: Quitting Plymouth
[+0.21s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.28s] DEBUG: Using VT 7
[+0.28s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.28s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.28s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.28s] DEBUG: XServer 0: Launching X Server
[+0.29s] DEBUG: Launching process 1013: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.29s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.29s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.29s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.29s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.29s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.35s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+1.56s] DEBUG: Got signal 10 from process 1013
[+1.56s] DEBUG: XServer 0: Got signal from X server :0
[+1.56s] DEBUG: XServer 0: Connecting to XServer :0
[+1.65s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+1.65s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.65s] DEBUG: Session pid=1047: Started with service 'lightdm-greeter', username 'lightdm'
[+1.70s] DEBUG: Session pid=1047: Authentication complete with return value 0: Success
[+1.70s] DEBUG: Seat seat0: Session authenticated, running command
[+1.70s] DEBUG: Session pid=1047: Running command /usr/sbin/lightdm-gtk-greeter
[+1.70s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+1.70s] DEBUG: Session pid=1047: Logging to /var/log/lightdm/seat0-greeter.log
[+1.79s] DEBUG: Activating VT 7
[+1.79s] DEBUG: Activating login1 session c1
[+1.79s] DEBUG: Seat seat0 changes active session to c1
[+1.79s] DEBUG: Session c1 is already active
[+2.01s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+2.53s] DEBUG: Greeter start authentication for USER
[+2.53s] DEBUG: Session pid=1123: Started with service 'lightdm', username 'USER'
[+2.53s] DEBUG: Session pid=1123: Got 1 message(s) from PAM
[+2.53s] DEBUG: Prompt greeter with 1 message(s)
[+278.32s] DEBUG: Continue authentication
[+278.37s] DEBUG: Session pid=1123: Authentication complete with return value 0: Success
[+278.37s] DEBUG: Authenticate result for user USER: Success
[+278.37s] DEBUG: User USER authorized
[+278.37s] DEBUG: Greeter sets language en_AU.utf8
[+278.46s] DEBUG: Greeter requests session lightdm-xsession
[+278.46s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+278.46s] DEBUG: Terminating login1 session c1
[+278.46s] DEBUG: Session pid=1047: Sending SIGTERM
[+278.48s] DEBUG: Greeter closed communication channel
[+278.48s] DEBUG: Session pid=1047: Exited with return value 0
[+278.48s] DEBUG: Seat seat0: Session stopped
[+278.48s] DEBUG: Seat seat0: Greeter stopped, running session
[+278.48s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+278.48s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+278.48s] DEBUG: Session pid=1123: Running command /etc/X11/Xsession default
[+278.48s] DEBUG: Creating shared data directory /var/lib/lightdm/data/USER
[+278.48s] DEBUG: Session pid=1123: Logging to .xsession-errors
[+278.57s] DEBUG: Activating VT 7
[+278.57s] DEBUG: Activating login1 session 4
[+278.57s] DEBUG: Seat seat0 changes active session to 
[+278.57s] DEBUG: Seat seat0 changes active session to 4
[+278.57s] DEBUG: Session 4 is already active
[+4638.42s] DEBUG: Seat seat0 changes active session to 
[+4648.88s] DEBUG: Seat seat0 changes active session to 17
[+4767.83s] DEBUG: Seat seat0 changes active session to 4
[+4767.83s] DEBUG: Session 4 is already active
[+4767.90s] DEBUG: Process 1013 exited with return value 1
[+4767.90s] DEBUG: XServer 0: X server stopped
[+4767.90s] DEBUG: Releasing VT 7
[+4767.90s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+4767.90s] DEBUG: Seat seat0: Display server stopped
[+4767.90s] DEBUG: Seat seat0: Stopping session
[+4767.90s] DEBUG: Terminating login1 session 4
[+4767.97s] DEBUG: Session pid=1123: Sending SIGTERM
[+4767.97s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+4767.97s] DEBUG: Seat seat0: Creating greeter session
[+4767.97s] DEBUG: Seat seat0: Creating display server of type x
[+4767.97s] DEBUG: Using VT 7
[+4767.97s] DEBUG: Seat seat0: Starting local X display on VT 7
[+4767.97s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+4767.97s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+4767.97s] DEBUG: XServer 0: Launching X Server
[+4767.97s] DEBUG: Launching process 5385: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+4767.97s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+4767.97s] DEBUG: Session pid=1123: Exited with return value 0
[+4767.97s] DEBUG: Seat seat0: Session stopped
[+4767.97s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+4768.06s] DEBUG: Seat seat0 changes active session to 
[+4769.31s] DEBUG: Got signal 10 from process 5385
[+4769.31s] DEBUG: XServer 0: Got signal from X server :0
[+4769.31s] DEBUG: XServer 0: Connecting to XServer :0
[+4769.40s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+4769.41s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+4769.41s] DEBUG: Session pid=5396: Started with service 'lightdm-greeter', username 'lightdm'
[+4769.45s] DEBUG: Session pid=5396: Authentication complete with return value 0: Success
[+4769.45s] DEBUG: Seat seat0: Session authenticated, running command
[+4769.45s] DEBUG: Session pid=5396: Running command /usr/sbin/lightdm-gtk-greeter
[+4769.45s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+4769.45s] DEBUG: Session pid=5396: Logging to /var/log/lightdm/seat0-greeter.log
[+4769.53s] DEBUG: Activating VT 7
[+4769.53s] DEBUG: Activating login1 session c3
[+4769.53s] DEBUG: Seat seat0 changes active session to c3
[+4769.53s] DEBUG: Session c3 is already active
[+4769.61s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+4769.82s] DEBUG: Greeter start authentication for USER
[+4769.82s] DEBUG: Session pid=5442: Started with service 'lightdm', username 'USER'
[+4769.83s] DEBUG: Session pid=5442: Got 1 message(s) from PAM
[+4769.83s] DEBUG: Prompt greeter with 1 message(s)
[+4774.30s] DEBUG: Continue authentication
[+4774.34s] DEBUG: Session pid=5442: Authentication complete with return value 0: Success
[+4774.34s] DEBUG: Authenticate result for user USER: Success
[+4774.34s] DEBUG: User USER authorized
[+4774.34s] DEBUG: Greeter sets language en_AU.utf8
[+4774.40s] DEBUG: Greeter requests session lightdm-xsession
[+4774.40s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+4774.40s] DEBUG: Terminating login1 session c3
[+4774.40s] DEBUG: Session pid=5396: Sending SIGTERM
[+4774.41s] DEBUG: Greeter closed communication channel
[+4774.41s] DEBUG: Session pid=5396: Exited with return value 0
[+4774.41s] DEBUG: Seat seat0: Session stopped
[+4774.41s] DEBUG: Seat seat0: Greeter stopped, running session
[+4774.41s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+4774.41s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+4774.41s] DEBUG: Session pid=5442: Running command /etc/X11/Xsession default
[+4774.41s] DEBUG: Creating shared data directory /var/lib/lightdm/data/USER
[+4774.41s] DEBUG: Session pid=5442: Logging to .xsession-errors
[+4774.45s] DEBUG: Activating VT 7
[+4774.45s] DEBUG: Activating login1 session 19
[+4774.45s] DEBUG: Seat seat0 changes active session to 
[+4774.45s] DEBUG: Seat seat0 changes active session to 19
[+4774.45s] DEBUG: Session 19 is already active
[+4785.77s] DEBUG: Seat seat0 changes active session to 17
[+4905.39s] DEBUG: Seat seat0 changes active session to 
[+4906.28s] DEBUG: Seat seat0 changes active session to 19
[+4906.28s] DEBUG: Session 19 is already active
[+4906.41s] DEBUG: Session pid=5442: Exited with return value 1
[+4906.41s] DEBUG: Seat seat0: Session stopped
[+4906.41s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+4906.41s] DEBUG: Sending signal 15 to process 5385
[+4906.41s] DEBUG: Process 5385 exited with return value 1
[+4906.41s] DEBUG: XServer 0: X server stopped
[+4906.41s] DEBUG: Releasing VT 7
[+4906.41s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+4906.41s] DEBUG: Seat seat0: Display server stopped
[+4906.41s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+4906.41s] DEBUG: Seat seat0: Creating greeter session
[+4906.41s] DEBUG: Seat seat0: Creating display server of type x
[+4906.41s] DEBUG: Using VT 7
[+4906.41s] DEBUG: Seat seat0: Starting local X display on VT 7
[+4906.41s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+4906.41s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+4906.41s] DEBUG: XServer 0: Launching X Server
[+4906.41s] DEBUG: Launching process 5906: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+4906.41s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+4907.77s] DEBUG: Got signal 10 from process 5906
[+4907.77s] DEBUG: XServer 0: Got signal from X server :0
[+4907.77s] DEBUG: XServer 0: Connecting to XServer :0
[+4907.85s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+4907.85s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+4907.85s] DEBUG: Session pid=5953: Started with service 'lightdm-greeter', username 'lightdm'
[+4907.90s] DEBUG: Session pid=5953: Authentication complete with return value 0: Success
[+4907.90s] DEBUG: Seat seat0: Session authenticated, running command
[+4907.90s] DEBUG: Session pid=5953: Running command /usr/sbin/lightdm-gtk-greeter
[+4907.90s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+4907.90s] DEBUG: Session pid=5953: Logging to /var/log/lightdm/seat0-greeter.log
[+4907.99s] DEBUG: Activating VT 7
[+4907.99s] DEBUG: Activating login1 session c4
[+4907.99s] DEBUG: Seat seat0 changes active session to c4
[+4907.99s] DEBUG: Session c4 is already active
[+4908.07s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+4908.29s] DEBUG: Greeter start authentication for USER
[+4908.29s] DEBUG: Session pid=6001: Started with service 'lightdm', username 'USER'
[+4908.30s] DEBUG: Session pid=6001: Got 1 message(s) from PAM
[+4908.30s] DEBUG: Prompt greeter with 1 message(s)
[+4911.89s] DEBUG: Continue authentication
[+4911.91s] DEBUG: Session pid=6001: Authentication complete with return value 0: Success
[+4911.91s] DEBUG: Authenticate result for user USER: Success
[+4911.91s] DEBUG: User USER authorized
[+4911.91s] DEBUG: Greeter sets language en_AU.utf8
[+4911.97s] DEBUG: Greeter requests session lightdm-xsession
[+4911.97s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+4911.97s] DEBUG: Terminating login1 session c4
[+4911.97s] DEBUG: Session pid=5953: Sending SIGTERM
[+4911.98s] DEBUG: Greeter closed communication channel
[+4911.98s] DEBUG: Session pid=5953: Exited with return value 0
[+4911.98s] DEBUG: Seat seat0: Session stopped
[+4911.98s] DEBUG: Seat seat0: Greeter stopped, running session
[+4911.98s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session2
[+4911.98s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+4911.98s] DEBUG: Session pid=6001: Running command /etc/X11/Xsession default
[+4911.98s] DEBUG: Creating shared data directory /var/lib/lightdm/data/USER
[+4911.98s] DEBUG: Session pid=6001: Logging to .xsession-errors
[+4912.01s] DEBUG: Activating VT 7
[+4912.01s] DEBUG: Activating login1 session 22
[+4912.02s] DEBUG: Seat seat0 changes active session to 
[+4912.02s] DEBUG: Seat seat0 changes active session to 22
[+4912.02s] DEBUG: Session 22 is already active

Hi. Thank’s for following our guidelines.

I am not sure if this can be a problem, but this bug is still not closed as you may see here: g_object_unref: assertion 'G_IS_OBJECT (object)' failed · Issue #45 · davidbyttow/govips · GitHub

Are you able to switch to the terminal after lightdm crash by pressing Ctrl+Alt+1-Ctrl+Alt+9?
If you are, please share the logs, because I am not sure if the logs you posted are exactly these, because after system restart they might be rewritten.

Yep, I switched terminals and restarted lightdm to get back in. That github looks to reference govips, I’m not using go or vips for that matter.
I looked at .xsessions-errors after the crash, but the time didn’t match. The above was after a restart of LightDm and the time (11:29:10) matches. You can see the reload of lightDM in the first +2.53s. Don’t know what other logs to look at.

Have you read the log’s before or after restarting lightdm? I think that log is rewritten if you restart lightdm. Idk how can I help you if log’s say nothing :(.

Yep, I read the .old log, and tried from the alt terminal, but nothing is really there.

Seems like it might be an open bug. It is odd, as I haven’t had this for 12 months, it just started after a recent update.
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1515711

I guess lightdm is conflicting with some libs. There was a bug that mate suddenly rised the memory up and took all of memory (no matter how much you have). Turned out it was a lib problem. What is your hardware label? I think this information will help us track this issue.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.