5

What software can I use to reach Windows from Linux via Remote Desktop Protocol (RDP)?

Windows supports remote desktop protocol in almost all versions, and the mstsc command exists in all modern versions of Windows. What are similar commands in Linux?

5

I would suggest using rdesktop in command line.

For ubuntu

sudo apt-get install rdesktop

You can also use different GUI clients for it like

  • tsclient

    sudo apt-get install tsclient

  • xrdp

    sudo apt-get install tsclient

and others.

BUT I prefer command line. I use alias file (rdp_aliases.bash) similar to following.

export RDP_SCREEN_WIDTH_HEIGHT="1280x800"
export RDP_WORKING_DIRECTORY=$HOME/RemoteDesktop
export RDP_DOMAIN=DOMAIN_NAME
export RDP_DEFAULT_USERNAME=ati.ozgur
export RDP_KEYBOARD=tr
export RDP_DEFAULTS="-r disk:atiD=/home/atillla/Downloads -r disk:atiP=/home/atillla/Projects"
export RDP_COMMAND="rdesktop $RDP_DEFAULTS -k $RDP_KEYBOARD -g $RDP_SCREEN_WIDTH_HEIGHT -c $RDP_WORKING_DIRECTORY"
export RDP_COMMAND_DOMAIN="rdesktop $RDP_DEFAULTS -k $RDP_KEYBOARD -g $RDP_SCREEN_WIDTH_HEIGHT -c $RDP_WORKING_DIRECTORY -d $RDP_DOMAIN -u $RDP_DEFAULT_USERNAME "
export RDP_COMMAND_NODOMAIN="rdesktop $RDP_DEFAULTS -k $RDP_KEYBOARD -g $RDP_SCREEN_WIDTH_HEIGHT -c $RDP_WORKING_DIRECTORY -u $RDP_DEFAULT_USERNAME "



alias rdpExample1="$RDP_COMMAND_NODOMAIN -T Title1 172.16.1.21 &"
alias rdpExampleDomain1="$RDP_COMMAND_NODOMAIN -T Title1 172.16.2.21 &"
alias rdpExampleDomain2="$RDP_COMMAND_DOMAIN -T Title1 172.16.2.21 &"

This puts everything in the same place, easier to manage and change. I also version control this file but it is another thing entirely.

0

You may also install Remmina as the GUI:

sudo apt-get install remmina

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.