惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
Y
Y Combinator Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
博客园_首页
J
Java Code Geeks
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
量子位
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
B
Blog
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Last Week in AI
Last Week in AI

Arch Linux Forums

Gnome desktop mouse cursor zoom issues / Newbie Corner Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner
Startx does not work / Applications & Desktop Environments
seth · 2026-06-02 · via Arch Linux Forums

#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"

#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?

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

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

Re: Startx does not work

#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"

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

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

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?

#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"

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

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

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.

#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"

#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"

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

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

Re: Startx does not work

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