[NTLUG:Discuss] Redhat, xdm, and cooser

kbrannen@gte.net kbrannen at gte.net
Fri Apr 4 12:03:28 CST 2003


Jack Snodgrass wrote:
> I'm not 100% conversant in X-Windows, so I may be asking this 
> incorrectly.... 
> 
> I have RedHat 8.0 at work. 
> 
> I'm using xdm ( I think ) so when I boot up ( or logout ) I get 
> a graphical menu that lets me specify a userid and then asks for 
> a password. 
> 
> Instead of a login on the localhost... I want to be able to specify 
> a host on the network and be able to log onto that box. 
> 
> On the Sun boxes, you get a local login gui and you can select 
> 'options' and pick a host from that screen. You pick the host, 
> and then you can login to that remote host. 

I'm not sure how they would do that, because you need to give permission to 
the "other box" to display on your local box.

The "normal" way to do this is to:
1. login to your local box
2. in an xterm, run "xhost +other_host"
3. ssh/telnet/rsh/whatever (in order of preference) to the other host
4. set your $DISPLAY env.var. to your local host
5. run your client app(s)

There are some changes to the above if you have different user names on the 2 
machines and so forth, but that's basically it.

HTH,
Kevin





More information about the Discuss mailing list