[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X setup problem? connection to ":0,0" refused by server



>From: "Paul Scott" <waterhorse@ultrasw.com> 
>Subject: X setup problem? connection to ":0,0" refused by server 


>When I attempt
>emacs /etc/init.d/networking
>from xterm I get
>connection to ":0,0" refused by server

>It works from a virtual terminal.

>Paul Scott

are you sure you didn't su to root before executing emacs?
maybe you are logged in as root in the virtual terminal.

If so:
#export DISPLAY=0:0 XAUTHORITY=/home/yourusername/.Xauthority <enter>
and try again.
HTH
shawn

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



Reply to: