Diff for scripts/shell/xssh/Attic/xssh.sh between version 1.1 and 1.2
| version 1.1, 2002/02/01 22:52:46 |
version 1.2, 2002/02/04 14:26:31 |
|
|
| # Export ~/.Xauthority file to remote host |
# Export ~/.Xauthority file to remote host |
| # |
# |
| echo "Running xauth..." |
echo "Running xauth..." |
| #xauth extract - $DISPLAY | ssh $* xauth merge - |
UNAME=`uname -n` |
| #echo "ssh $* xauth add `xauth list |grep -v unix`" |
ssh $* xauth add `xauth list |grep -v unix:0 | grep $UNAME` |
| ssh $* xauth add `xauth list |grep -v unix` |
|
| |
|
| if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |
| echo "$0: Can't export \$DISPLAY to remote host, exiting ..." |
echo "$0: Can't export \$DISPLAY to remote host, exiting ..." |
Platon Group <platon@platon.org> http://platon.org/
|
|