Monthly Archives: June 2009

mstsc In Linux!

Simple shell script to help me with my habit of always trying to use mstsc to launch remote desktop connections even on my Linux workstation..  You can add other misc rdesktop flags as you feel necessary. Put it in /usr/bin etc

#!/bin/bash
# Usage: mstsc /v:host (or mstsc host)
 
iuser="username"
ihost=$1
ohost=${ihost/\/v:/}
 
rdesktop -g 1280x1024 -u $iuser -z $ohost > /dev/null 2>&1 &