How to switch between command line mode and graphical interface mode:
From graphics to dos: ctrl alt f2
From dos to graphics: enter startx
or
Enter the init 3 command on the command to switch to the dos interface
Enter the init 5 command to switch to the graphical interface
We can also set the graphical interface to start at boot :
systemctl set-default graphical.target
Recommended tutorial: centos tutorial
The above is the detailed content of How to switch to graphical interface in centos7. For more information, please follow other related articles on the PHP Chinese website!