Install xRDP on AlmaLinux 9

XRDP is an open-source implementation of remote desktop protocols developed by Microsoft.


  • AlmaLinux 9 with GUI such as Gnome, XFCE, KDE
  • Allow port 3389 in the firewall
#Add Firewall
firewall-cmd --permanent --add-port=3389/tcp
#Reload Firewall service
firewall-cmd --reload

Setup XRDP on AlmaLinux 9

  • Add Epel Repo and run system update, because XRDP are not available in the AppStream
sudo dnf install epel-release
sudo dnf update
  • Install XRDP
sudo dnf install xrdp
  • Start XRDP service
sudo systemctl start xrdp
  • Enable XRDP service – To make sure the XRDP service will start automatically whenever the system boot
sudo systemctl enable xrdp

check the service is running

systemctl status xrdp
  • Log out AlmaLinux session
Notify of
Inline Feedbacks
View all comments