LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-11-2004, 12:02 AM   #1
j.vilon
Member
 
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?
tks
 
Old 10-11-2004, 12:20 AM   #2
sether
Member
 
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
RolledOat
Member
 
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

then

su - root
<enter password>
<enter command>

RO
 
Old 10-11-2004, 01:33 AM   #4
CroMagnon
Member
 
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
j.vilon
Member
 
Registered: Sep 2004
Posts: 168

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration