1. displays the installed and installable components of the system: # yumgrouplist | grep-I & quot; xwindow & quot; 2. if xwindow is not installed at the beginning of system installation, install: # yumgroupinstall & quot; XWindow &
1. display the components installed in the system and the components that can be installed:
# Yum grouplist | grep-I "x window"
2. if the system is installed with minimal installation at the beginning, and xwindow is not installed, first install:
# Yum groupinstall "X Window System"
3. install GNOME desktop environment
Yum groupinstall "GNOME Desktop Environment"
4. install the KDE desktop environment
Yum groupinstall "KDE (K Desktop Environment )"
Yum groupinstall "KDE Desktop"
5. uninstall GNOME desktop environment
Yum groupremove "GNOME Desktop Environment"
6. uninstall the KDE desktop environment
Yum groupremove "KDE (K Desktop Environment )"
Start the system as a text interface, and switch from the text interface to the graphic interface:
Method 1: run the command
# Configure the graphic interface information for startx
Method 2: modify
Id: 3: initdefault, change 3 to 5, and restart the system;
Method 3: Enter the GUI: init 5
Enter the text interface from the GUI: init 3
Restart: init 6
Shutdown: init 3
In the real machine environment, you can switch the shortcut keys between the graphic interface and the text interface:
Ctrl + Alt + F (n), where F (n) is the F1-F6, 6 consoles;
Ctrl + ALT + F7;
Eg: CTRL + ALT + F1 is the text interface, and CTRL + ALT + F7 is the graphic interface.