this post was submitted on 11 Sep 2023
13 points (100.0% liked)

Linux

48157 readers
691 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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
top 10 comments
sorted by: hot top controversial new old
[–] Brustadnrift@lemm.ee 2 points 1 year ago

Nvidia drivers?

[–] wildbus8979@sh.itjust.works 2 points 1 year ago (1 children)

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

[–] Mandrew002@lemm.ee 2 points 1 year ago (1 children)

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@lemmy.world 6 points 1 year ago (1 children)

Have you tried running xfce4 from a tty?

startxfce4

The terminal should write what the error is

[–] Mandrew002@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (1 children)

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
[–] Waffelson@lemmy.world 1 points 1 year ago (2 children)

Try to kill the xorg process

sudo pkill x

And then try run xfce4

[–] Mandrew002@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] Waffelson@lemmy.world 1 points 1 year ago (1 children)

It's great that you solved the problem

May I ask how you found the solution?

[–] Mandrew002@lemm.ee 1 points 1 year ago

A random Indian guy on yt

[–] Mandrew002@lemm.ee 1 points 1 year ago

I get the same error unfortunately