Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemm.ee

Kicked back to login screen after logging in, Debian 12

As the title states whenever I try to login and start the desktop environment (xfce4 and dwm) 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
View original on lemm.ee
9

3 replies

programming.dev

On my computer,

ps -ef | grep Xorg

gives

root 642 632 0 06:09 tty7 00:03:26 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

showing that the X server is running. I suspect that when you run the above ps command, that you will get no output, which shows that the X server is not running on your computer. In that case, you need to remove the lock that is preventing it from starting:

rm /tmp/.X0-lock

1

I do actually get output from that command and I tried removing that file but whenever I restarted it was just created again

1

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

1

You reached the end

Kicked back to login screen after logging in, Debian 12 | Spyke