You are not logged in.

#1 2026-06-02 02:18:24

y8v
Member
Registered: 2026-05-28
Posts: 41

Startx does not work

When I run startx in either console or KDE this is the output:

tty: ttyname error: No such device
xauth:  file /home/zev/.serverauth.9746 does not exist

xinit: unable to run server "/gnu/store/p520i02c1wh59f8kbkw04l5p2ib5vxgy-xinit-1.4.4/bin/X": No such file or directory
Use the -- option, or make sure that /gnu/store/p520i02c1wh59f8kbkw04l5p2ib5vxgy-xinit-1.4.4/bin is in your path and
that "/gnu/store/p520i02c1wh59f8kbkw04l5p2ib5vxgy-xinit-1.4.4/bin/X" is a program or a link to the right type of server
for your display.  Possible server names include:

    Xorg        Common X server for most displays
    Xvfb        Virtual frame buffer
    Xfake       kdrive-based virtual frame buffer
    Xnest       X server nested in a window on another X server
    Xephyr      kdrive-based nested X server
    Xvnc        X server accessed over VNC's RFB protocol

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.

Last edited by y8v (2026-06-02 19:06:01)


"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"

Offline

#2 2026-06-02 05:27:50

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,289

Re: Startx does not work

What distribution is this?

Offline

#3 2026-06-02 07:13:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,720

Offline

#4 2026-06-02 19:05:29

y8v
Member
Registered: 2026-05-28
Posts: 41

Re: Startx does not work

arojas wrote:

What distribution is this?

I use Arch Linux with KDE plasma (and a seperate hyprland install)


"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"

Offline

#5 2026-06-02 19:25:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,720

Re: Startx does not work

Your problem is that you seem to be determined to install stuff with random package managers as long as they're not pacman - why was X11 installed using guix?

Offline

#6 2026-06-02 19:37:17

y8v
Member
Registered: 2026-05-28
Posts: 41

Re: Startx does not work

I ran guix package --list-installed and the packages installed were sx and xinit and there was no X11 however those packages were supposed to be like startx so they might come with X11 and startx
Edit: when I uninstalled them startx disapeared


"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"

Offline

#7 2026-06-02 19:42:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,720

Re: Startx does not work

https://archlinux.org/packages/?sort=&q … =&flagged=

Why are you using guix itfp?
Don't.

Everytime you intend to install something using a package manager that is not pacman, you need to have a seriously good reason for that.
Then ask yourself thrice whether the reason maybe wasn't good in the first place.

Offline

#8 2026-06-02 19:45:42

y8v
Member
Registered: 2026-05-28
Posts: 41

Re: Startx does not work

Also, I just tried using another tool I had (From AUR) called startw and it outputted one of the same errors:
"tty: ttyname error: No such device"


"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"

Offline

#9 2026-06-02 19:52:27

y8v
Member
Registered: 2026-05-28
Posts: 41

Re: Startx does not work

seth wrote:

Your problem is that you seem to be determined to install stuff with random package managers as long as they're not pacman - why was X11 installed using guix?

Btw, I love pacman
and AUR

Last edited by y8v (2026-06-02 19:52:45)


"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"

Offline

#10 2026-06-02 19:55:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,720

Re: Startx does not work

Don't try to run this from withing KDE - those are meant to be exectued from a TTY.

Offline

Board footer

Powered by FluxBB