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 &

Leave a Reply

Your email address will not be published. Required fields are marked *