On 15 May 2002 12:13:39 -0400
Jeremy Hogan <[EMAIL PROTECTED]> wrote:

> On Tue, 2002-05-14 at 15:04, Isaac Liu wrote:
> > 
> > Hello,
> > 
> > I cant seem to get the GUI desktop after a
> > successful NIS authentication of a user
> > trying to login.  I can only get a GUI desktop from
> > the NIS server machine.  Why is that?
> > GDM needs some tweaking?
> 
> At the server try:
> 
> [user@server] $xhost + workstation_name

THIS IS DANGEROUS!!!!

Remove the space between "+" and workstation_name. Otherwise, the X
service is opened to the world!! Don't believe it? Easy enough to test.

Log out, log back in (that's required if you already typed the command
that was specified further up, otherwise not needed), open a terminal
and type

xhost +


Now follow the other part below and see if it displays the X-related
stuff. It will because the "+" all by itself tells it to open X up to
anything at all.

I had to learn this the hard way. Wasn't by an intruder, but by a
friendly force on a machine that wasn't authorized (I thought) access.
Though it's a little odd-looking and maybe confusing, the xhost manpage
says the same thing ([+]name being specific, and + being everybody).

> On the workstation:
> 
> [user@workstation] $ export DISPLAY=server:0 
> [user@workstation] $ startx
> 
> --jeremy

-- 
Capital punishment means never having to say "YOU AGAIN?"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to