XRDP is an open-source implementation of remote desktop protocols developed by Microsoft.
Prerequisites
- 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
Test Remote Desktop from Windows
- Run Remote Desktop - Press the Win+R key and type-
mstsc.exe
- enter your remote Linux IP address
- Enter your credential and press OK //Enjoy
Reference
Discover more from naiwaen@DebuggingSoft
Subscribe to get the latest posts sent to your email.