How to set CentOS system to boot into desktop mode

王林
Release: 2020-03-23 16:29:33
Original
7810 people have browsed it

How to set CentOS system to boot into desktop mode

First of all, we know that the running levels of the command line and the graphical interface are different, as follows:

multi-user.target: Run level 3 (command line)

graphical.target: Run level 5 (graphical interface)

(Recommended tutorial: centos usage tutorial)

So, how to set up to boot into the desktop What about patterns?

The method is as follows:

View the current running level:

systemctl get-default
Copy after login

Set the boot to enter the graphical interface:

systemctl set-default graphical.target
Copy after login

Extension:

Set the boot Enter the command line:

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

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of How to set CentOS system to boot into desktop mode. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!