This tutorial provides a step-by-step guide to install Xrdp (Remote Desktop Protocol server) with GNOME GUI on Rocky Linux 8. Xrdp allows remote desktop connections to your Linux server using RDP from Windows or other systems.
rocky linuxXrdpGmome
Micro
VPS
1
vCPU
2 GB
Memory
20 GB
NVMe Disk
1024 GB
Traffic
4.90€
/month
* Up to 6GB RAM, 60GB NVMe Disk Space and 1Gbit/s Network Speed
#### Prerequisites
Before you begin, ensure you have:
- Access to a terminal on your Rocky Linux 8 system
- Administrative privileges (sudo or root access)
#### Step 1: Install GNOME Desktop Environment
If GNOME desktop environment is not installed, install it using:
```bash
sudo dnf groupinstall "Server with GUI"
```
#### Step 2: Install Xrdp
Install Xrdp package from the official repositories:
```bash
sudo dnf install xrdp
```
#### Step 3: Start and Enable Xrdp Service
Start the Xrdp service and enable it to start on boot:
```bash
sudo systemctl start xrdp
sudo systemctl enable xrdp
```
#### Step 4: Configure Firewall
If firewall is enabled, allow RDP service through the firewall:
```bash
sudo firewall-cmd --add-port=3389/tcp --permanent
sudo firewall-cmd --reload
```
#### Step 5: Connect to Xrdp from Remote Client
Use a Remote Desktop client (such as Remote Desktop Connection on Windows) to connect to your Rocky Linux 8 server:
- Enter the server's IP address or hostname in the Remote Desktop client.
- Use your system username and password to authenticate.
#### Step 6: Access GNOME Desktop
After successful authentication, you should see the GNOME desktop environment on your remote client.
#### Conclusion
You have successfully installed Xrdp with GNOME GUI on Rocky Linux 8, enabling remote desktop access using RDP. You can now manage your Linux server remotely with graphical interface.
**Additional Resources:**
- **Xrdp Documentation:** [https://github.com/neutrinolabs/xrdp](https://github.com/neutrinolabs/xrdp)
- **Rocky Linux Documentation:** [https://docs.rockylinux.org/](https://docs.rockylinux.org/)