How Do I Install a GUI with CentOS 6?

If CentOS has already been installed without a graphical interface, you can install this with the following commands:

yum -y groupinstall "Desktop""Desktop Platform""X Window System""Fonts"


If you would like this to be the default runlevel, you can edit /etc/inittab and set the default level to 5 instead of 3:

vi /etc/inittab



Save changes and reboot machine


Was this answer helpful?

 Print this Article

Also Read:

How do I add a second IP address within Virtualmin?

Once our support staff has allocated a secondary IP address to your virtual server, you can add...

How do I manually add a second IP address to my CentOS installation?

If you have purchased a second ip address for your Centos installation and need to add the new...

PHP and Apache Settings with Virtualmin

The PHP configuration can be edited via Webmin here:Webmin->Others->PHP configuration...

Install Wine on CentOS 6 64bit

Disclaimer: These instructions are one method for installing the recommended packages for wine...

How do I enable different Apache modules with Webuzo?

Some modules are disabled by default in the Apache config which is provided by Webuzo .  You can...