On Tuesday 27 July 2004 18:06, James Vahn wrote:
> rich wrote:
> > I start my X session as one user, then from a terminal where I've su'ed
> > to another (not root), I want to be able to use gvim, but it tells me
> > it's not allowed to use the X server.
> >
> > How can I get this working?
>
> Try issuing this command:  export DISPLAY=:0
> It is probably unset and gvim has no idea where X is.


Mmm,

[EMAIL PROTECTED]:~# xhost +root
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost:  unable to open display ":0"
[EMAIL PROTECTED]:~#


Suggestions?


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

Reply via email to