How to connect CentOS 8 to Windows 10 desktop via RDP

s2 0

RDP (Remote Desktop Protocol) is a Microsoft protocol that was developed to allow systems to be managed remotely. Microsoft Windows, Microsoft Azure, and Hyper-V platforms use RDP by default. It works on port 3389. This tutorial will show you how to set up a remote desktop client on CentOS 8 and access the computer remotely. So let’s get started.

RDP client installation on CentOS

Several remote desktop packages such as Remmina, Vinagre or RDesktop are available in CentOS8. Here I am using vinegar here in this tutorial.

To install Vinagre in CentOS8, open the Terminal and enter the following command.

# sudo dnf install –y vinagre

To confirm that the package is installed, use the following command:

# rpm –q vinagre

As you can see, the package is installed and ready to use.

Connect to Windows computer

To connect to the remote Windows computer, make sure that the remote desktop service has been enabled and a firewall rule has been added. To enable remote desktop on a Windows computer, do the following:

  • Go to This pc Properties.

Windows PC

  • Click on the left side of the menu bar Remote settings:


  • At the top Menu bar, navigate to remote control and click on Allow remote connections to this computer and click the check box to appear below, click use and OK.

System properties

Add a firewall rule to a Windows computer so that it can connect remotely by following the steps below.

  • Go to Windows Defender Firewall.

Firewall settingsadvertising

  • Click on Advanced settings appears on the left, then click on Inbound Rules.

Advanced settings

  • In Inbound Rules, find Remote Desktop, enable it, and set an action to allow.

Now go back to your CentOS 8 computer and open the remote desktop, navigate to View Applications and type that in Remote desktop in the search bar and press Enter.

Remote desktop

After the remote desktop viewer application opens, click Connects.

Vinagre RDP client

To connect to the RDP, do the following:

  • Select RDP from the protocol’s drop-down menu.
  • Enter the host IP address you want to connect to.
  • Enter the username and click Connect.

Connection settings

  • Enter the access data / password and click on authenticate:

RDP viewer

Once you have successfully authenticated, you will be given access to your remote computer.


In this tutorial, we learned how to install a remote desktop client and connect to the remote Windows machine.

How to connect CentOS 8 to Windows 10 desktop via RDP