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

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



Paul Scott <waterhorse@ultrasw.com> writes:

> 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.

Are you trying that as root in the xterm?  If so, either run emacs with
the -nw switch (emacs -nw /etc/init.d/networking), or type something
like in the xterm before running emacs:

export XAUTHORITY=/home/paul/.Xauthority

where paul is the $USER running X.

Or, use sudo.

-- 
Brian Nelson <nelson@bignachos.com>
BigNachos@jabber.org
http://bignachos.com



Reply to: