[ILUG] Connecting to X from a remote host

Liam Bedford lbedford at lbedford.org
Fri Nov 9 11:11:31 GMT 2001


On Fri, Nov 09, 2001 at 10:58:33AM +0000, John P. Looney came forth with:
> On Fri, Nov 09, 2001 at 11:41:23AM +0100, Tiarnan O'Corrain mentioned:
> > People--
> > 
> > does anyone know what setting has to be enabled/disabled to let
> > a remote host connect to an X server in a default RedHat 7.1
> > install?
> > 
Depends on what you mean. If you mean that you want to connect a client
(program) to an Xserver on a linux box, then you need to ensure that the 
Xserver isn't called with -nolisten tcp (as debian does by default) and then
do something like:
xhost <hostname of machine running client>
or if it's a unix box on the other end (running the client)
RSH=ssh
xauth nlist | ${RSH} <hostname> xauth nmerge -

${RSH} <hostname> <client>

> > The remote host is running Exceed, the linux box hasn't been
> > significantly reconfigured.
> 
Assuming what you want to do is connect an Xserver (Exceed) to a linux box
(which will run the client (gdm)) then Kate's suggestion will work. Or you
can allow connections from the server to Exceed (using whatever
authentication system it uses), and then run

export DISPLAY=<exceedhostname>:0.0
xterm &
twm &

L.
-- 
     dBP   dBBBBb | If you're looking at me to be an accountant
              dBP | Then you will look but you will never see
   dBP    dBBBK'  | If you're looking at me to start having babies
  dBP    dB' db   | Then you can wish because I'm not here to fool around
 dBBBBP dBBBBP'   | Belle & Sebastian (Family Tree)




More information about the ILUG mailing list