XRDP on CentOS (Remote Desktop)

By admin at 2017-09-29 • 0 collector • 1707 pageviews

# yum group install "GNOME Desktop" "Graphical Administration Tools"

# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

# reboot


# rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm


# 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


# yum -y install xrdp tigervnc-server

# systemctl start xrdp.service


# 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


# systemctl enable xrdp.service


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

# firewall-cmd --reload


# chcon --type=bin_t /usr/sbin/xrdp

# chcon --type=bin_t /usr/sbin/xrdp-sesman


Requires Login

Loading...