Server GUI
Ubuntu
Gnome desktop
sudo apt install -y ubuntu-gnome-desktop
RHEL
Server with GUI
sudo yum groupinstall -y "Server with GUI"
sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
sudo systemctl isolate graphical.target
sudo systemctl set-default graphical.target