By default, Centos does not have a GUI installed. it is just a command line interface. if you are not familiar with command line operations, you may not be familiar with it. Therefore, you can install the GUI for centos, the following uses centos5 as an example. First, run the command yumgroupinstall & quot; XWindowSystem & quot; gnometrictopenvironment & quot;
By default, Centos does not have a GUI installed. it is just a command line interface. if you are not familiar with command line operations, you may not be familiar with it. Therefore, you can install the GUI for centos, the following uses centos5 as an example.
First, use the command
Yum groupinstall "X Window System" "GNOME Desktop Environment"
Install
If you want to enable the GUI by default, you need to modify the default settings of centos,
Edit inittab configuration file
Vi/etc/inittab
Set id: 3: initdefault:
Modify:
Id: 5: initdefault:
Save and exit.