How to configure remote desktop connection on centos 7 using xRDP
xrdp is a free and open-source tool which provides a graphical login to remote machines using RDP (Microsoft Remote Desktop Protocol). xrdp accepts connections from variety of RDP clients: FreeRDP, rdesktop, NeutrinoRDP and Microsoft Remote Desktop Client (for Windows, macOS, iOS and Android). More on xRDP can be found HERE
STEPS
1. Install Epel Repository
# yum install -y epel-release
2. Install the GNOME Desktop Packages
# yum groupinstall “GNOME DESKTOP” -y
3. Install XRDP
# yum install -y xrdp
4. Start and enable xRDP service
# systemctl enable xrdp
# systemctl start xrdp
# systemctl status xrdp
5. Open port 3389 on firewall
# firewall-cmd –add-port=3389/tcp –permanent
# firewall-cmd –reload
That’s it. You have successfully installed xRDP on centos 7. You can now connect graphically to your CentOS 7 using the Microsoft Remote Desktop Protocol.