Re: [expert] ssh and forward X11 information

2002-09-23 Thread K Montgomery
I have a handy piece of script that I put in the .bash_profile of my Solaris account so that whenever I log in using SSH, my DISPLAY variable is automatically set to the IP I'm SSH-ing from: if [ $SSH_CLIENT != ]; then export DISPLAY=`echo $SSH_CLIENT | cut -d -f1`:0 fi This code is

Re: [expert] ssh and forward X11 information

2002-09-23 Thread Vincent Danen
On Monday, September 23, 2002, at 04:49 PM, K Montgomery wrote: I have a handy piece of script that I put in the .bash_profile of my Solaris account so that whenever I log in using SSH, my DISPLAY variable is automatically set to the IP I'm SSH-ing from: if [ $SSH_CLIENT != ]; then