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

Change:
id:3:initdefault:

To:
id:5:initdefault:

Save changes and reboot machine

 

  • centos, gui, desktop
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

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...

Install Wine on CentOS 6 64bit

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

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...

Where can I find the MySQL root password for the Webuzo Stack?

The default MySQL root password for the Webuzo Stack/Softaculous is found in this...