您的位置:首页 > 运维架构 > Linux

centos7/Fedora27安装xrdp

2017-10-28 00:00 169 查看
摘要: rdp, centos7, mstsc

1. update epel7

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm[/code] 

2. create a repository file

vi /etc/yum.repos.d/xrdp.repo


[xrdp]
name=xrdp
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
enabled=1
gpgcheck=0

3. install and configure xrdp

yum -y install xrdp tigervnc-server

dnf install xrdp tigervnc-server(fedora27)

systemctl enable xrdp.service

systemctl start xrdp.service

xrdp will listen on 3389, lets confirm this by issuing following command.

# netstat -antup | grep xrdp

tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      1508/xrdp
tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN      1507/xrdp-sesman

4. configure firewall

firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload

4. configure SELinux

# chcon --type=bin_t /usr/sbin/xrdp
# chcon --type=bin_t /usr/sbin/xrdp-sesman
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: