How To RDP into CentOS 7 from Windows

For a free Linux cheat sheet click here:

To subscribe to Darren’s Tech Tutorials please click here:

A full text tutorial with all the commands you need to follow along with this video can be found here:

How to RDP (Remote Desktop) into CentOS 7

This tutorial shows you how to RDP into CentOS 7. Using RDP to connect to CentOS allows you to use the CentOS GUI from windows. This tutorial shows you how to RDP to CentOS from Windows 7.

The CentOS tutorial will show you how to set up your CentOS Server to allow Remote Desktop Connections from Windows.

This video will first show you how to add the relevant repos that will allow you to download the software that will enable you to RDP to your CentOS 7 Server.

Next you will download the xrdp software that you need to remote desktop connection into CentOS 7.

We will then set the firewall rules which will allow the RDP connection to your CentOS Server.

Finally we configure SELinux to insure that it doesn’t block the RDP connections to the CentOS server.

If you encounter any difficulty in following this tutorial please comment below and if I can assist i certainly will!

18 thoughts on “How To RDP into CentOS 7 from Windows

  1. This worked for me windows 10 remote into Centos 7 – had to edit some code that you gave to copy and paste as I think auto correct has messed with some lines of code on this posting so best to check the video if you get errors when copying and pasting.

  2. how to do i set a static ip ?
    I am not able to find my IP.
    when i google it gives me a public IP.

    How to set up IP address for this RDP to work ?

    Really appreciate your blog,got lots of useful information.
    Already subscribed.

    Thanks man

  3. Hello, thank you for your help.
    But at version 7 of Centos I´m having this error trying to instal xrdp and tigervnc:
    Error: Package: xorgxrdp-0.2.10-4.el7.x86_64 (epel)

    Requires: xorg-x11-server-Xorg(x86-64) = 1.20.4

    Installed: xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 (@updates)

    xorg-x11-server-Xorg(x86-64) = 1.20.1-5.6.el7_6

    Do you have a solution for this dependency problem? Regards.

  4. I ran into an issue where my connection would immediately close out after connecting up. For those who might run into this I was able to fix it by editing the xrdp.ini file :
    cd /etc/xrdp
    vim xrdp.ini
    comment out the channel_code=1

Leave a Reply

Your email address will not be published. Required fields are marked *