On Sunday 16 June 2002 10:55 pm, ttv wrote:
> Hi, when I su as root, I can't run X apps ...
>
>
> Camranh:/home/thanh# Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> emacs: Cannot connect to X server :0.0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.
>
>
> any ideas how to fix it ?

xauth -f /home/${LOGNAME}/.Xauthority extract - $DISPLAY | xauth merge -

HTH
Oleg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to