Shell scripts

Kurt Granroth plug-discuss at granroth.org
Mon Nov 27 09:08:36 MST 2006


On Sunday 26 November 2006 15:04, hacktavist at cox.net wrote:
> Hello all,
> I am trying to write a simple script that will call rdesktop and connect
> to my machine at work. I am just not sure where to start, any suggestions
> would be of great help.

I use this nearly every day:

-----------------------------
#!/bin/sh

rdesktop -u '<USERNAME>' -d '<DOMAIN>' -f -T 'Windows XP' -a 24 -P -x l <IP>
-----------------------------

A few of the options explained:

-f : Run in full screen mode
-T 'Windows XP' : Display this string in the title bar, when minimized
-a 24 : Use 24-bit color depth (much prettier... need to use XP, though, and 
better be on a high speed connection)
-P : Enable bitmap caching
-x l : Enable the [l]an profile which displays everything as if you logged in 
via the console

Kurt


More information about the PLUG-discuss mailing list