You are not logged in.

#1 2020-06-11 23:30:11

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 119

Lightdm hangs with latest systemd

Hello
I have updated the system, and with it, updated systemd. Since then LightDM stops loading. Appears a black screen with cursor, but hangs. I tried to change the greeter to webkit2-greeter, but still hangs. I read Malvineous' post, but the recommended modification in the solving link don't match my system while I have no rules for udev.

lightdm log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1766
[+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.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.03s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.03s] DEBUG: XServer 0: Launching X Server
[+0.03s] DEBUG: Launching process 1772: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.03s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.04s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.05s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.05s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.07s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.08s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.10s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.11s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.12s] DEBUG: Seat seat0 changes active session to 
[+11.48s] DEBUG: Got signal 10 from process 1772
[+11.48s] DEBUG: XServer 0: Got signal from X server :0
[+11.48s] DEBUG: XServer 0: Connecting to XServer :0
[+11.57s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+11.58s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+11.58s] DEBUG: Session pid=1785: Started with service 'lightdm-greeter', username 'lightdm'
[+11.70s] DEBUG: Session pid=1785: Authentication complete with return value 0: Success
[+11.70s] DEBUG: Seat seat0: Session authenticated, running command
[+11.70s] DEBUG: Session pid=1785: Running command /usr/bin/lightdm-gtk-greeter
[+11.70s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+11.70s] DEBUG: Session pid=1785: Logging to /var/log/lightdm/seat0-greeter.log
[+12.11s] DEBUG: Activating VT 7
[+12.11s] DEBUG: Activating login1 session c2
[+12.12s] DEBUG: Seat seat0 changes active session to c2
[+12.12s] DEBUG: Session c2 is already active
[+16.83s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+17.92s] DEBUG: Greeter start authentication for tombenko
[+17.92s] DEBUG: Session pid=1829: Started with service 'lightdm', username 'tombenko'
[+18.00s] DEBUG: Session pid=1829: Got 1 message(s) from PAM
[+18.00s] DEBUG: Prompt greeter with 1 message(s)
[+57.94s] DEBUG: Continue authentication
[+58.11s] DEBUG: Session pid=1829: Authentication complete with return value 0: Success
[+58.11s] DEBUG: Authenticate result for user tombenko: Success
[+58.11s] DEBUG: User tombenko authorized
[+58.20s] DEBUG: Greeter requests session xfce
[+58.20s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+58.20s] DEBUG: Terminating login1 session c2
[+58.21s] DEBUG: Session pid=1785: Sending SIGTERM
[+58.27s] DEBUG: Greeter closed communication channel
[+58.27s] DEBUG: Session pid=1785: Exited with return value 0
[+58.27s] DEBUG: Seat seat0: Session stopped
[+58.27s] DEBUG: Seat seat0: Greeter stopped, running session
[+58.27s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+58.27s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+58.27s] DEBUG: Session pid=1829: Running command /etc/lightdm/Xsession startxfce4
[+58.27s] DEBUG: Creating shared data directory /var/lib/lightdm-data/tombenko
[+58.27s] DEBUG: Session pid=1829: Logging to .xsession-errors
[+58.42s] DEBUG: Activating VT 7
[+58.42s] DEBUG: Activating login1 session 7
[+58.42s] DEBUG: Seat seat0 changes active session to 
[+58.42s] DEBUG: Seat seat0 changes active session to 7
[+58.42s] DEBUG: Session 7 is already active
[+127.81s] DEBUG: Seat seat0 changes active session to 3
[+134.50s] DEBUG: Got signal 15 from process 1
[+134.50s] DEBUG: Caught Terminated signal, shutting down
[+134.50s] DEBUG: Stopping display manager
[+134.50s] DEBUG: Seat seat0: Stopping
[+134.50s] DEBUG: Seat seat0: Stopping display server
[+134.50s] DEBUG: Sending signal 15 to process 1772
[+134.50s] DEBUG: Seat seat0: Stopping session
[+134.50s] DEBUG: Terminating login1 session 7
[+134.55s] DEBUG: Session pid=1829: Sending SIGTERM
[+134.69s] DEBUG: Process 1772 exited with return value 0
[+134.69s] DEBUG: XServer 0: X server stopped
[+134.69s] DEBUG: Releasing VT 7
[+134.69s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+134.69s] DEBUG: Seat seat0: Display server stopped
[+134.72s] DEBUG: Session pid=1829: Exited with return value 1
[+134.72s] DEBUG: Seat seat0: Session stopped
[+134.72s] DEBUG: Seat seat0: Stopped
[+134.72s] DEBUG: Display manager stopped
[+134.72s] DEBUG: Stopping daemon
[+134.72s] DEBUG: Exiting with return value 0

