In the actual work, whether in the production environment or the company's internal environment, many times installed Linux system is minimized installation, that is, no desktop environment, if sometimes we need a desktop environment, how to install it? In fact, it is not difficult, now I will install the method to share the following.
Test environment: Centos 6.3
Desktop Type: Gnome
Installation method:
[[email protected]5201351 ~] Yum " Desktop " -Y[[email protected]5201351 ~]yum"X Window System" - y
After installing the two sets of packages, we only need to enter "Init 5" switch to Level 5 do not press the prompt to initialize the desktop, after the first initialization, we can through the Init 5 command, but also through the "startx" command to enter the desktop environment, If you need to get into the system every time you have a desktop environment,
can modify the contents of the/etc/inittab, Change the Id:3:initdefault: 3 to 5, as shown in:
Installation of the GNOME desktop environment under Linux