Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for scripts/shell/xssh/Attic/xssh.sh between version 1.4 and 1.5

version 1.4, 2002/03/15 23:38:12 version 1.5, 2002/03/16 12:25:51
Line 24  fi
Line 24  fi
 echo "Running xauth..."  echo "Running xauth..."
 #xauth extract - $DISPLAY | ssh $* xauth merge -  #xauth extract - $DISPLAY | ssh $* xauth merge -
 #ssh $* xauth add `xauth list |grep -v unix`  #ssh $* xauth add `xauth list |grep -v unix`
 XAUTH_HOST_IP=`hostname -i | awk 'BEGIN {RS = " "} {print}' | awk '/^$/ {next;} ! /^127.0.0.1$/ {print}'`  XAUTH_HOST_IP=`hostname -i | awk 'BEGIN {RS = " "} {print} /^$/ {next;} ! /^127.0.0.1$/ {print}'`
 DISP=`xauth list $XAUTH_HOST_IP:0 | awk "{print \"$XAUTH_HOST_IP:0 \" \\$2 \" \" \\$3}"`  DISP=`xauth list $DISPLAY | awk "{print \"$XAUTH_HOST_IP:0 \" \\$2 \" \" \\$3}"`
 ssh $* xauth add "$DISP"  ssh $* xauth add "$DISP"
   
 if [ "$?" -ne 0 ]; then  if [ "$?" -ne 0 ]; then

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top