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)
Loading ... Loading ...

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)

If you found this useful, please consider leaving a comment or liking us on Facebook or subscribing to the RSS feed to have future articles delivered to your feed reader.

Possibly related posts (generated automatically):

  1. Remote Desktop Connection to Ubuntu from Windows 7 / MacOS / iPhone
  2. Use iPhone or iPod as Free Mobile Air Mouse (Ubuntu 10.04, Windows 7)
  3. VirtualBox Remote Display Using RDP Protocol
  4. Mount a Remote SSH Filesystem/Folder Using sshfs in Ubuntu 10.04
  5. Dual Boot Windows 7 and Ubuntu 11.04 Natty Narwhal
  6. Perfect Linux Desktop Ubuntu 11.04 Natty Narwhal: Post Install Guide
  7. XBMC on Ubuntu vs XBMC Live: Wireless Network and IR Remote
  8. Install XBMC on Ubuntu 10.04 Lucid Lynx with Support for IR Remote

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...
Solution to Windows 7 Ubuntu 9.10 Share Problem If you are...

About the Author

has written 1314 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!

*
Your Ad Here

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