& Nbsp; wait for the system to display the installed components and installable components: # yumgrouplist if the system is installed with minimal installation at the beginning, and xwindow is not installed, install the system first: # yumgroupinstallXWindowSystem install GNOME desktop environment yumgroupinstallgnometrictopenv
Dedicated waiting
Display the components that have been installed in the system and the components that can be installed:
# Yum grouplist
If the system is installed with minimal installation at the beginning, and xwindow is not installed, first install:
# Yum groupinstall "X Window System"
Install GNOME desktop environment
Yum groupinstall "GNOME Desktop Environment"
Install the KDE desktop environment
Yum groupinstall "KDE (K Desktop Environment )"
Uninstall GNOME desktop
Yum groupremove "GNOME Desktop Environment"
Uninstall the KDE desktop environment
Yum groupremove "KDE (K Desktop Environment )"
Default Desktop selection
Add
DESKTOP = "GNOME" or DESKTOP = "KDE"
Switch from GNOME to KDE desktop
Startkde
---
1. Set GNOME or KDE as the default startup desktop environment
Method 1: modify/etc/sysconfig/desktop and change the content after "DESKTOP" to KDE or GNOME as needed.
Method 2: Create ". xinitrc "file (note that there is a dot before the file name, which indicates that a hidden file is created). The file contains a line of startkde or gnome-session, select KDE or GNOME as needed.
2. switching between GNOME and KDE ("#" is followed by the input command)
1. if you need to switch to GNOME:
# Switchdesk gnome
2. if you need to switch to KDE:
# Switchdesk kde