How to enable RDP on Linux
Add
the Linux Repository
RHEL7
rpm -Uvh
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RHEL8
rpm -Uvh
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RHEL9
rpm -Uvh
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Install xrdp:
xrdp is an Open Source Remote desktop Protocol server
1 |
sudo yum -y install xrdp |
Start the local xrdp service
Check to see if it’s running: |
netstat -an | grep 3389
Check if its running, and add xrdp to autostart
|
sudo systemctl enable xrdp.service |
Open the port and reload the firewall:
1 2 |
sudo firewall-cmd --add-port=3389/tcp --permanent sudo firewall-cmd --reload |
|
Comments
Post a Comment