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
you are viewing a single comment's thread
view the rest of the comments
[–] 8 points 2 years ago (2 children)

Have you tried running xfce4 from a tty?

startxfce4

The terminal should write what the error is

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago

    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!

  • source
  • parent
  • [–] [S] 1 point 2 years ago* (last edited 2 years ago) (1 child)

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

    Here's the output:

    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 X server: Resource temporarily unavailable
    xinit: server error
    
  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (2 children)

    Try to kill the xorg process

    sudo pkill x

    And then try run xfce4

  • source
  • parent
  • hideshow 4 child comments
  • [–] [S] 1 point 2 years ago* (1 child)

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

  • source
  • parent
  • hideshow 2 child comments