You are not logged in.

#1 2017-02-15 21:12:32

kr1305
Member
Registered: 2017-02-15
Posts: 2

Unable to startx - 'unable to connect to X server: Connection refused'

So, just got a new laptop and attempting to install i3 on it...
I've installed xorg, xorg-server, xinit and i3-wm.
Edited my /home/user/.xinitrc to have the 'exec i3' line.
When I try and startx I get this output:

/etc/X11/xinit/xserverrc: line 2: /usr/bin/X: Success
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Does anyone here have any help for troubleshooting this problem?

This is my output of 'pacman -Q | grep "xorg" ' : http://imgur.com/a/0W62h

Last edited by kr1305 (2017-02-15 21:21:46)

Offline

#2 2017-02-15 21:16:39

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: Unable to startx - 'unable to connect to X server: Connection refused'

where's your xorg log?
what drivers are you using?

Offline

#3 2017-02-15 21:18:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Unable to startx - 'unable to connect to X server: Connection refused'

1. Don't run X as root.

2. Don't post images of text, paste the actual text: https://wiki.archlinux.org/index.php/Co … s_and_code

3. Edit your post and change the title to something that actually reflects your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-02-15 21:21:21

kr1305
Member
Registered: 2017-02-15
Posts: 2

Re: Unable to startx - 'unable to connect to X server: Connection refused'

1. I don't run X as root, I was just in root for that particular moment installing some other stuff.

2. I can't paste the text due to the fact I can't even get a graphical output to get on this forum, haha.

3. Okay I will.


I'm using the nvidia-nouveau drivers. And how do I view my xorg log, sorry?

Offline

#5 2017-02-15 21:26:06

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Unable to startx - 'unable to connect to X server: Connection refused'

kr1305 wrote:

And how do I view my xorg log, sorry?

https://wiki.archlinux.org/index.php/Xorg#General

Offline

#6 2017-02-15 21:29:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Unable to startx - 'unable to connect to X server: Connection refused'

kr13052 wrote:

I can't paste the text due to the fact I can't even get a graphical output to get on this forum, haha.

https://wiki.archlinux.org/index.php/Li … in_clients


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB