if [ $# != 1 ]
then
	echo "$0: usage:"
	echo "          $0 <remote machine name>"
	exit 1
fi
if [ "$REMOTE" = "" ]
then
	if [ -r /tmp/.remote ]
	then
		REMOTE=`cat /tmp/.remote`
		export REMOTE
	else
		echo "The shell variable REMOTE is not set and the file"
		echo "/tmp/.remote cannot be read."
		exit 1
	fi
fi
rsh $1 SHEll=/bin/sh REMOTE=$REMOTE DISPLAY=$DISPLAY PATH=$PATH rshStartClientServer
