Written by 8:06 am How-tos, Show me the code

Install xrdp on CentOS 8

NOTE: Before installing xrdp add any secondary language you need to your system
by using, NOT an RDP connection, but a direct access to it, i.e. through a console of the virtualization system if it’s a VM

You may need to install EPEL repository, if it is not already installed.

# check if epel-release is installed
sudo yum repolist 

# if not, then install it
sudo yum install epel-release

Install xrdp

# install xrdp, enable the daemon and start it
sudo yum install xrdp
sudo systemctl enable xrdp --now
sudo systemctl start xrdp 

# check the status
sudo systemctl status xrdp 

# add the xrdp in the current zones of the firewall
sudo firewall-cmd --new-zone=xrdp --permanent 

# add port 3389 to xrdp
sudo firewall-cmd --zone=xrdp --add-port=3389/tcp --permanent 

# google for "what is my public ip address" to find you public IP
sudo firewall-cmd --zone=xrdp --add-source=PUBLIC_IP_ADDRESS --permanent 

# reload firewall daemon
sudo firewall-cmd --reload 

# do not forget to restart the service (or the machine)
sudo systemctl restart xrdp

Alas! switching languages not working at all

Switching languages not working at all.

PLEASE: If you find a solution on how to make switching languages to work properly
when connecting from a MS Windows system to CentOS through xrdp, please, let me know.

Tested on:

  • CentOS 8 Stream
(Visited 51 times, 1 visits today)
Share the Post
Last modified: September 20, 2022