MLUG: Re: [UUG/MLUG] RH 6.1 printer setup
Re: [UUG/MLUG] RH 6.1 printer setup
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Right.  A better way to do it is

1) ssh -- handles this for you.  you can just ssh localhost if you want
2) xauth
   - do an xauth list, find the key that matches the local display, and
     then do xauth add <key>.

On my box, I'm able to su and have it work no problem...RH does take care
of this for you (it's in the pam modules used by su)

-Tymm

On Mon, 1 Nov 1999, Jonathan King wrote:

> 
> On Mon, 1 Nov 1999, Blake C. Lewis wrote:
> 
> > > If so, that won't work either (or at least didn't used to) in usual
> > > set-ups because of a security concern.  Or, it's possible you can get
> > > around that by telling X it's okay for user root to throw apps on user
> > > random's display.
> > 
> > xhost + localhost will allow any user on your local machine to display
> > to the Xserver.
> 
> Yes, but I was under the impression that this kind of thing was not
> usually encouraged from a security standpoint (I mean, using xhost at
> all... :-)).  I would have thought another answer to this would be to
> have printtool default to a text-only utility if it couldn't use the
> display.
> 
> jking
> 
>