Try to set the screen number as well.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1058 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -27,8 +27,9 @@ set -- `kx $host`
|
||||
if test $# -ne 3; then
|
||||
exit 1
|
||||
fi
|
||||
screen=`echo $DISPLAY | sed -ne 's/[^:]*:[0-9]*\(\.[0-9]*\)/\1/p'`
|
||||
pid=$1
|
||||
disp=$2
|
||||
disp=${2}${screen}
|
||||
auth=$3
|
||||
term=
|
||||
oldifs=$IFS
|
||||
|
@@ -27,8 +27,9 @@ set -- `kx $host`
|
||||
if test $# -ne 3; then
|
||||
exit 1
|
||||
fi
|
||||
screen=`echo $DISPLAY | sed -ne 's/[^:]*:[0-9]*\(\.[0-9]*\)/\1/p'`
|
||||
pid=$1
|
||||
disp=$2
|
||||
disp=${2}${screen}
|
||||
auth=$3
|
||||
kill -USR1 $pid
|
||||
rsh $rsh_args $host "env DISPLAY=$disp XAUTHORITY=$auth xterm -T $title -n $title $xterm_args &"
|
||||
|
Reference in New Issue
Block a user