Restore X-Windows - The Yummy Way !!

I with total ignorance deleted X-Windows files through the Yum Extender (GUI) for Gnome.

The result was no GUI on reboot and only ' bash ' terminal mode . Alas ! I wanted to have the Gnome desktop back!
tried restoring gnome by running yum in terminal:

yum -y install gnome-*

but did not work. Realised that Gnome requires X-Windows to load first. Figuring out that xorg-X11 are the files used by X-Windows tried this command :

yum install xorg*


Lo ! X-Windows came back with a different login screen (only username & password option) but no Gnome login screen, but could login to Gnome Desktop.

I got the Gnome login screen by running the first command again