There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Kicked back to login screen after logging in, Debian 12

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:


<span style="color:#323232;">usr/bin/startxfce4: Starting X server
</span><span style="color:#323232;">
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Fatal server error:
</span><span style="color:#323232;">(EE) Server is already active for display 0
</span><span style="color:#323232;">                if this server is no longer running, remove /tmp/.X0-lock and start again.
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Please consult the X.org foundation support at http://wiki.x.org for help.
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Authorization required, but no authorization protocol specified
</span><span style="color:#323232;">
</span><span style="color:#323232;">xinit: giving up
</span><span style="color:#323232;">xinit: unable to connect to C server: Resource temporarily unavailable
</span><span style="color:#323232;">xinit: server error
</span>
Brustadnrift ,

Nvidia drivers?

wildbus8979 ,

It would be helpful if you specified which desktop environment and manager…

Mandrew002 OP ,

As I said in the post, dwm was the main issue. I’ve tried booting into xfce too with to no avail and I’m using lightdm

Waffelson ,

Have you tried running xfce4 from a tty?

startxfce4

The terminal should write what the error is

bismuthbob ,
@bismuthbob@sopuli.xyz avatar

This is a good tip.

I’ve had to do this before when I ran in to issues with lightdm. Ctl +Alt F-Key to a tty and try the command for your window manager to make sure that your display manager isn’t the culprit.

Or don’t, I guess. I’m not trying to boss you around. Good luck and let us know what works for you!

Mandrew002 OP , (edited )

I’ve tried running it with sudo to fix the authorization error but that didn’t work

Here’s the output:


<span style="color:#323232;">usr/bin/startxfce4: Starting X server
</span><span style="color:#323232;">
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Fatal server error:
</span><span style="color:#323232;">(EE) Server is already active for display 0
</span><span style="color:#323232;">                if this server is no longer running, remove /tmp/.X0-lock and start again.
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Please consult the X.org foundation support at http://wiki.x.org for help.
</span><span style="color:#323232;">(EE)
</span><span style="color:#323232;">Authorization required, but no authorization protocol specified
</span><span style="color:#323232;">
</span><span style="color:#323232;">xinit: giving up
</span><span style="color:#323232;">xinit: unable to connect to X server: Resource temporarily unavailable
</span><span style="color:#323232;">xinit: server error
</span>
Waffelson ,

Try to kill the xorg process

sudo pkill x

And then try run xfce4

Mandrew002 OP ,

I get the same error unfortunately

Mandrew002 OP ,

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

Waffelson ,

It’s great that you solved the problem

May I ask how you found the solution?

Mandrew002 OP ,

A random Indian guy on yt

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines