LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-09-2007, 11:26 AM   #1
me4linux
Member
 
Registered: Aug 2006
Distribution: Fedora 7
Posts: 165

Rep: Reputation: 30
gui for nautilus,gedit....etc not working in root mode


Hi everyone

i am using fedora 7.
when i tried to open a text file in gedit in root usermode from terminal i am getting the following error..
i was able to open it previously .i.e even yesterday..but now iam getting error
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
----------------------------------------------------------------------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

cannot open display:
Run 'gedit --help' to see a full list of available command line options.
----------------------------------------------------------------------------
even for nautilus iam gettinf same error
----------------------------------------------------------------------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

cannot open display:
Run 'nautilus --help' to see a full list of available command line options
----------------------------------------------------------------------------

PLEASE TELL ME THE CAUSE FOR THIS ERROR AND HOW TO RESOLVE THIS ERROR

thanks in advance
 
Old 08-09-2007, 11:30 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
well, if you are not in a GUI, you cannot use graphical programs. Try running those from your graphical login instead of a terminal.
 
Old 08-09-2007, 12:24 PM   #3
me4linux
Member
 
Registered: Aug 2006
Distribution: Fedora 7
Posts: 165

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AlucardZero
well, if you are not in a GUI, you cannot use graphical programs. Try running those from your graphical login instead of a terminal.
hi AlucardZero

thanks for ur quick reply

I think u have not understood my query.so iam explaining in detail
i have logged in as a normal user..
i used to do things that require root access in terminal like editing fstab/menu.lst...etc
prviously i was able to open these configuration files in gedit by typing the follwoing in root terminal
gedit /etc/fstab

but now i am getting error for this command

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

cannot open display:
Run 'gedit --help' to see a full list of available command line options.
----------------------------------------------------------------------------

i even cant open a nautilus window from root terminal which i was able to do till today afternoon

PLEASE HELP ME TO RESOLVE THIS PROBLEM

thanks in advance
 
Old 08-09-2007, 12:33 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
i even cant open a nautilus window from root terminal which i was able to do till today afternoon
Obviously something has changed. My guess would be an update of your Windows manager.

You might try # gksu gedit /etc/fstab ... among about 10 other ways I can think of that might fix it on Debian. Don't know much about current Fedora though
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view some files permitteed to only root in GUI mode ? Peter_APIIT Mandriva 5 02-24-2007 11:34 PM
GUI root not working scorpiongupta Suse/Novell 1 07-26-2006 07:11 AM
suse 9.3 root cannot login in GUI mode morph_ind Suse/Novell 11 05-15-2006 01:15 AM
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
Nautilus and Gedit fail to open text files zarkon Linux - Software 3 04-06-2005 10:00 AM


All times are GMT -5. The time now is 01:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration