Axalon Bloodstone wrote:
>
> On Mon, 27 Sep 1999, Chris Smallhorne wrote:
>
> > Pedro Timoteo wrote:
> > >
> > > Chris Smallhorne wrote:
> > >
> > > > I have recently upgraded to v6.1. Since that time, I am no longer able
> > > > to run anything when I su from a terminal. For example, if I try to run
> > > > control-panel, i get the following:
> > > >
> > > > "Xlib: connection to ":0.0" refused by server
> > > > Xlib: Client is not authorized to connect to Server
> > > >
> > >
> > > That is supposed to happen. The X session is "yours", not root's, therefore
> > > when you "su" you don't have the DISPLAY environment variable set. A simple
> > > "export DISPLAY=0:0" solves it, though.
> >
> >
> > Next question - where and when do I do this? Do I ave to do it every
> > time, or is it a setting I can put into a config file?
> >
> > Thanks,
> > Chris.
>
> Thats incorrect, you should run 'xhost +local:' 'xhost +localhost' or
> learn to use xauth to add you X keys to root's .Xauthority. And you'd need
> to run it before su'ing
>
> --
> MandrakeSoft http://www.mandrakesoft.com/
> --Axalon
Thanks? Axalon, but what you have written here means absolutely nothing
to me. When am I supposed to enter these commands, and how frequently?
What is xauth and what does it do?
These problems never occurred in v6.0 - why should they start happening
now?
Chris.