RPM-UVH https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Retrieving https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Warning:/var/tmp/rpm-tmp.lk4kbv:header V3 rsa/sha256 Signature, key ID 352c64e5:nokey
Preparing ... ################################# [100%]
Updating/installing ...
1:epel-release-7-5 ################################# [100%]
RPM-UVH http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
Warning:/var/tmp/rpm-tmp. Ligfx0:header V4 rsa/sha1 Signature, key ID 85c6cd8a:nokey
Preparing ... ################################# [100%]
Updating/installing ...
1:nux-dextop-release-0-1.el7.nux ################################# [100%]
Cat/etc/yum.repos.d/xrdp.repo
Cat:/etc/yum.repos.d/xrdp.repo:no such file or directory
Cat >>/etc/yum.repos.d/xrdp.repo<<eof
> [XRDP]
> NAME=XRDP
> baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
> enabled=1
> gpgcheck=0
> EOF
cat/etc/yum.repos.d/xrdp.repo==> Check
[XRDP]
Name=xrdp
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
Enabled=1
Gpgcheck=0
Yum-y install XRDP ==> because CENTOS7 do not have the source, you must follow the above operation to build their own source, first install Vncserver can refer to the previous
Chcon--TYPE=BIN_T/USR/SBIN/XRDP
Chcon--type=bin_t/usr/sbin/xrdp-sesman
Firewall-cmd--permanent--zone=public--add-port=3389/tcp==> open 3389 Port
Systemctl Restart firewalld==> reboot firewall
Installation complete with Remote Desktop login can be used
NETSTAT-ANTUPL | grep xrdp or Ss-antup | grep XRDP View
This article is from the "Blue Sky" blog, make sure to keep this source http://shurk.blog.51cto.com/1134443/1745768
CENTOS7 implementing 3389 Remote Desktop Logins