Click here to Skip to main content
13,895,719 members
Click here to Skip to main content
Add your own
alternative version


14 bookmarked
Posted 4 Jan 2013
Licenced CPOL

Connect to Ubuntu from Windows via RDP

, 13 Jan 2013
Rate this:
Please Sign up or sign in to vote.
Connect to Ubuntu from Windows via RDP

In my office, we have an Ubuntu box which is installed OWASP tools (I’ll get back with what is OWASP later. For now, check My laptop installed Windows 7 and I wanted to remotely connect to the Ubuntu computer to test the installed software. I guess most of you use “VNC Viewer” to connect Ubuntu from the Windows.

VNC requires a separate client running on a PC. But why don’t we use existing RDP (Remote Desktop Client) which freely comes with Windows instead of installing a separate software? Here are the steps, how to use RDP to connect from Windows to Ubuntu.

  1. To enable the RDP, you have to install the RDP server (xrdp – on Ubuntu. Login to the Ubuntu and run the following command on the terminal window:

  2. Now login to the Windows PC and open the RDP client. Type the IP address and click “Connect” button.

  3. It will prompt the xrdp login window, and enter your Ubuntu username and password and click “OK”.

  4. Here you connect.

You may want to know why I used RDP instead of VNC. That is not only to stop installation overhead of separate software; here is one of the complete answers for this.

RDP is semantic. The RDP is aware of controls, fonts, and other similar graphical primitives. This means that when rendering a screen across a network, this information is used to compress the data stream significantly. For instance, if you know that this region of the screen if occupied by a button, with the color grey, then you don’t need to send an image of the button across the network, but merely information such as location of this button, size and color.

VNC is “dumb” in this respect, and largely functions by sending the actual images across the network. RDP is tightly coupled to the Windows platform, whereas VNC is available for most platforms. RDP is also seen as far more performance then VNC, due to the semantic advantage.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Tharaka MTR
Technical Lead Eyepax IT Consulting (Pvt) Ltd.
Sri Lanka Sri Lanka
Having more than 9 year hands-on industry experience in software development
Responsible for designing, implementing and managing complex software systems with stringent up-time requirement.

Visit my blog

You may also be interested in...

Comments and Discussions

QuestionXRDP does not seem to work on ubuntu 14.04.1 witn Windows 8.1 Pin
Mak G25-Sep-14 18:38
memberMak G25-Sep-14 18:38 
AnswerRe: XRDP does not seem to work on ubuntu 14.04.1 witn Windows 8.1 Pin
Tharaka MTR3-Oct-14 17:44
professionalTharaka MTR3-Oct-14 17:44 
GeneralMy vote of 5 Pin
romi_dcc13-Jan-13 21:55
groupromi_dcc13-Jan-13 21:55 
GeneralRe: My vote of 5 Pin
Tharaka MTR14-Jan-13 1:37
professionalTharaka MTR14-Jan-13 1:37 
GeneralMy vote of 5 Pin
arbinda_dhaka13-Jan-13 9:18
grouparbinda_dhaka13-Jan-13 9:18 
GeneralRe: My vote of 5 Pin
Tharaka MTR13-Jan-13 15:33
professionalTharaka MTR13-Jan-13 15:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web05 | 2.8.190306.1 | Last Updated 13 Jan 2013
Article Copyright 2013 by Tharaka MTR
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid