Phone :  +370 (5) 204-1903
Skype :  onegbits
  1. Dedicated server
  2. Blog
  3. Install xrdp on CentOS 7

Install xrdp on CentOS 7

Install xrdp on CentOS 7


Jan, 18



Install xrdp on CentOS 7




Step 3:  Add a nux repository using the following command:


Step 4: Use Yum command to install xrdp and tigervnc-server.

yum -y install xrdp tigervnc-server

Step 5: start the xrdp service using the following command:

systemctl start xrdp.service

Step 6: xrdp will listen on 3389, confirm this by issuing the following command.

# netstat -antup | grep xrdp

Output should be below:

tcp 0 0* LISTEN 1508 / xrdp 

tcp 0 0* LISTEN 1507 / xrdp-sesman

Step 7: Issue the following command to enable the service at system startup.

systemctl enable xrdp.service

Step 8: Using the following commands Create iptables rule to allow RDP connection from external machines.

firewall-cmd --reload

Step 9: Configure SELinux using the following commands:

# chcon --type = bin_t / usr / sbin / xrdp # chcon --type = bin_t / usr / sbin / xrdp-sesman

Test Remote Connectivity

Now open the Remote Desktop Connection utility from your Windows machine, enter the IP address of the Linux server in the computer field and click on connect.

Install xrdp on CentOS 7

It will ask to enter the user name and password. You can use root or any other Linux system user. Make sure you use module "sesman-xvnc".

Install xrdp on CentOS 7

If you click ok, you will get a desktop.


That's all You have successfully installed xrdp on CentOS 7 . If you are facing any problem with the installation, feel free to comment here. Our team will help you to solve the issue.




Leave A Comment