Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root display problem
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
bmb
n00b
n00b


Joined: 05 Jul 2002
Posts: 36

PostPosted: Sun Jul 07, 2002 2:10 am    Post subject: root display problem Reply with quote

Everytime when I su to root and try to use some graphic program, it always give me an error "Xlib: connection to ":0.0" refused by server. Xlib: No protocol specified". Does anybody know how to fix this problem?

Thanks.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20048

PostPosted: Sun Jul 07, 2002 2:17 am    Post subject: Reply with quote

Check here.
_________________
Quis separabit? Quo animo?


Last edited by pjp on Mon Aug 02, 2004 7:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 07, 2002 4:34 am    Post subject: Re: root display problem Reply with quote

Along with kanuslupus' answer, another way to do this without invoking xhost is to copy the .Xauthority file from the home directory of the user that started X to the home directory of the user as whom you are trying to execute things - /root in this case.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
bmb
n00b
n00b


Joined: 05 Jul 2002
Posts: 36

PostPosted: Tue Jul 09, 2002 9:12 pm    Post subject: Reply with quote

It works.

Thank you guys.
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