Centos installs X Winodw with yum tutorial

  

When installing Centos 5.6 system, I didn't install any components first. Now I use X Window, I need to install X Window, I can start the graphical interface, but the default graphical interface is very simple. Interface, you can install GNOME or KDE desktop environment as needed to install X graphical interface # can query which components have been installed (can be used to compare component names) yum grouplist# install X graphical interface system

yum list All installable packages can use yum grouplist to see which lists might be installed in batches such as #yum groupinstall "DNS Name Server" //Install bind and bind-chroot packages


yum groupinstall 'X Window System' -y#Install GNOME desktop environment yum groupinstall 'GNOME Desktop Environment' -y#Install KDE desktop environment yum groupinstall 'KDE (K Desktop Environment)'

Uninstall and uninstall GNOME desktop environment yum groupremove GNOME Desktop Environment 'Uninstall KDE desktop environment yum groupremove 'K Desktop Environment'

How to start X graphical interface 1, startx2, settings The machine starts automatically, modify /etc/inittabid:3:initdefault: ------> id:5:initdefault:3, init 5

Default desktop environment selection 1. Set GNOME or KDE as the default Method for starting the desktop environment 1: Modify /etc/sysconfig/desktop and set the parameters after “DESKTOP” to KDE or GNOME as needed. Method 2: Create a file in the current user directory “.xinitrc”, the content of the file is a line startkde or gnome-session. Second, GNOME and KDE switch 1, if you need to switch to GNOME: #switchdesk gnome 2, if you need to switch to KDE: #switchdesk kde 2, if you need to switch to KDE: #startkde

graphical interface and character interface The switch has multiple consoles in LINUX, the first 6 are character interfaces, and the seventh is graphical interface. If you need to switch to the character interface, you can use CTRL + ALT + Fn to achieve, where Fn is any of F1-F6, of course, if you switch between the character interfaces, there is no need to CTRL, direct ALT Fn < Br>

Copyright © Windows knowledge All Rights Reserved