Skip to content

Instantly share code, notes, and snippets.

@mscribellito
Created May 20, 2024 00:58
Show Gist options
  • Save mscribellito/2ad2481301ae345282f7ff2e9ae44940 to your computer and use it in GitHub Desktop.
Save mscribellito/2ad2481301ae345282f7ff2e9ae44940 to your computer and use it in GitHub Desktop.
Install GUI and XRDP for AlmaLinux 9
#!/bin/bash
dnf update -y
dnf groupinstall "Server with GUI" -y
systemctl set-default graphical.target
dnf install epel-release -y
dnf install xrdp -y
systemctl enable --now xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment