> |"You need to set the DISPLAY env variable to :0.0 once you are root.
>
> Nope. In this case, he should have done a "xhost +", not a "xhost -".
> - denies access, + allows it. The XAUTH* solution mailed earlier is a
> better one, though.
>
Could someone mail me the XAUTH* solution mention. T
In a message to me, Brian K Servis, you wrote:
|"
|"Daniel Laffin writes:
|">
|">
|">After su'ing in an xterm and trying to run any x app i get this. I tried
|">"xhosts -", but it still gives me this. *scratches his head* Sleep
|">now--thanks. =)
|">
|">apollyon:/# xterm
|">Xlib: connection to
Daniel Laffin writes:
>
>
>After su'ing in an xterm and trying to run any x app i get this. I tried
>"xhosts -", but it still gives me this. *scratches his head* Sleep
>now--thanks. =)
>
>apollyon:/# xterm
>Xlib: connection to ":0.0" refused by server
>Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>Erro
Here's what I do after 'su -':
% whoami
hessu
% echo $DISPLAY
:0
% su -
# export DISPLAY=:0
# export XAUTHORITY=/home/hessu/.Xauthority
# xterm&
The X server wants a magic cookie (password string) by the client
program to make sure that the client is allowed to connect to it. The
magic cookies
4 matches
Mail list logo