Hello!
I have what at first glance might look like one of the “I can’t start the Xsession” problems we see here from time to time, but this is slightly different I think.
System: AlmaLinux 9.7, patched 25-12-22, TL 4.19 for both server and clients, air-gapped with very strict control about what can be exported from the server (so no logfiles to show, sorry about that)
Symptoms: Of about 20 users, some can log in to their Xsession (gnome and gnome classic) without any issues while others get the typical error message after the initial session configuration indicating that a xsession is already running for that user. But the thing is that this happens even after the server is rebooted in a proper way! During debugging I logged in as a regular user on a freshly rebooted server without any problems, checked for other users (none), user processes apart from my own (none), sessions apart from mine (none), sockets under /tmp/.X11-unix apart from mine (none), other lockfiles that I could think of (none), any strange process running related to other users (none). Clean, empty and nothing! The other user could still not start the Xsession. Terminate old sessions box checked in the client UI. All the central log files under /var/log look clean on the way in and then nothing strange when “bouncing out”. xinit.log for the user just says that the XDG session command is executed followed by the line with exit code 0 and then tl-kdestroy.sh and so on. Just like when you already have a xsession running. But I am pretty sure there is none.
Any ideas?
Per
Edit: the users with issues used to be able to log in and start the xsession before we updated to 4.19.