Code Snippet

Just another Code Snippet site

[Unix] RHEL Setup RDP server

https://medium.com/@ndeepak_/how-to-install-xrdp-on-red-hat-8-and-centos-1b260c937890

Install EPEL
RHEL8

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Centos 8

sudo yum install -y epel-release

Install Gnome Desktop and VNC Server

sudo yum groupinstall -y "Server with GUI"
sudo yum install -y tigervnc-server xrdp

Start and check server

sudo systemctl start xrdp
sudo systemctl enable xrdp
sudo netstat -antup | grep xrdp

Firewall config, if needed:

sudo firewall-cmd --permanent --add-port=3389/tcp && sudo firewall-cmd --reload

For VNC/RDP, user/password is mandatory, SSH key is not possible.

, , , ,


2 thoughts on “[Unix] RHEL Setup RDP server

Leave a Reply to OLIVIER COMBE Cancel reply

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