Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mmdeniz/dc6017fbd0303a736dd97f97583669b9 to your computer and use it in GitHub Desktop.
Save mmdeniz/dc6017fbd0303a736dd97f97583669b9 to your computer and use it in GitHub Desktop.
source : https://sameeraman.wordpress.com/2018/04/05/how-to-install-gui-on-a-red-hat-7-x-server-in-azure/
# Install Desktop
sudo yum groupinstall "Server with GUI"
# Install Graphical targets
sudo systemctl set-default graphical.target
sudo systemctl start graphical.target
sudo systemctl status graphical.target
## Install xRDP
#Install EPEL Repo
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
https://docs.fedoraproject.org/en-US/epel/#_el9
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# Install xrdp
yum install xrdp tigervnc-server xterm
#Enable xrdp
systemctl enable xrdp
systemctl enable xrdp-sesman
systemctl start xrdp
systemctl status xrdp
# Open Firewall
sudo firewall-cmd --permanent --add-port=3389/tcp
sudo firewall-cmd --reload
#Enable theme
echo "gnome-session" > ~/.Xclients
chmod a+x ~/.Xclients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment