Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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

This comment has been minimized.

Copy link

@kendofriendo kendofriendo commented Dec 6, 2019

Cool thanks this will save me some time

@flyisland

This comment has been minimized.

Copy link

@flyisland flyisland commented May 11, 2020

thanks

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