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

Install desktop environment on CentOS7

藏色散人
藏色散人forward
2020-12-15 14:32:3410253browse

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"

  1. After completing the installation , use the following command to start the desktop
    # startx
  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

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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete