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

AlucardZero

08-09-2007 11:30 AM

well, if you are not in a GUI, you cannot use graphical programs. Try running those from your graphical login instead of a terminal.

me4linux

08-09-2007 12:24 PM

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