Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2004, 12:28 AM   #1
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
X says "user not authorized to run the x server"

What file am I supposed to edit to fix this? I have been reading X man page, and did this:
[n00b@localho] cat /etc/X11/Xserver 
but that didn't help..I know this is something obvious.
Old 11-08-2004, 05:50 PM   #2
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
Old 11-08-2004, 08:30 PM   #3
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
The problem is with debian default setup. It sets it up so that only root can log into X. In order to change this you need to edit the /etc/X11/Xwrapper.config file. For the syntax of that, check out the man page for 'Xwrapper.config'. All you need to add is the 'allowed_users=anybody' option.

Last edited by infamous41md; 11-08-2004 at 08:31 PM.
Old 08-05-2009, 08:36 PM   #4
LQ Newbie
Registered: Jan 2007
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
Thanks for this. I'd like to add that the reason Debian does this is because GDM starts X in the default setup. GDM runs as root, so it starts X for you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
How to authorize common-user to run "ifconfig eth0 up"??? cqmyg5 Slackware 2 04-03-2005 11:22 PM
Can't run "halt" or "reboot" as user, can somebody help? ro_nicu Slackware 4 11-01-2004 07:57 AM
CUPS: "This server could not verify that you are authorized to use this resrouce" hamish Linux - Software 0 07-02-2004 03:57 AM
Ascend Error "Requested Service Not Authorized" tempehops Linux - Networking 0 01-16-2002 07:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration