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

Re: xauth



On Mon, Sep 06, 1999 at 03:27:03PM +0100, Nick Dyer wrote:
> On Mon, 6 Sep 1999, Dave Sherohman wrote:
> > Seth R Arnold said:
> > > On a whim I added a .rhosts file with the one word "amidala" in it. No
> > > change.
> > 
> > If you want to grant global access for another machine to use your display,
> > use the xhost command:  xhost amidala
> 
> This is a bit of a security hole though.
> 
> A good way to cope with X authentication is to use ssh; this not
> only sets up everything to do with magic cookies automagically but
> as a side effect encrypts your entire X session!
> 

I like this solution, but it degrades speed on busy machines.
>From man xauth is a example:

   xauth extract - $DISPLAY | rsh otherhost xauth merge -

I modified it for using ssh instead rsh:

   xauth extract - $DISPLAY | ssh otherhost xauth merge -

Mirek


Reply to: