Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root Permission For XFree86
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
ToucanMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 97
Location: Montreal, Quebec

PostPosted: Wed May 28, 2003 3:05 am    Post subject: Root Permission For XFree86 Reply with quote

Firstly, let me thank all other posters who unknowingly let me leech information and helped me greatly in setting up Gentoo. Secondly, let me just publicly announce that I'm pretty noobish so be nice!

Now for my problem: I have successfully setup XFree86 for use with my ATI-Radeon 9000 card using DRM. All is well and good when I run applications as a regular user. The problem occurs when I need to run programs that use XFree as root. I read in another post that there may be a problem with permissions in XF86Config but I have:

Section "DRI"
Mode 0666
EndSection

When trying to run glxgears and glxinfo as root ,I receive a "command not found". I'm assuming a path problem I run /usr/X11R6/bin/glxinfo and receive the following error:
Quote:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: unable to open display (null)

However, as a regular user it works perfectly.

I hope you all can help. I know you have in the past!
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed May 28, 2003 3:49 am    Post subject: Reply with quote

Nothing wrong with beeing a noob, we have all been :)

The issue is that you have not given root permnission to connect to the server.

try this (as the user you start X as)
xhost +localhost

Then try to run glxgears as root (btw, you don't have to be root to run glxgears)

Oh, I'm moving this from Multimedia to Desktop :)

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
ToucanMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 97
Location: Montreal, Quebec

PostPosted: Wed May 28, 2003 3:55 am    Post subject: Reply with quote

Wow, thanks alot.
That was quick!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Aug 02, 2004 5:34 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=9109
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum