Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kompare as root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thanksforfish
n00b
n00b


Joined: 24 Aug 2002
Posts: 29
Location: UK

PostPosted: Sat Aug 24, 2002 8:54 am    Post subject: kompare as root Reply with quote

Hi - I am trying to compare 2 config files using kompare. The files are only readable as root. I am logged into kde as a non-root user. When I su to root and run kompare (or any kde app) I get :

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kompare: cannot connect to X server :0.0

How can I solve this (aside from logging into kde as root) ?

Thanks.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Aug 24, 2002 8:59 am    Post subject: Re: kompare as root Reply with quote

Does this work?
Code:
$ su
# cp /home/thanksforfish/.Xauthority ~/
# kompare whatever

Obviously, replace "thanksforfish" with whatever user started X.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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