Home  >  Article  >  Operation and Maintenance  >  How to start the graphical interface in centos?

How to start the graphical interface in centos?

coldplay.xixi
coldplay.xixiOriginal
2020-06-19 10:40:092926browse

How to start the graphical interface in centos?

#How to start the graphical interface in centos?

How to start the graphical interface in centos:

1. The group command of yum

yum can be used as a program Group mode to install a set of software packages. Supported software packages can be queried through

# yum grouplist

. Among the group software packages, Desktop, Desktop Platform, KDE Desktop, and X Window System are the main desktop environments.

The software package list is displayed according to the language used by the system, and simplified Chinese file names are supported. Therefore, it is best to use the above command to check before installation. If the system uses Simplified Chinese and the installation instructions use English, it may cause errors such as the software package cannot be found.

2. Graphical desktop environment

To install the KDE desktop environment, execute the command,

# yum groupinstall "X Window System" "KDE Desktop" Desktop

, and 3 software packages are installed at the same time. Note that because both KDE Desktop and X Window System package names contain spaces, they need to be enclosed in quotation marks.

To install the Gnome desktop environment, execute the command,

# yum groupinstall "X Window System" "Desktop Platform" Desktop

. Three software packages are also installed at the same time, of which X Window System is necessary, whether it is Gnome or KDE.

Since it is a desktop environment, you may also need fonts, management tools, etc., such as,

# yum -y groupinstall "Graphical Administration Tools"
# yum -y groupinstall "Internet Browser"
# yum -y groupinstall "General Purpose Desktop"
# yum -y groupinstall "Office Suite and Productivity"
# yum -y groupinstall "Graphics Creation Tools"

3. Enable

from the command line Start the graphical desktop environment directly,

# startx

This will start the default Gnome or KDE desktop environment.

Recommended tutorial: "centos tutorial"

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

Statement:
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