How to install XRDP and remote to CentOS 6

How to install XRDP and remote to CentOS 6

As you reviewed the install VNC on CentOS Linux article, we are going to learn you how to install XRDP and remote to CentOS 6, that you can remotely connect to Centos 6 easily and without any additional settings. You may regret to work with VNC after watching the VNC server setup process. Because it has many steps and is a bit difficult for people who don’t have enough experience with Linux. XRDP is a very efficient tool that after installing it with the help of VNC Server, you will be able to remotely use your Windows desktop remote software to your Linux and use it.


How to install XRDP and remote to CentOS 6

Install and set the prerequisite to remote Centos 6

1- First, connect to your Centos 6 server via the terminal.

2- Then enter the following command to get the latest software upgrades.

yum upgrade

3- Then enter the following command to install Xorg and the corresponding font.

yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-truetype

Note: After entering the above command, Xorg may be installed by default and no operation will be performed.

4- In this step, we will go to install the X window desktop environment.

yum -y groupinstall "X Window System" "Desktop"

This step of the installation may take some time, Be patient until it is fully installed.

Recommended Article: 5 Interesting Command Line Tips and Tricks in Linux

5- After installing the X window environment, install the Epel Repository.

Install EPEL Repository on Centos 6 32-bit version

rpm -Uvh

Install EPEL Repository on Centos 6 64-bit version

rpm -Uvh

After installing and setting the prerequisites, we will continue to install XRDP.


Buy Linux Virtual Private Server


Install XRDP and set it up

1- First, install XRDP and VNC Server by entering the following command.

yum install xrdp tigervnc-server

2- Then start the xrdp service.

service xrdp start

3- Enter the following commands to start the xrdp service and vnc server by default after the centos 6 reboot.

chkconfig xrdp on  chkconfig vncserver on

4- At the end, open the remote port to the server by entering the following command in your firewall.

iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT

5- Then enter the following commands in order to save the changes in IPtables and then restart the iptables service.

service iptables save  service iptables restart

After completing the above steps, we will go to the remote to Centos 6.

remote to Centos 6

1- Open the Windows desktop remote window.

To open this window, search for the phrase remote desktop connection in the Start bar. Or open the run window with Winkey + r and enter mstsc and click OK.

XRDP and remote to CentOS 6 - open rdp

2- Then enter the IP of your centos 6 server and click Connect.

3- After a few seconds, the following similar window will open to confirm the connection, click Yes.

If you do not intend to ask this question for the next time, check the box in the same window.

XRDP and remote to CentOS 6 - accept certificate

Recommended Article: Tutorial Install Python 3.8 on Centos/RHEL 8 Linux

4- Then enter your Centos 6 username and password on the opened page and enter your Linux desktop environment.

After a few seconds, the Centos 6 desktop will be displayed.

XRDP and remote to CentOS 6 - centos login

At this point, the XRDP and Remote installation tutorial for Centos 6 is complete.

XRDP and remote to CentOS 6 - desktop view rdp

Dear user, we hope you would enjoy this tutorial, you can ask questions about this training in the comments section, or to solve other problems in the field of Eldernode training, refer to the Ask page section and raise your problems in it.


How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

View More Posts
Marilyn Bisson
Content Writer
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

One thought on “How to install XRDP and remote to CentOS 6

Leave a Reply

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day