LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   X: user not authorized to run the X server, aborting (http://www.linuxquestions.org/questions/linux-general-1/x-user-not-authorized-to-run-the-x-server-aborting-512864/)

Xeratul 12-22-2006 08:56 AM

X: user not authorized to run the X server, aborting
 
Code:

$ startx -- :2
xauth:  creating new authority file /home/winwood/.serverauth.31556
xauth:  error in locking authority file /tmp/.gdm3DFQiL
xauth:  error in locking authority file /tmp/.gdm3DFQiL
xauth:  error in locking authority file /tmp/.gdm3DFQiL
xauth:  error in locking authority file /tmp/.gdm3DFQiL
X: unable to open wrapper config file /etc/X11/Xwrapper.config
X: user not authorized to run the X server, aborting.
xinit:  Server error.
xauth:  error in locking authority file /tmp/.gdm3DFQiL
Couldnt get a file descriptor referring to the console
winwood@tower05:/dev$ xinit -- :1
X: unable to open wrapper config file /etc/X11/Xwrapper.config
X: user not authorized to run the X server, aborting.
xinit:  Server error.

my Xwrapper.config
Code:

# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
#  dpkg-reconfigure x11-common
allowed_users=console
nice_value=0


I expect no one able to reply ... only linus can reply maybe

If it is for such reply with 0 percent of security, better not:
http://www.knoppix.net/forum/viewtop...085&highlight=
Quote:

If the above doesn't work..........
Edit file /etc/X11/Xwrapper.config:
Change this line:
allowed_users=console

to

allowed_users=anybody

This will let anybody to start X.
Don't forget to change it back when done with remastering.
or I could read too :
Quote:

sudo startx -- :1
damn, what kind of solutions we can read sometimes ... how stupid it is :)

Thank you anyhow :study: :study: :study:

dombrowsky 01-04-2007 09:39 PM

http://www.linuxquestions.org/questi...d.php?t=516387

same problem. used the hack to fix it. the machine's behind a firewall, so I'm hoping it doesn't catch one fire.


All times are GMT -5. The time now is 01:28 AM.