Rdesktop: remote connection to Windows in Linux

Source: Internet
Author: User
Tags windows remote desktop rdesktop
ArticleDirectory
    • Enable remote desktop for the target computer
    • Remote connection using rdesktop in Ubuntu

Rdesktop is a client that supports Windows Remote Desktop Connection in Linux.ProgramIn Linux, you can use it to remotely access Windows desktops and support multiple versions. Rdesktop is an open-source project supporting the GPL protocol under SourceForge. It uses RDP (Remote Desktop Protocol, Remote Desktop Protocol) and can connect almost all versions of Windows, such as NT 4 Terminal Server, 2000, XP, 2003,200 3 R2, Vista, 2008, 7, and 2008 R2. Currently, rdesktop can run on all UNIX systems based on X Window. The current stable version is 1.7.1.

 

Enable remote desktop for the target computer

1. enable remote desktop on Windows XP

Right-click my computer on the desktop, select properties, and click the Remote tab in the Properties window, for example:

Click "allow users to remotely connect to this computer". The administrator has this permission by default. For Remote Desktop login, you need to enter the corresponding account and password. If you only want to allow remote access by a user, you can add it in "remote user. After setting, click OK. The default port is 3389. After this rule is set, Windows XP or Windows 2003 will add this rule to the firewall by default. However, if you manually modify the Remote Desktop port, do not modify the port number in the firewall or add a license rule separately. Otherwise, remote computer connection may be blocked by Windows Firewall.

 

2. Windows 7 Remote Desktop function enabled

This setting method also applies to Vista and Windows Server 2008. Choose Start> Control Panel> system and security> system, and then click Remote settings on the left, as shown in the following figure:

To enable Windows 7 remote desktop, there are three options. If the first option is not allowed to connect to the local computer, select "do not allow connection to this computer ", this prevents anyone from using remote desktop or RemoteApp to connect to your computer. The following two options are available: "Allow Remote Desktop computers of any version" and "run only remote desktop computers that use network-level authentication". The differences are as follows:

    • "Allow Remote Desktop Computer connections of any version" -- select this option if you are not sure about the computer operating system to be connected. Security is lower than the third option.
    • "Only Allow Remote Desktop connections with network-level authentication"-Allow users running remote desktop or RemoteApp computers with network-level authentication to connect to your computer. Currently, both Vista, Windows 2008, and Windows 7 Support Network-level authentication. For Windows XP, you can modify the Registry and other methods. If you need to search by Google.

 

How to view network-level authentication:

Click the small icon in the upper-left corner of the Remote Desktop Connection, and select the following window to check whether the prompt is supported.

 

Remote connection using rdesktop in Ubuntu

Open the Software Center of ubuntu, search for rdesktop, and click Install.

 

Start the terminal and run the following command to start the Remote Desktop of the target machine:

Rdesktop192.168.1.101# IP address of the target machine

Wait a moment. The logon window for the target machine appears:

Enter the user name and password, and click "OK" to view the desktop of the other party.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.