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
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