Re: Bug#69090: strange su / which / apt behaviour
On Sun, 13 Aug 2000, Steve Bowman wrote:
> > I've noticed that some time recently (not sure when) when I su to root while
> > I'm in X, I no longer have access to the X session - I have to do an xhost
> > +localhost as the current user.
> > It wasn't like that before - and should something be done about that? It
> > seems pretty broken to me.
> If you could get access before without xhost (or better xauth), then it
> was broken before. The way you describe it working now is the way it
> is *supposed* to work.
He might have set XAUTHORITY and maybe an upgrade wiped that by accident.
Best way to make X work is to set XAUTHORITY in your user's .bashrc..