View Single Post
  #5 (permalink)  
Old 23-06-2006, 08:33 PM
rohan208 rohan208 is offline
Junior Member
User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rohan208
Default

I've been looking for this, thanks.

I found adding something like this to ~/.bashrc very useful..

Code:
if [ "$SSH_CLIENT" != "" ]; then
    export DISPLAY=`echo $DISPLAY| cut -d\  -f1| cut -d: \f4`:0
fi

..R
Reply With Quote