Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-11-2004, 12:02 AM   #1
Registered: Sep 2004
Posts: 168

Rep: Reputation: 30
Unhappy open file in root! 1 ERROR

Xlib: connection to ":0.0" refused by server
Gtk-WARNING **: cannot open display:

this is the error if i open 1 file on root, what is the problem? anyone knows?
Old 10-11-2004, 12:20 AM   #2
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
just a guess, are you not using a gui? what kind of file are you trying to open?
Old 10-11-2004, 12:59 AM   #3
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
The user has not allowed other users to connect to their desktop X display.

xhost + localhost


su - root
<enter password>
<enter command>

Old 10-11-2004, 01:33 AM   #4
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
RolledOat's solution doesn't work on my system, but copying the user's .Xauthority to /root does the trick (you might not want to do this if root's .Xauthority is already set up for connecting to other systems - in that case, use 'cat ~user/.Xauthority >> /root/.Xauthority')
Old 10-11-2004, 08:27 AM   #5
Registered: Sep 2004
Posts: 168

Original Poster
Rep: Reputation: 30
yes it's work
tks guy's


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: Cannot open root device error pandorazbox Slackware 9 03-31-2008 07:00 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
Error: Cannot open root device Jango Linux - Software 1 03-31-2004 10:09 AM
error: unable to open scoreboard: No such file or directory Zac2003 *BSD 5 03-06-2004 08:26 PM
aKtion! causes an error when i try to open an .avi file veritas Slackware 5 08-19-2003 10:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:20 AM.

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