We earn commission when you buy through affiliate links.
This does not influence our reviews or recommendations.Learn more.
I triedstartxcommand but no help.
It looks like Desktop Environment was not installed for some reason.
Lets installGNOMEDesktop with the following command.
It will take a few minutes to load the packages needed for GNOME and once done use startx command.
We are not doneyet.
When you reboot your CentOS, you will see the command prompt again.
So you gotta preserve the tweaks to start in graphical mode every time you boot the OS.
I hope the above helps you to boot CentOS in graphical desktop mode.
Interesting in learning Linux Administration?
Check out thisadministration Bootcamp course.