On the latest CentOS version (such as 7.3), run the Yum install XRDP directly, then the installation is not the latest version of the XRDP, need to install Epel repo, installed is the most recent version of XRDP.
The steps are as follows:
If you have installed XRDP, but not the latest version, you need to delete it before you follow the steps below.
If you follow the steps below, then yum Update, this landlord did not try, theoretically should be able.
But directly cover the installation, the landlord tried, is not, and finally deleted the reload is OK.
In/etc/sysconfig/network-scripts/, configure DNS to:
dns1=223.5.5.5
This is for the second step to get the Epel package
Get Epel packages, which is Extra packages for Enterprise Linux,
Yum Install Epel-release
So, Epel.repo this repository file in/ETC/YUM.REPOS.D.
This step is to install the latest version of XRDP in the next step
Run:
Yum Install XRDP
Configure the firewall (no need to do this if there is no firewall, or you need to configure iptables if you are not using FIREWALLD but iptables)
Firewall-cmd--permanent--zone=public--add-port=3389/tcp
firewall-cmd--reload
Finally, the service is not started, to be up.
Systemctl Start XRDP