Rocky Linux Install Rdp

sudo dnf install xrdp xorgxrdp -y

sudo dnf config-manager --set-enabled powertools sudo dnf install epel-release -y Use code with caution. Copied to clipboard

If everything worked, you will see your Rocky Linux desktop inside a window on your Windows machine. rocky linux install rdp

When the login screen appears, enter your Rocky Linux and password . Click OK and enjoy your remote desktop! Pro-Tip: Avoid the "Black Screen"

Set the GUI as your default boot target: sudo dnf install xrdp xorgxrdp -y sudo dnf

: Before RDP can function, the server must have a GUI installed, such as GNOME or KDE. For headless servers, this often involves installing the "Server with GUI" package group. Repository Management

Look for the [Globals] section. Ensure port=3389 is uncommented. You can change the port for security (e.g., port=13389 ), but remember to update your firewall and client. Click OK and enjoy your remote desktop

# Start XFCE startxfce4

sudo dnf groupinstall "Xfce" -y echo "exec /usr/bin/xfce4-session" > ~/.xsession

When prompted, select the session and enter your Rocky Linux username and password. Troubleshooting & Optimization Tips Rocky Linux Documentation Desktop Sharing via RDP - Rocky Linux Documentation