Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X server refusing root connection
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
Tonglebeak
Guru
Guru


Joined: 23 Mar 2006
Posts: 362

PostPosted: Sat May 17, 2008 4:35 pm    Post subject: X server refusing root connection Reply with quote

When trying to run GUI programs as a super user, either with KDEsu or just straight up su->run program, I cannot connect. Here's some console output, first using kdesu as a regular user, then trying to run a different app, VirtualBox, as root (works as normal user):

Code:
aaron@ ~ $ kdesu kuser
xauth: (argv):1:  bad display name ":0.0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
xauth: (argv):1:  bad display name ":0.0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
xauth: (argv):1:  bad display name ":0.0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
 aaron # VirtualBox
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Qt WARNING: VirtualBox: cannot connect to X server :0.0
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sat May 17, 2008 7:37 pm    Post subject: Reply with quote

Try
Code:
xhost +
to allow all xwindow connection.
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Sat May 17, 2008 9:55 pm    Post subject: Reply with quote

You can install 'sux' and then type sux instead of su.
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