Hello Arjen, On 04/02/2025 09:37, Arjen Balfoort wrote:
I wanted to check the order of systemd processes: systemd-analyze dot --order | dot -Tsvg > systemd.svgThat showed me that live-config starts early in the boot process and lightdm a lot later. So, I assume that live-config already finished writing the lightdm configuration far before lightdm is started.I think that lightdm tries to autologin and gets thrown back immediately. I don't know why, but I think that I have to report this with the lightdm devs.
I've looked at 'journalctl -xe'. The following entries look suspicious: -- start --Feb 05 18:38:26 solydxk lightdm[1703]: Failed to write utmpx: No such file or directory Feb 05 18:38:26 solydxk lightdm[1703]: pam_unix(lightdm:session): session closed for user solydxk Feb 05 18:38:26 solydxk systemd-logind[1332]: Session 2 logged out. Waiting for processes to exit.
Feb 05 18:38:26 solydxk pulseaudio[1821]: X11 I/O error handler calledFeb 05 18:38:26 solydxk pulseaudio[1821]: X11 I/O error exit handler called, preparing to tear down X11 modul> Feb 05 18:38:26 solydxk kwin_x11[1990]: The X11 connection broke: I/O error (code 1) Feb 05 18:38:26 solydxk kwin_x11[1990]: XIO: fatal IO error 2 (No such file or directory) on X server ":0" Feb 05 18:38:26 solydxk kwin_x11[1990]: after 13671 requests (13645 known processed) with 0 events rema> Feb 05 18:38:26 solydxk systemd[1799]: Stopped plasma-kded6.service - KDE Daemon 6.
-- stop --The error message is generated by lightdm (https://sources.debian.org/src/lightdm/1.32.0-6/src/session-child.c/?hl=757#L757)
The file /var/log/wtmp will not be generated at runtime for the 2024 image you prepared, but in the 2025 image it is generated.
Additionally I've looked in ~/.xsession-errors: In the 2025 image the following 3 lines are present: -- start --dbus-update-activation-environment: setting XAUTHORITY=/home/solydxk/.Xauthority
localuser:solydxk being added to access control list /etc/X11/Xsession: 5: /etc/profile.d/sbin.sh: [[: not found -- stop -- The second line is not present when the 2024 image is started.You might take a look at the error message in the third line, which is logged for both images (but this is probably not in scope of this bug report).
And a third thing: 'grep XDG_ ~/.xession-errors':The XDG_SESSION_TYPE changed from 'wayland' to 'x11', and XDG_SESSION_DESKTOP changed from 'plasmaywayland' to 'lightdm-xsession'.
I'm not sure if that was the intended effect. And looking at /var/log/lightdm/seat0-greeter.log: -- start --Failed to load session file /usr/share/xsessions/kde-plasma-kf5.desktop: No such file or directory
-- stop -- The file exists, but is a dangling symlink. I hope this helps you to find the cause for the missing autologin. With kind regards, Roland Clobus
OpenPGP_signature.asc
Description: OpenPGP digital signature