Linux Remote Desktop Rdesktop Command Tutorial with Examples
I need some times to connect the windows systems. I have used Remmina which is capable of vnc,ssh,rdp, nx etc. But all just need rdp. Remmina is very talented application but I do not need so much talent. I just need RDP and I want to use my screen very efficient. Remmina shows menus I don’t use and get space from my screen. I decided to used rdesktop which have a lot of option about rdp protocol. But it do not have extra protocols like vnc, ssh etc. But it do not need them for rdesktop I have other practical solution for them. Now speaking is enough for now, lets go to the usage of rdesktop.
Connect Remote Desktop with Password
We will start with a simple and basic example. We will provide the remote system IP address and password. Password will be provided with the
$ rdesktop -p myPass123.,) 192.168.1.10
Set bit depth: with -a which supports 16,24,32
Connection to the remote system will show us the remote console. This console will have some image quality which can be set during connection with the
-a parameter. We can specify different quality where
16 is faster but show less quality. Other levels are
32 is the highest quality.
$ rdesktop -a 16 192.168.1.10
By default remote connection is encrypted for security reasons. We can disable encryption if we do not require. We will use
-E option to disable transmission encryption.
$ rdesktop -E 192.168.1.10
Cache Connection For Speed and Efficiency
During connection some part of the console is cached for performance reasons. We can enable this cache with the
-P option which will make our remote desktop usage faster and responsive.
$ rdesktop -P 192.168.1.10
During data transmission we can enable compression which will save network usage a little bit.
$ rdesktop -z 192.168.1.10
Set Screen Resolution
Remote desktop connection will have some screen resolution where we can also set it during initial connection. We can use
-g option where we can provide local resolution with percentage like
%100 which means full screen. Or we can provide as pixel count resolution like
$ rdesktop -g 100% 192.168.1.10
Set Keyboardmap or Input Language
Remote desktop connection will redirect our key strokes to the remote desktop. Remote system default keyboard map may different than our. We can explicitly specify the keymap we want to use during connection with the
-k option. In this example we will use
tr keyboard which is Turkish.
$ rdesktop -k tr 192.168.10
Set Window Caption Test
The remote desktop connection windows will generally have some name which describes the connection. We can set window caption with the
-T option and providing some test which is
win8in this case.
$ rdesktop -T win8 192.168.10