Posts: 5
Joined: Sat Feb 06, 2016 4:16 pm

startx not working

Sat Feb 06, 2016 4:20 pm

I am trying to get the gui by typing startx but it is throwing errors:
X: user not authorized to run the X server, aborting.
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

I have changed the Xorg Xserver setting as shown in this article : http://karuppuswamy.com/wordpress/2010/ ... -aborting/

But then also I am getting the error.

Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: startx not working

Sun Feb 07, 2016 1:03 pm

Are you running Raspbian? Which user are you using? The "pi" user will run startx 'out of the box' so it depends on what you have changed

Return to “Beginners”