Rhel installation of graphical interface (GNOME,KDE)

Source: Internet
Author: User

When you install Rhel, if you do not have a graphical interface installed, or if you later want to uninstall the graphical interface, you can execute the following command

1 Configure the correct Yum source, you can refer to this blog related articles (in search of input yum can be searched)


2) Use Yum grouplist simple view

# Yum Grouplist|grep-i Desktop
General Purpose Desktop
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
Desktop Platform Development
KDE Desktop
Remote Desktop Clients


3) Use Yum Groupinstall to bulk install related packages

# yum Groupinstall Desktop
# yum Groupinstall "X window System"

The Yum Groupinstall Desktop represents the GNOME environment, which is the default graphical interface for Rhel.

Yum Groupinstall "KDE Desktop" represents a KDE environment, and a buddy like KDE can install it.


After installation of the relevant package, with startx This command can start the graphical interface, if there is an error, you can search under Baidu, is generally the font and X11 version of the problem, need to add the following command to run

# yum Install libxfont-1.4.5-*

# yum Install libX11

# yum Groupinstall chinese-support

The domestic environment is best to pack the Chinese language.


4) Use Yum Groupremove bulk unload related packages

# yum Groupremove Desktop
# yum Groupremove "X window System"

# yum Groupremove "KDE Desktop"

5 If you need to start the graphical interface when the OS starts, you need to edit level 3 of the/etc/inittab file and change to level 5

# Vi/etc/inittab

Id:3:initdefault:


6 can switch between Level 3 and level 5

# init 3

# init 5




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.