You are not logged in.
I followed the advice given in section 5.5 of https://wiki.archlinux.org/title/LightDM. When I log in the greeter presents a black page with its login box, although without a place for the password as I set up passwordless login. I need to click OK before the desktop appears. I just want to get to the desktop straight from bootup.
My /etc/lightdm/lightdm.conf (with comments removed) is:
[LightDM]
logind-check-graphical=true
log-directory=/var/log/lightdm
run-directory=/run/lightdm
[Seat:*]
session-wrapper=/etc/lightdm/Xsession
autologin-user=jr
autologin-user-timeout=1
autologin-session=mate.desktop
[XDMCPServer]
[VNCServer](sorry hit return before finished - will carry on explanation in next post)
Last edited by rustleg (2024-05-21 16:10:47)
Offline
I also set up passwordless login (which does work ok) as detailed in section 5.6 of the same page. I am a member of the groups necessary:
[jr:~]$ groups
nopasswdlogin autologin wheel jrIn case it throws any light
/var/log/lightdm/lightdm.log is:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=627
[+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.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 633: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] 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.43s] DEBUG: Got signal 10 from process 633
[+0.43s] DEBUG: XServer 0: Got signal from X server :0
[+0.43s] DEBUG: XServer 0: Connecting to XServer :0
[+0.43s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.43s] DEBUG: Session pid=661: Started with service 'lightdm-greeter', username 'lightdm'
[+0.44s] DEBUG: Session pid=661: Authentication complete with return value 0: Success
[+0.44s] DEBUG: Seat seat0: Session authenticated, running command
[+0.44s] DEBUG: Session pid=661: Running command /usr/bin/lightdm-gtk-greeter
[+0.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.44s] DEBUG: Session pid=661: Logging to /var/log/lightdm/seat0-greeter.log
[+0.74s] DEBUG: Activating VT 7
[+0.74s] DEBUG: Activating login1 session c1
[+0.74s] DEBUG: Seat seat0 changes active session to c1
[+0.74s] DEBUG: Session c1 is already active
[+0.94s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+1.05s] DEBUG: Greeter start authentication for jr
[+1.05s] DEBUG: Session pid=709: Started with service 'lightdm-autologin', username 'jr'
[+1.07s] DEBUG: Session pid=709: Authentication complete with return value 0: Success
[+1.07s] DEBUG: Authenticate result for user jr: Success
[+1.07s] DEBUG: User jr authorized
[+7.12s] DEBUG: Greeter requests session mate
[+7.12s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+7.12s] DEBUG: Terminating login1 session c1
[+7.12s] DEBUG: Session pid=661: Sending SIGTERM
[+7.13s] DEBUG: Greeter closed communication channel
[+7.13s] DEBUG: Session pid=661: Exited with return value 0
[+7.13s] DEBUG: Seat seat0: Session stopped
[+7.13s] DEBUG: Seat seat0: Greeter stopped, running session
[+7.13s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+7.13s] DEBUG: Session pid=709: Running command /etc/lightdm/Xsession mate-session
[+7.13s] DEBUG: Creating shared data directory /var/lib/lightdm-data/jr
[+7.13s] DEBUG: Session pid=709: Logging to .xsession-errors
[+7.40s] DEBUG: Activating VT 7
[+7.40s] DEBUG: Activating login1 session 2
[+7.40s] DEBUG: Seat seat0 changes active session to
[+7.40s] DEBUG: Seat seat0 changes active session to 2
[+7.40s] DEBUG: Session 2 is already active
[+359.00s] DEBUG: Session pid=709: Exited with return value 0
[+359.00s] DEBUG: Seat seat0: Session stopped
[+359.00s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+359.00s] DEBUG: Sending signal 15 to process 633
[+359.07s] DEBUG: Seat seat0 changes active session to
[+359.46s] DEBUG: Process 633 exited with return value 0
[+359.46s] DEBUG: XServer 0: X server stopped
[+359.46s] DEBUG: Releasing VT 7
[+359.46s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+359.46s] DEBUG: Seat seat0: Display server stopped
[+359.46s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+359.46s] DEBUG: Seat seat0: Creating greeter session
[+359.46s] DEBUG: Seat seat0: Creating display server of type x
[+359.46s] DEBUG: Using VT 7
[+359.46s] DEBUG: Seat seat0: Starting local X display on VT 7
[+359.46s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+359.46s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+359.46s] DEBUG: XServer 0: Launching X Server
[+359.46s] DEBUG: Launching process 1517: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+359.46s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+359.79s] DEBUG: Got signal 10 from process 1517
[+359.79s] DEBUG: XServer 0: Got signal from X server :0
[+359.79s] DEBUG: XServer 0: Connecting to XServer :0
[+359.79s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+359.79s] DEBUG: Session pid=1526: Started with service 'lightdm-greeter', username 'lightdm'
[+359.80s] DEBUG: Session pid=1526: Authentication complete with return value 0: Success
[+359.80s] DEBUG: Seat seat0: Session authenticated, running command
[+359.80s] DEBUG: Session pid=1526: Running command /usr/bin/lightdm-gtk-greeter
[+359.80s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+359.80s] DEBUG: Session pid=1526: Logging to /var/log/lightdm/seat0-greeter.log
[+360.05s] DEBUG: Activating VT 7
[+360.05s] DEBUG: Activating login1 session c2
[+360.05s] DEBUG: Seat seat0 changes active session to c2
[+360.05s] DEBUG: Session c2 is already active
[+360.17s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+360.22s] DEBUG: Greeter start authentication for jr
[+360.22s] DEBUG: Session pid=1574: Started with service 'lightdm-autologin', username 'jr'
[+360.24s] DEBUG: Session pid=1574: Authentication complete with return value 0: Success
[+360.24s] DEBUG: Authenticate result for user jr: Success
[+360.24s] DEBUG: User jr authorized
[+365.54s] DEBUG: Greeter requests session mate
[+365.54s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+365.54s] DEBUG: Terminating login1 session c2
[+365.54s] DEBUG: Session pid=1526: Sending SIGTERM
[+365.55s] DEBUG: Greeter closed communication channel
[+365.55s] DEBUG: Session pid=1526: Exited with return value 0
[+365.55s] DEBUG: Seat seat0: Session stopped
[+365.55s] DEBUG: Seat seat0: Greeter stopped, running session
[+365.55s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+365.55s] DEBUG: Session pid=1574: Running command /etc/lightdm/Xsession mate-session
[+365.55s] DEBUG: Creating shared data directory /var/lib/lightdm-data/jr
[+365.55s] DEBUG: Session pid=1574: Logging to .xsession-errors
[+365.63s] DEBUG: Activating VT 7
[+365.63s] DEBUG: Activating login1 session 5
[+365.63s] DEBUG: Seat seat0 changes active session to
[+365.63s] DEBUG: Seat seat0 changes active session to 5
[+365.63s] DEBUG: Session 5 is already active
[+566.06s] DEBUG: Session pid=1574: Exited with return value 0
[+566.06s] DEBUG: Seat seat0: Session stopped
[+566.06s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+566.06s] DEBUG: Sending signal 15 to process 1517
[+566.11s] DEBUG: Seat seat0 changes active session to
[+566.58s] DEBUG: Process 1517 exited with return value 0
[+566.58s] DEBUG: XServer 0: X server stopped
[+566.58s] DEBUG: Releasing VT 7
[+566.58s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+566.58s] DEBUG: Seat seat0: Display server stopped
[+566.58s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+566.58s] DEBUG: Seat seat0: Creating greeter session
[+566.58s] DEBUG: Seat seat0: Creating display server of type x
[+566.58s] DEBUG: Using VT 7
[+566.58s] DEBUG: Seat seat0: Starting local X display on VT 7
[+566.58s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+566.58s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+566.58s] DEBUG: XServer 0: Launching X Server
[+566.58s] DEBUG: Launching process 2260: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+566.58s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+566.98s] DEBUG: Got signal 10 from process 2260
[+566.98s] DEBUG: XServer 0: Got signal from X server :0
[+566.98s] DEBUG: XServer 0: Connecting to XServer :0
[+566.98s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+566.98s] DEBUG: Session pid=2269: Started with service 'lightdm-greeter', username 'lightdm'
[+566.99s] DEBUG: Session pid=2269: Authentication complete with return value 0: Success
[+566.99s] DEBUG: Seat seat0: Session authenticated, running command
[+566.99s] DEBUG: Session pid=2269: Running command /usr/bin/lightdm-gtk-greeter
[+566.99s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+566.99s] DEBUG: Session pid=2269: Logging to /var/log/lightdm/seat0-greeter.log
[+567.28s] DEBUG: Activating VT 7
[+567.28s] DEBUG: Activating login1 session c3
[+567.29s] DEBUG: Seat seat0 changes active session to c3
[+567.29s] DEBUG: Session c3 is already active
[+567.39s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+567.44s] DEBUG: Greeter start authentication for jr
[+567.45s] DEBUG: Session pid=2316: Started with service 'lightdm-autologin', username 'jr'
[+567.46s] DEBUG: Session pid=2316: Authentication complete with return value 0: Success
[+567.46s] DEBUG: Authenticate result for user jr: Success
[+567.46s] DEBUG: User jr authorized
[+571.30s] DEBUG: Greeter requests session mate
[+571.30s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+571.30s] DEBUG: Terminating login1 session c3
[+571.31s] DEBUG: Session pid=2269: Sending SIGTERM
[+571.31s] DEBUG: Greeter closed communication channel
[+571.31s] DEBUG: Session pid=2269: Exited with return value 0
[+571.31s] DEBUG: Seat seat0: Session stopped
[+571.31s] DEBUG: Seat seat0: Greeter stopped, running session
[+571.31s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session2
[+571.31s] DEBUG: Session pid=2316: Running command /etc/lightdm/Xsession mate-session
[+571.31s] DEBUG: Creating shared data directory /var/lib/lightdm-data/jr
[+571.31s] DEBUG: Session pid=2316: Logging to .xsession-errors
[+571.41s] DEBUG: Activating VT 7
[+571.41s] DEBUG: Activating login1 session 7
[+571.41s] DEBUG: Seat seat0 changes active session to
[+571.41s] DEBUG: Seat seat0 changes active session to 7
[+571.41s] DEBUG: Session 7 is already active
[+1357.91s] DEBUG: Session pid=2316: Exited with return value 0
[+1357.91s] DEBUG: Seat seat0: Session stopped
[+1357.91s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+1357.91s] DEBUG: Sending signal 15 to process 2260
[+1357.99s] DEBUG: Seat seat0 changes active session to
[+1358.42s] DEBUG: Process 2260 exited with return value 0
[+1358.42s] DEBUG: XServer 0: X server stopped
[+1358.42s] DEBUG: Releasing VT 7
[+1358.42s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+1358.42s] DEBUG: Seat seat0: Display server stopped
[+1358.42s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+1358.42s] DEBUG: Seat seat0: Creating greeter session
[+1358.42s] DEBUG: Seat seat0: Creating display server of type x
[+1358.42s] DEBUG: Using VT 7
[+1358.42s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1358.42s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+1358.42s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+1358.42s] DEBUG: XServer 0: Launching X Server
[+1358.42s] DEBUG: Launching process 3292: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1358.42s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+1358.85s] DEBUG: Got signal 10 from process 3292
[+1358.85s] DEBUG: XServer 0: Got signal from X server :0
[+1358.85s] DEBUG: XServer 0: Connecting to XServer :0
[+1358.86s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1358.86s] DEBUG: Session pid=3301: Started with service 'lightdm-greeter', username 'lightdm'
[+1358.87s] DEBUG: Session pid=3301: Authentication complete with return value 0: Success
[+1358.87s] DEBUG: Seat seat0: Session authenticated, running command
[+1358.87s] DEBUG: Session pid=3301: Running command /usr/bin/lightdm-gtk-greeter
[+1358.87s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1358.87s] DEBUG: Session pid=3301: Logging to /var/log/lightdm/seat0-greeter.log
[+1359.14s] DEBUG: Activating VT 7
[+1359.14s] DEBUG: Activating login1 session c4
[+1359.14s] DEBUG: Seat seat0 changes active session to c4
[+1359.14s] DEBUG: Session c4 is already active
[+1359.28s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+1359.33s] DEBUG: Greeter start authentication for jr
[+1359.33s] DEBUG: Session pid=3348: Started with service 'lightdm-autologin', username 'jr'
[+1359.35s] DEBUG: Session pid=3348: Authentication complete with return value 0: Success
[+1359.35s] DEBUG: Authenticate result for user jr: Success
[+1359.35s] DEBUG: User jr authorized
[+1363.94s] DEBUG: Greeter requests session mate
[+1363.94s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+1363.94s] DEBUG: Terminating login1 session c4
[+1363.94s] DEBUG: Session pid=3301: Sending SIGTERM
[+1363.95s] DEBUG: Greeter closed communication channel
[+1363.95s] DEBUG: Session pid=3301: Exited with return value 0
[+1363.95s] DEBUG: Seat seat0: Session stopped
[+1363.95s] DEBUG: Seat seat0: Greeter stopped, running session
[+1363.95s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session3
[+1363.95s] DEBUG: Session pid=3348: Running command /etc/lightdm/Xsession mate-session
[+1363.95s] DEBUG: Creating shared data directory /var/lib/lightdm-data/jr
[+1363.95s] DEBUG: Session pid=3348: Logging to .xsession-errors
[+1364.01s] DEBUG: Activating VT 7
[+1364.01s] DEBUG: Activating login1 session 9
[+1364.01s] DEBUG: Seat seat0 changes active session to
[+1364.01s] DEBUG: Seat seat0 changes active session to 9
[+1364.01s] DEBUG: Session 9 is already activeI don't know what autologin-user-timeout is supposed to do but I set it to 60 which made no difference. If it should make a difference I guess that is a clue.
The file /var/log/lightdm/seat0-greeter.log shows some errors - don't know if that is relevant but also don't know what the errors mean
** Message: 15:12:42.608: Starting lightdm-gtk-greeter 2.0.9 (Feb 26 2024, 03:34:15)
** Message: 15:12:42.610: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
(process:3316): Gtk-WARNING **: 15:12:42.610: Locale not supported by C library.
Using the fallback 'C' locale.
(lightdm-gtk-greeter:3316): Gtk-WARNING **: 15:12:42.793: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)
(lightdm-gtk-greeter:3316): Gtk-WARNING **: 15:12:42.824: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)There was something in another post which mentioned the file ~/.dmrc Mine is just:
[Desktop]
Session=mateI couldn't find any info on this file and in any case the guide says it is overridden by the settings I have.
Can't think what else to try.
Offline
BAH - it's working. Please ignore this post! I'll mark SOLVED. Maybe the problem was I was testing it by logging out and back in. It needed a reboot.
Offline