You are not logged in.
I'm using lightdm + xfce with autologin enabled. Everything worked fine untill I upgraded a few days ago.
Now autologin & regular login will get randomly fail untill I drop to a console and do:
rm .XauthorityThe .Xauthoriity file is always owned by me. ( not a permission problem ). As soon as I remove the file it will work for a while longer.
Offline
You'll need to provide a lot more information..
What got upgraded?
Can you post your relevant X logs?
How does it "fail"? Is there an error message?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
There is nothing recorded in $HOME/.xsession-errors ( in fact .xsession-errors doesn't even get created while login isn't working ). There are no errors in /var/log/faillog. or any other /var/log/*. the only log I can find is /var/log/lightdm/lightdm.log which shows:
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.6.2, UID=0 PID=1042
[+0.01s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Starting seat
[+0.01s] DEBUG: Starting new display for automatic login as user dmonty
[+0.01s] DEBUG: Starting local X display
[+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.03s] DEBUG: Using VT 1
[+0.03s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+0.03s] DEBUG: Launching X Server
[+0.03s] DEBUG: Launching process 1046: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
[+0.04s] DEBUG: 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
[+4.63s] DEBUG: Got signal 10 from process 1046
[+4.63s] DEBUG: Got signal from X server :0
[+4.63s] DEBUG: Connecting to XServer :0
[+4.64s] DEBUG: Automatically logging in user dmonty
[+4.64s] DEBUG: Started session 1055 with service 'lightdm-autologin', username 'dmonty'
[+4.78s] DEBUG: Session 1055 authentication complete with return value 0: Success
[+4.78s] DEBUG: Autologin user dmonty authorized
[+4.78s] DEBUG: org.freedesktop.Accounts does not exist, falling back to passwd file
[+4.78s] DEBUG: Dropping privileges to uid 1000
[+4.78s] DEBUG: Calling setresgid
[+4.78s] DEBUG: Calling setresuid
[+4.85s] DEBUG: Restoring privileges
[+4.85s] DEBUG: Calling setresuid
[+4.85s] DEBUG: Calling setresgid
[+4.85s] DEBUG: Autologin using session xfce
[+4.85s] DEBUG: Dropping privileges to uid 1000
[+4.85s] DEBUG: Calling setresgid
[+4.85s] DEBUG: Calling setresuid
[+4.85s] DEBUG: Restoring privileges
[+4.85s] DEBUG: Calling setresuid
[+4.85s] DEBUG: Calling setresgid
[+4.85s] DEBUG: Dropping privileges to uid 1000
[+4.85s] DEBUG: Calling setresgid
[+4.85s] DEBUG: Calling setresuid
[+4.85s] DEBUG: Writing /home/dmonty/.dmrc
[+4.90s] DEBUG: Restoring privileges
[+4.90s] DEBUG: Calling setresuid
[+4.90s] DEBUG: Calling setresgid
[+5.00s] DEBUG: Starting session xfce as user dmonty
[+5.00s] DEBUG: Session 1055 running command /etc/lightdm/Xsession startxfce4
[+5.08s] DEBUG: New display ready, switching to it
[+5.08s] DEBUG: Activating VT 1
[+5.10s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+5.12s] DEBUG: Session 1055 exited with return value 1
[+5.12s] DEBUG: User session quit
[+5.12s] DEBUG: Stopping display
[+5.12s] DEBUG: Sending signal 15 to process 1046
[+5.44s] DEBUG: Process 1046 exited with return value 0
[+5.44s] DEBUG: X server stopped
[+5.44s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+5.44s] DEBUG: Releasing VT 1
[+5.44s] DEBUG: Display server stopped
[+5.44s] DEBUG: Switching to greeter
[+5.44s] DEBUG: Starting new display for greeter
[+5.44s] DEBUG: Starting local X display
[+5.44s] DEBUG: Using VT 1The failure starts on line that reads:
[+5.12s] DEBUG: Session 1055 exited with return value 1
...Offline