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-04-03 11:48:02
Original
6749 people have browsed it

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

centos can enter the command line interface, but cannot enter the graphical interface. Solution:

1. Press "e" on the boot interface,

2. Find the line starting with linux16, locate ro and change ro to rw, and add: init=/sysroot/bin/sh

3. Use ctrl x to enter safe mode.

4. Use the command:

chroot /sysroot/
Copy after login

Switch to the root directory

5. Use

systemctl set-default multi-user.target
Copy after login

to enter the command line mode

systemctl set-default graphical.target
Copy after login

Enter graphical interface mode

Recommended related tutorials: centos 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