Remote Desktop Connection to Windows 7 PC from Ubuntu 11.04 Natty or 10.10 or 10.04

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4.40 out of 5)

You can connect to a Windows 7 or any windows machine  from your Linux Box (Ubuntu, Fedora etc.) with a built in RDP (Remote Desktop Protocol) server capability. One has to be running at least a Professional version (Ultimate and Media Center versions are fine too) of windows. Enable Remote desktop connection capability on your target windows machine. For this goto Control Panel and then to System Properties and enable Remote Desktop Connection by ticking allow connection from computers running any version of remote desktop.

Command-line Approach

In your linux machine install rdesktop by doing this:

sudo apt-get install rdesktop (or yum install rdesktop) 

After this you are ready to connect to a windows machine using RDP

 rdesktop -uUSERNAME -dHOSTNAME HOSTIP -gWxH -a16 -xb -rsound:remote

The USERNAME corresponds to your Windows 7 login name, HOSTNAME is the computer’s network name and HOSTIP is your Windows machine ip address, W and H are the width and height in pixels of your desired Remote desktop screen, 16 is for 16 bit color and -xb is for broadband connection, you can use -xl if you are accessing in lan. If you want to keep the sound to stay on the remote computer then use -rsound:remote (use local or off for bringing it to local computer or turning it off at the remote computer respectively). This should work for Fedora and any other linux distribution as well, once executed you would be asked to enter your password to login.

GUI Based Approach

If you prefer using GUI based tools then you can use the terminal server client to connect via RDP which comes by default with most Linux distributions and should be available in Applications > Internet menu, if not then you can install it by

sudo apt-get install tsclient (or yum install tsclient)

You might also like

Remote Desktop Connection to Ubuntu from Windows 7 / MacOS / iPhone Remote desktop...
Use iPhone or iPod as Free Mobile Air Mouse (Ubuntu 10.04, Windows 7) Earlier I had...
VirtualBox Remote Display Using RDP Protocol Getting your...
Remote Access to VirtualBox Guest OS Via RDP VirtualBox...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

4 Comments on “Remote Desktop Connection to Windows 7 PC from Ubuntu 11.04 Natty or 10.10 or 10.04”

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!


Copyright © 2020 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes