Remote CentOS 6 and 7 desktop

CentOS 7

From CentOS7 (remote desktop server)…

sudo yum install -y epel-release
sudo yum install -y xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp

sudo firewall-cmd --add-port=3389/tcp --permanent
sudo firewall-cmd --reload

From Windows (remote desktop client)…

Hit Windows key, type “Remote Desktop Connection”, enter.
Enter CentOS7 IP address, username, and password.

CentOS 6

From CentOS6 (remote desktop server)…

sudo yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install -y xrdp
sudo service xrdp start
sudo chkconfig xrdp on

(open port 3389/tcp in iptables, if using iptables)

From Windows (remote desktop client)…

Hit Windows key, type “Remote Desktop Connection”, enter.
Enter CentOS6 IP address, username, and password.

Leave a Comment