b**s 发帖数: 67 | 1 I wrote following script when I was learning shell programming
and Ithink it's much simple and easier than the
one my teacher gave me.
To use it, save it as ~/bin/xt2me then "chmod +x ~/bin/xt2me".
Then open Xwin32 and give authorization to your unix machine:
X-config -> security -> add your unix machine address.
Then type xt2me under your telnet session.
REMOTEHOSTNAME=`who am i |cut -d'(' -f2,2 | cut -d')' -f1,1`
echo "xterm -ls -display $REMOTEHOSTNAME:0.0"
xterm -ls -display $REMOTEHOSTNAME: |
|