Re: X authentication problen
Jon jabbed,
> X is running fine apart from one problem involving the .Xauthentication file. If I login as user
> bob and startx everything is fine.
>I happily compiled vim-5.3 for the graphical interface.
from source, or debian source? I tried and failed on this . . .
>Now,
> if I su to root and try to run gvim I get the following error;
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> cannot open displayXlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
As bob,
xauth list $DISPLAY
will give you your cookie. It is the MIT-MAGIC-COOKIE and the hex code
then as root,
xauth add $DISPLAY <cookie>
But I think hamm ended this problem for me; I used to have it, but it's
gone now.
rick
--
Reply to: