[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how can other users use X?

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.

Reply to: