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" != "" ];

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 cod

[expert] ssh and forward X11 information

2002-09-16 Thread Paul Richardson
Greetings, I am running under Mandrake 8.2 with the default installed ssh. I am trying to ssh into a solaris box. It turns out that I can ssh into the solaris machine ok, but when I log in I notice that there is no DISPLAY env variable set and therefore any x clients will not work. The sshd_co