Home >Operation and Maintenance >CentOS >What should I do if CentOs7 cannot enter the desktop system?

What should I do if CentOs7 cannot enter the desktop system?

coldplay.xixi
coldplay.xixiOriginal
2020-07-28 15:44:4111217browse

The solution to CentOs7 being unable to enter the desktop system: first enter the command on the command line to install the Gnome package; then update the run level of the system, and enter the relevant commands to enable the graphical interface; finally, when the system starts again, The graphical interface will be entered by default.

What should I do if CentOs7 cannot enter the desktop system?

CentOs7 cannot enter the desktop system solution:

1. Enter the following command at the command line. Install the Gnome package

 $sudo  yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

2. Update the running level of the system

If you want to automatically enter the graphical interface when the system starts next time, then we need to change the running level of the system, 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 tutorials: centos tutorial

The above is the detailed content of What should I do if CentOs7 cannot enter the desktop system?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn