yum update -y
yum groupinstall -y "X Window System" "Desktop"
yum install -y gnome-core xfce4 xorg-x11-fonts
nano /etc/inittab
id:3:initdefault:
3
to 5
. The line should be the same as the line below:
id:5:initdefault:
reboot
, or clicking the “Reboot” button.