Kicked back to login screen after logging in, Debian 12

Mandrew002@lemm.ee to Linux@lemmy.ml – 15 points –

As the title states whenever I try to login and start the desktop environment I get kicked back to the login screen with no error message. Beforehand I was messing around with configuring dwm. I've tried updating through the tty and deleting dwmblocks (which is what I was messing with before all this)

Here's the output when running startxfce4:

usr/bin/startxfce4: Starting X server

(EE)
Fatal server error:
(EE) Server is already active for display 0
                if this server is no longer running, remove /tmp/.X0-lock and start again.
(EE)
(EE)
Please consult the X.org foundation support at http://wiki.x.org for help.
(EE)
Authorization required, but no authorization protocol specified

xinit: giving up
xinit: unable to connect to C server: Resource temporarily unavailable
xinit: server error
11

You are viewing a single comment

I fixed it by uninstalling the .Xauthority file from the tty and rebooting

It's great that you solved the problem

May I ask how you found the solution?