On Monday 17 February 2003 07:22, Collins wrote:
> When stopping vim in an su - xterm/aterm session, I always get:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> How can I fix this?
>

In addition to the xhost solution, you can add to /root/.bash_profile:

export XAUTHORITY=~account_you_su_from/.Xauthority



-- 
D. Wollmann
gpg 58A7 2C9A FCBC 8B4A 6F76  1BF1 9BE0 FB93 34C8 8A21

Attachment: msg01622/pgp00000.pgp
Description: signature

Reply via email to