Home > Operation and Maintenance > CentOS > Install desktop environment on CentOS7

Install desktop environment on CentOS7

藏色散人
Release: 2020-12-15 14:32:34
forward
10276 people have browsed it

The following tutorial column from centos will introduce to you how to install the desktop environment on CentOS7. I hope it will be helpful to friends in need!

1. Install GNOME-Desktop

  1. Install GNOME desktop environment
    # yum -y groups install "GNOME Desktop"
Copy after login

  1. After completing the installation , use the following command to start the desktop
    # startx
Copy after login
  1. Start for the first time and make some initial settings

    1. Select the system language
    2. Select the keyboard type
    3. Add online user (optional)
    4. Start using
  2. The desktop environment after startup is as follows:

How to use GNOME Shell?

The default GNOME desktop for CentOS 7 starts in classic mode, but if you want to use GNOME Shell, please set it up as follows:

Method one: If you start with startx Command to start GNOME, the settings are as follows:

# echo "exec gnome-session" >> ~/.xinitrc
# startx
Copy after login

Method 2: Set the graphical interface to log in and restart the system through the systemctl set-default graphical.target command. After the system starts

  1. #click the button next to the "Login" button.

  2. Select "GNOME" in the list. (Default is GNOME Classic mode)

  3. Log in using GNOME Shell.

  4. After the GNOME shell is started, it looks like this:

The above is the detailed content of Install desktop environment on CentOS7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
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