User`s manual

42 Installing and Using the Axel-VNCviewer
to attach to a Windows server (TSE or 2000 Advanced Server) using the "RDP
4" protocol.
Rather than running the rdesktop binary, there are benefits in running a script
which asks the user to press a key before running rdesktop (i.e. opening an
RDP connection). This avoids the continual respawning of RDP connections,
which are automatically killed by Windows if nobody logs in.
This is the runRDP script which runs rdesktop:
#!/bin/sh
clear
echo " R D P C O N N E C T I O N"
echo " ---------------------------"
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo "PRESS <CR> TO BEGIN"
read key
/usr/bin/X11/xmodmap -e "keycode any = EuroSign"
/usr/bin/X11/xmodmap -e "keycode any = Caps Lock"
/usr/local/bin/rdesktop -v -V -k fr -F 192.168.1.160
This script is run through
/etc/inittab
. Example:
axv1:5:respawn:/etc/RunScriptVNC 1 1024x768 8 /usr/local/bin/runRDP
1>/tmp/axvnclog1 2>&1