After xrdp is installed in Centos, you can remotely log on to the windows Remote Desktop program.

Source: Internet
Author: User
Tags windows remote desktop
After the xrdp service is installed in linux, you can use the remote desktop program that comes with windows to remotely log on to windows.

1) edit/etc/TPD/custom. conf with the following content:

[Daemon]

[Security]
AllowRemoteRoot = true

[Xdmcp]
Port = 177

Enable = 1

[Gui]

[Greeter]

[Chooser]

[Debug]

[Servers]

 

Copy custom. conf

> Cp custom. conf TPD. conf

 

Then, restart the desktop, such as running the machine-restart command.

Init 3

Init 5

Or restart the system.

 

2) set the firewall and add it to the/etc/sysconfig/iptables file:

-A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 6000: 6010-j ACCEPT
-A RH-Firewall-1-INPUT-m state -- state NEW-m udp-p udp -- dport 177-j ACCEPT

Restart firewall: service iptables restart

3) install Xmanager in windows, open Xbrowser, create XDMCP session, and then you can see CentOS.

Note: When the firewall blocks access, you can use service iptables stop to disable the firewall. Or use the command system-config-firewall to disable the firewall.

====================================

After the xrdp service is installed in linux, you can use the remote desktop program that comes with windows to remotely log on to windows.


Related Article

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.