How to start and switch the graphical interface in centos7

藏色散人
Release: 2020-10-09 14:59:22
forward
16916 people have browsed it

The following column centos introductory tutorial will introduce to you how to start and switch the graphical interface of centos7. I hope it will be helpful to friends in need!

How to start and switch the graphical interface in centos7

##Installation graphical interface

The default is not A graphical interface will be installed, so you need to install it manually. The steps are as follows:

    Open the system and enter as root

  1. How to start and switch the graphical interface in centos7
  2. Install X (X Window System) , the command is as follows:
  3. 	yum groupinstall "X Window System"
    Copy after login
    There are about more than 200 softwares, and complete will appear after the installation is completed! words. Then install the graphical interface software, GNOME (GNOME Desktop), the command is as follows:
  1. 	yum groupinstall "GNOME Desktop"
    Copy after login
    Since this software group is much larger than the first one (containing about 800 software), the installation process It will be slower. Complete will appear when the installation is complete! words.
  1. After the installation is completed, we can enter the graphical interface through the command startx

  2. How to start and switch the graphical interface in centos7
Start the graphical interface after booting up

    First use ctrl alt f2 switches to the command line mode. If it is the command line mode, just follow the steps below
  1. Then enter the following command to view the current boot mode
  2. 	systemctl get-default
    Copy after login
graphical.target represents boot Start the graphical interface when booting

multi-user.target represents starting the dos interface when booting

    Finally enter the following command to set the graphical interface to boot up
  1. 	systemctl set-default graphical.target
    Copy after login
    In the same way, if you want to boot the dos interface, enter the following command
  1. 	systemctl set-default multi-user.target
    Copy after login
Switch between dos interface and graphical interface shortcut keys

Graphic to dos: ctrl alt f2

dos Go to the graphics: Enter startx
or
on the command input init 3 command to switch to the dos interface
Enter init 5 command to switch to the graphical interface

The above is the detailed content of How to start and switch the graphical interface in centos7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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