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

Re: Bug#53759: revision of the "to build with X support or not" policy



Jason Gunthorpe wrote:
> 
> 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..

I had been using symlinks, but this is a much better way. Thanks!

Except, it doesn't seem to work...

root@kite:~>wc $X_AUTHORITY 
     23      31    2343 /home/joey/.Xauthority

I can read it, but:

root@kite:~>xterm
Xlib: connection to ":0.0" refused by server

Hmm.

-- 
see shy jo


Reply to: