![xrdp-login](https://manjaro.site/wp-content/uploads/2020/08/xrdp-login-678x381.png)
I am managing various operating systems installed on my Proxmox VE. It is great to test and try multiple operating systems. Since my server is located in another room, I need to configure remote access to the OS. Most of the time, I use SSH to connect and manage the server. But recently, I need desktop access to one of my CentOS 8 virtual machine.
By default, CentOS 8 does not allow remote desktop connection from Windows 10. But with a little trick, we can enable the remote desktop on CentOS 8 and we can connect to it using Windows RDP. In the following tutorial, I will show you how to connect CentOS 8 from Windows 10 using RDP (Remote Desktop Protocol).
Step 1. Install/Enable EPEL repository on CentOS 8
Open Terminal or connect to the CentOS 8 using SSH. And then execute this command to install EPEL repository.
dnf install epel-release
![](https://manjaro.site/wp-content/uploads/2020/08/Screen-Shot-2020-08-03-at-19.37.21.png)
Step 2. Install xrdp and vnc server
Now we are about to install the xrdp and vnc server on CentOS 8.
dnf install xrdp tigervnc-server
![](https://manjaro.site/wp-content/uploads/2020/08/Screen-Shot-2020-08-03-at-19.39.26.png)
Step 3. Configure the firewall
If the firewall is enabled, we need to configure it so we can connect to CentOS 8 through the firewall.
firewall-cmd --add-port=3389/tcp --permanent firewall-cmd --reload
Step 4. Start Xrdp
Now we need to start and enable Xrdp service.
systemctl start xrdp --now
systemctl enable xrdp
Check the status
systemctl status xrdp
![](https://manjaro.site/wp-content/uploads/2020/08/xrdp-status-1024x640.png)
Step 5. Connect to CentOS Desktop from Windows 10
Open Windows Remote Desktop Connection and then type the IP address of the CentOS 8.
![](https://manjaro.site/wp-content/uploads/2020/08/rdp-connect.png)
If all goes well, you will see the following login screen. Log in using your CentOS user account.
![](https://manjaro.site/wp-content/uploads/2020/08/xrdp-login-1024x675.png)
Now you should see the CentOS 8 Desktop
![](https://manjaro.site/wp-content/uploads/2020/08/centos-rdp-1024x538.png)
Leave a Reply