On 3 Jan 2000, Andreas Voegele wrote:

> I'm using vim very often after becoming super-user with su. If vim was
> linked against X, I would always get an error message on startup
> because root isn't authorized to connect to the X server.

I put 

export X_AUTHORITY=/home/jgg/.Xauthority

in my .xsession - this environment variable is not cleared when you 'su'
so you can use X programs as root without any problems. Maybe the default
X startup scripts should do the above..
 
Jason

Reply via email to