seat0-greeter.log

** Message: 00:54:18.154: Starting lightdm-gtk-greeter 2.0.7 (May 16 2020, 10:36:27)
** Message: 00:54:18.191: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf

** (lightdm-gtk-greeter:1796): WARNING **: 00:54:22.843: [PIDs] Failed to execute command: /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:1796): WARNING **: 00:54:22.849: [PIDs] Failed to execute command: upstart

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:54:23.913: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:55:00.361: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:55:03.853: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:55:03.877: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:55:03.907: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1796): Gtk-WARNING **: 00:55:03.950: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

x-0.log

X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux Feynmann 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64
Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=LABEL=ROOT rw resume=/dev/sda2
Build Date: 05 May 2020  05:08:17AM
 
Current version of pixman: 0.40.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: Fri Jun 12 00:54:05 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) event5  - ETPS/2 Elantech Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.5/touchpad-jumping-cursors.html for details
(EE) event5  - ETPS/2 Elantech Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.5/touchpad-jumping-cursors.html for details
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) Server terminated successfully (0). Closing log file.

x-1.log

X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux Feynmann 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64
Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=LABEL=ROOT rw resume=/dev/sda2
Build Date: 05 May 2020  05:08:17AM
 
Current version of pixman: 0.40.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.1.log", Time: Thu Jun 11 23:12:06 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Failed to switch from vt07 to vt02: Input/output error
Failed to switch from vt07 to vt01: Input/output error
Failed to switch from vt07 to vt01: Input/output error
Failed to switch from vt07 to vt01: Input/output error
Failed to switch from vt07 to vt02: Input/output error
Failed to switch from vt07 to vt03: Input/output error
(II) Server terminated successfully (0). Closing log file.

Offline

#2 2020-06-12 06:04:06

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Lightdm hangs with latest systemd

The lightdm logs shows a succesful login and the xorg "logs" are stripped down versions and the .1 log is ~2h older than the .0 log, but both servers seem to have run successfully (ie. re probably old)

The typical cause is https://wiki.archlinux.org/index.php/Li … TTY_output you could also try to boot the multi-user.target and start lightdm from there to see whether either it works or more errors show up.

Offline

#3 2020-06-15 07:37:39

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 119

Re: Lightdm hangs with latest systemd

That didn't work. No greeter, even when I try others than gtk, but I can login blind, but right after the i915 module fails. There must be some problem between LightDM and the i915 module, because that module fails sometime for about three or four weeks, and now I had to change the DM because os this error, and the problem is gone. Afternoon I try to get some errors from the module.

Offline

#4 2020-07-20 22:57:41

diogo-b013
Member
Registered: 2020-07-20
Posts: 3

Re: Lightdm hangs with latest systemd

My solution was remove all packages from "ConsoleKit" that was deprecated and a library related with "Console kit"

Offline

#5 2020-07-28 22:55:01

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 119

Re: Lightdm hangs with latest systemd

Elsewhere I wrote my solution: installing Wayland surprisingly solved the lightdm problems (and some others).

Offline

Board footer

Powered by FluxBB