In this blog, we are going to install RDP ( Remote Desktop Protocol). For the remote desktop, we can use VNC or xRDP package. We are using xrdp package here to get the RDP access on CentOS 7.
Step-1: Use to upgrade all of the system software
sudo yum update
Step-2: Install the epel-release package, It allows to install add-on software packages provided by Fedora Team. EPEL stands for (Extra Packages for Enterprise Linux)
sudo yum install -y epel-release
Step-3: The below command has been used to install Gnome Desktop packages and dependencies.
sudo yum group install -y "GNOME Desktop"
Step-4: The xrdp is an Open Source package for remote desktop protocol (rdp) server.
sudo yum install -y xrdp
Step-5: Enable the xrdp service for every boot and start the xrdp server
sudo systemctl enable xrdp && sudo systemctl start xrdp
Step-6: Reboot the Machine/Server
Step-7: Enable the port 3389 on Firewalld using the below command.
sudo firewall-cmd --zone=public --permanent --add-port=3389/tcp
Reload the firewalld
sudo firewall-cmd --reload
Now try the rdp access with RDP client.
on Windows Machine use