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.