Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-01-14 12:48:45

tuxolero
Member
Registered: 2013-02-10
Posts: 65
LinuxFirefox 133.0

[SOLVED] Login to desktop fails after upgrading to 4.20

Hi all,

I'm using XFCE on Arch Linux with lightdm as login manager. After today's update, I can't login to XFCE anymore:
The graphical login prompt appears, and after giving my password, it flickers and the login prompt reappears.
I've upgraded another computer last week and did not encounter any problems (and there are no XFCE-related package updates since then), so I assume it's not caused by broken packages.
According to /var/log/lightdm.log and the system journal, the login is successful, but I'm immediately being logged out again.

This is the content of lightdm.log:

[+116.25s] DEBUG: Continue authentication
[+116.28s] DEBUG: Session pid=6451: Authentication complete with return value 0: Success
[+116.28s] DEBUG: Authenticate result for user markus: Success
[+116.28s] DEBUG: User markus authorized
[+116.30s] DEBUG: Greeter requests session xfce
[+116.30s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+116.30s] DEBUG: Terminating login1 session c16
[+116.30s] DEBUG: Session pid=6390: Sending SIGTERM
[+116.32s] DEBUG: Greeter closed communication channel
[+116.32s] DEBUG: Session pid=6390: Exited with return value 0
[+116.32s] DEBUG: Seat seat0: Session stopped
[+116.32s] DEBUG: Seat seat0: Greeter stopped, running session
[+116.32s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+116.32s] DEBUG: Session pid=6451: Running command /etc/lightdm/Xsession startxfce4
[+116.32s] DEBUG: Creating shared data directory /var/lib/lightdm-data/markus
[+116.32s] DEBUG: Session pid=6451: Logging to .xsession-errors
[+116.43s] DEBUG: Activating VT 7
[+116.43s] DEBUG: Activating login1 session 20
[+116.43s] DEBUG: Seat seat0 changes active session to
[+116.43s] DEBUG: Seat seat0 changes active session to 20
[+116.43s] DEBUG: Session 20 is already active
[+116.55s] DEBUG: Session pid=6451: Exited with return value 127
[+116.55s] DEBUG: Seat seat0: Session stopped
[+116.55s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+116.55s] DEBUG: Sending signal 15 to process 6373
[+116.62s] DEBUG: Seat seat0 changes active session to
[+116.94s] DEBUG: Process 6373 exited with return value 0
[+116.94s] DEBUG: XServer 0: X server stopped
[+116.94s] DEBUG: Releasing VT 7
[+116.94s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+116.94s] DEBUG: Seat seat0: Display server stopped
[+116.94s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+116.94s] DEBUG: Seat seat0: Creating greeter session
[+116.94s] DEBUG: Seat seat0: Creating display server of type x
[+116.94s] DEBUG: Using VT 7
[+116.94s] DEBUG: Seat seat0: Starting local X display on VT 7
[+116.94s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+116.94s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+116.94s] DEBUG: XServer 0: Launching X Server
[+116.94s] DEBUG: Launching process 6507: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+116.94s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+117.67s] DEBUG: Got signal 10 from process 6507
[+117.67s] DEBUG: XServer 0: Got signal from X server :0
[+117.67s] DEBUG: XServer 0: Connecting to XServer :0
[+117.68s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+117.68s] DEBUG: Session pid=6522: Started with service 'lightdm-greeter', username 'lightdm'
[+117.74s] DEBUG: Session pid=6522: Authentication complete with return value 0: Success
[+117.74s] DEBUG: Seat seat0: Session authenticated, running command
[+117.74s] DEBUG: Session pid=6522: Running command /usr/bin/lightdm-gtk-greeter
[+117.74s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+117.74s] DEBUG: Session pid=6522: Logging to /var/log/lightdm/seat0-greeter.log
[+117.80s] DEBUG: Activating VT 7
[+117.80s] DEBUG: Activating login1 session c17
[+117.80s] DEBUG: Seat seat0 changes active session to c17
[+117.80s] DEBUG: Session c17 is already active
[+117.98s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+118.07s] DEBUG: Greeter start authentication for markus
[+118.07s] DEBUG: Session pid=6540: Started with service 'lightdm', username 'markus'
[+118.10s] DEBUG: Session pid=6540: Got 1 message(s) from PAM
[+118.10s] DEBUG: Prompt greeter with 1 message(s)

And the system journal:

Jan 14 13:20:46 TuxServer lightdm[6725]: gkr-pam: unable to locate daemon control file
Jan 14 13:20:46 TuxServer lightdm[6725]: gkr-pam: stashed password to try later in open session
Jan 14 13:20:46 TuxServer systemd[1]: Stopping Session c18 of User lightdm...
Jan 14 13:20:46 TuxServer lightdm[6663]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Jan 14 13:20:46 TuxServer systemd[1]: session-c18.scope: Deactivated successfully.
Jan 14 13:20:46 TuxServer systemd[1]: Stopped Session c18 of User lightdm.
Jan 14 13:20:46 TuxServer systemd-logind[3474]: Removed session c18.
Jan 14 13:20:46 TuxServer lightdm[6725]: pam_unix(lightdm:session): session opened for user markus(uid=1000) by markus(uid=0)
Jan 14 13:20:46 TuxServer systemd-logind[3474]: New session 22 of user markus.
Jan 14 13:20:46 TuxServer systemd[1]: Started Session 22 of User markus.
Jan 14 13:20:46 TuxServer lightdm[6725]: gkr-pam: unlocked login keyring
Jan 14 13:20:46 TuxServer lightdm[6725]: pam_unix(lightdm:session): session closed for user markus
Jan 14 13:20:46 TuxServer systemd-logind[3474]: Session 22 logged out. Waiting for processes to exit.
Jan 14 13:20:46 TuxServer systemd[1]: session-22.scope: Deactivated successfully.
Jan 14 13:20:46 TuxServer systemd-logind[3474]: Removed session 22.
Jan 14 13:20:46 TuxServer acpid[3465]: client 6646[0:0] has disconnected
Jan 14 13:20:46 TuxServer acpid[3465]: client connected from 6771[0:0]
Jan 14 13:20:46 TuxServer acpid[3465]: 1 client rule loaded
Jan 14 13:20:47 TuxServer lightdm[6787]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=987) by (uid=0)
Jan 14 13:20:47 TuxServer systemd-logind[3474]: New session c19 of user lightdm.
Jan 14 13:20:47 TuxServer systemd[1]: Started Session c19 of User lightdm.

However, I could not find such a thing as xfce log to check for more detailed information.

What shoud I check next?

Thanks, and Regards,
Markus

Last edited by tuxolero (2025-01-14 13:17:54)

Offline

#2 2025-01-14 12:57:44

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 831
LinuxFirefox 134.0

Re: [SOLVED] Login to desktop fails after upgrading to 4.20

Have you looked at the logs?

[+116.32s] DEBUG: Session pid=6451: Logging to .xsession-errors

Also look in .xsession-errors.old.
You may also want to try removing old sessions and start fresh session.


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc

Offline

#3 2025-01-14 13:17:28

tuxolero
Member
Registered: 2013-02-10
Posts: 65
LinuxFirefox 133.0

Re: [SOLVED] Login to desktop fails after upgrading to 4.20

Thank you for the reply. Indeed I found something there:

xfce4-session: error while loading shared libraries: libxfce4windowing-0.so.0: cannot open shared object file: No such file or directory

And this file exists on the computer that works but is missing on the one that fails.
Maybe the package dependencies are not specified completely, and on one of the PC's the package is there by coincidence.

If someone stumbles ob this: The package to install is:

libxfce4windowing

After installing this package, it works again.

Added later 01 min 49 s:
I'll contact the Arch team and ask them to add this dependency.

Added later 5 h 48 min 23 s:
Turns out the dependencies are specified correctly, must have been a hickup during installation.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 551.29 KiB (Peak: 551.91 KiB) ]