Newsgroups: comp.windows.open-look Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!otis!paulo From: paulo@ohmeda.com (Paul Ourada) Subject: Launching remote X applications Message-ID: <1991Jun24.161957.648@ohmeda.com> Organization: Ohmeda Monitoring Systems Date: Mon, 24 Jun 1991 16:19:57 GMT Hi again. I'd like to thank everyone for their suggestions and tips wrt launching remote X applications. It seems, that my problem was specifically the LD_LIBRARY_PATH environment variable. I will cover the entire procedure below for those other newcomers like myself. setenv OPENWINHOME /usr/openwin setenv FONTPATH $OPENWINHOME/lib/fonts setenv HELPPATH $OPENWINHOME/lib/help setenv LD_LIBRARY_PATH $OPENWINHOME/lib:/usr/lib setenv MANPATH $OPENWINHOME/share/man:/usr/man when you rlogin or rsh, set the DISPLAY env var thusly: setenv DISPLAY "you host name":0.0 Scott Brim gave me the following script which he calls rx: --------------------------------- #!/bin/sh - host=$1 ; shift case $DISPLAY in :0|:0.0|unix:0|unix:0.0) xhost $host >/dev/null ; DISPLAY=`hostname`:0 esac rsh -n $host "sh -c 'DISPLAY=$DISPLAY $@ >/dev/null 2>&1&'" ---------------------------------- I haven't tried it yet, so I can't tell you if it works, but Scott seems like a nice guy...:-) He says that his officemate has a more complicated one. Again, thanks to all that have replied. It has been an uplifting experience. Paul E. Ourada Software Engineer Ohmeda Monitoring Systems paulo@ohmeda.com