At 14:12 05/07/00, you wrote:
I work in a multiplatform environment with my home dir being shared between linux, solaris, irix, osf1. In my .bashrc (I use bash on all platforms), I have:
# set X display if we are on remote host if [ -n "$REMOTEHOST" ]; then DISPLAY=$REMOTEHOST:0.0 else DISPLAY=:0.0 fi export DISPLAY
I am not sure what your problem is. If you have a fixed desktop machine and your home directory is auto mounted, you can have a fixed DISPLAY in your .bashrc and you wouldn't need the "DISPLAY=:0.0" part. E.g.: DISPLAY="myhost:0.0"; export DISPLAY You can use this also if you are working om your desktop, as "myshost:0.0" is routed via tcp/ip -> resolver -> localhost. So in effect your X traffic will be routed via the loopback interface. Or am I missing something? HTH Koos Pol ---------------------------------------------------------------------- S.C. Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq