What you are missing I think, is the env variable display.
With RH 5.1 / Xfree 3.2.2I have never needed this, but at
work Sun Solaris, DEC need the environment variable DISPLAY set
to check your environment variables
#env
returns
PATH=/.....
DISPLAY
etc.
To create a value for DISPLAY
#DISPLAY pcname:0
#export DISPLAY
Do another
#env
to check
To make permanent put these in .profile? as one line
DISPLAY pcname:0 ; export DISPLAY
Steve C
Oleksiy (alex) Bolgarov wrote:
>
> Hello All!
>
> I logged to Linux as non-root user, started X11 (by sratrx),
> then, in xterm, su-ed to root and tried to run xemacs.
>
> It printed following:
>
> -----------------------
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>
> Initialization error: X server not responding
> : ":0.0"
>
> -----------------------
>
> What does this mean?
>
> And. please, can somebody point me to the information
> about internal work of X11?
>
> alex