How to Boot Into Graphical User Interface in CentOS 7

Posted on Posted in Tutorials

After installing CentOS 7 you will be forced to enter startx command to go into GUI (Gnome Desktop) mode each time you boot into the system. To overcome this you have to set the default boot option using the following commands:

First enter the following command:

systemctl get-default

If the output is anything other than then execute the next command:

systemctl set-default

You might be asked to provide root user credentials. You might want to try get-default again to make sure it’s changed.

Leave a Reply

Your email address will not be published. Required fields are marked *