Skip to content

Instantly share code, notes, and snippets.

@Sher-Chowdhury
Created April 2, 2018 16:55
Show Gist options
  • Save Sher-Chowdhury/0f96ee71fcec5b3b5c205bc277a93f6b to your computer and use it in GitHub Desktop.
Save Sher-Chowdhury/0f96ee71fcec5b3b5c205bc277a93f6b to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# exit 0
set -ex
echo '##########################################################################'
echo '##### About to run install-gnome-gui.sh script ##################'
echo '##########################################################################'
# https://codingbee.net/tutorials/vagrant/vagrant-enabling-a-centos-vms-gui-mode
yum groupinstall -y 'gnome desktop'
yum install -y 'xorg*'
# https://unix.stackexchange.com/questions/181009/gnome-license-not-accepted-issue-when-system-has-been-rebooted
yum remove -y initial-setup initial-setup-gui
systemctl isolate graphical.target
systemctl set-default graphical.target # to make this persistant
@kendofriendo
Copy link

Cool thanks this will save me some time

@flyisland
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment