Remote desktop connections

When using Linux, I often need to connect to a Windows Terminal Server, using just the rdesktop command for some reason beyond my knowledge brings up the connection in 16 colours, which is just nasty.

Below are some command line parameters you can add to the rdesktop command to specify the number of colours etc.

'-a x'
Specifies what colour mode to use, replace x with 8 for 256 colours, 16 for 16-bit or 24 for 24-bit.

'-k layout'
This specifies the keyboard layout to use, you shouldn't need to specify this provided your Linux setup is correct. Look in /usr/local/share/rdesktop/keymaps for a list.

'-x connection'
This tells rdesktop what type of connection you are using. Replace the connection with either M for modem (28.8kbps), B for broadband (512kbps - 8mbps) or L for LAN (10mbps+).

'-u username'
The default username to show on the login screen. If you don't specify this value it will use your current Linux login name, for me that is different.

Sample command:

rdesktop -a 16 -k en-gb -x L -u Administrator 192.168.2.10