The solution is as follows:
1. The version of VMware is too low and is not supported.
The solution is very simple. Download the latest version of VMware workstations. centOS7 is perfectly supported, and the graphical interface will appear after the virtual machine installation is completed.
2. No graphical interface is installed during installation
When installing the centos server version, the system does not install the CentOS graphical interface program by default. The solution is as follows:
(recommended tutorial :centos tutorial)
1. Enter the following command at the command line to install the Gnome package
$sudo yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
2. Update the system’s running level
If you want to automatically enter the graphical interface when the system starts next time, then we need to change the run level of the system and enter the following command to enable the graphical interface.
$sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
3. Restart the system
When the system starts again, it will enter the graphical interface by default.
Recommended related video tutorials: linux video tutorial
The above is the detailed content of The centos7 system cannot start the graphical interface. For more information, please follow other related articles on the PHP Chinese website!