[root@rpi2 X11]# yum -y groups install "GNOME Desktop"
[root@rpi2 X11]# yum install gnome*
[root@rpi2 X11]# yum install xorg*
[root@rpi2 X11]# echo "exec gnome-session" >> ~/.xinitrc
[root@rpi2 X11]# systemctl start graphical.target
[root@rpi2 X11]# startx
xauth: file /root/.serverauth.7164 does not exist
xinit: unable to run server "/usr/bin/X": No such file or directory
Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/X" is a program or a link to the right type of server
for your display. Possible server names include:
Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server
Xvnc X server accessed over VNC's RFB protocol
Xdmx Distributed Multi-head X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[root@rpi2 X11]#