Home > Operation and Maintenance > CentOS > How to solve the problem that centos cannot enter the graphical interface

How to solve the problem that centos cannot enter the graphical interface

Release: 2020-03-20 17:02:03
Original
8395 people have browsed it

How to solve the problem that centos cannot enter the graphical interface

centos cannot enter the graphical interface because the graphical interface was not 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:

1. Enter the following command on 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 the next time the system starts, 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 restarts When starting, it will enter the graphical interface by default.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of How to solve the problem that centos cannot enter the graphical interface. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template