LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-11-2012, 09:46 AM   #1
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Rep: Reputation: Disabled
How to install a GUI on CentOS?


Simply I choose minimal install during the installation
Now I want to add X11 and a GUI

What are the required commands?

Thanks
 
Old 03-11-2012, 10:11 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Did you try
Code:
 yum groupinstall "GNOME Desktop Environment"
?
 
Old 03-11-2012, 10:16 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You can install a Desktop environment using yum groupinstall. If you're running CentOS 6, you can try one of:
Code:
yum groupinstall Desktop
yum groupinstall "KDE Desktop"
yum groupinstall Xfce
to install the default GNOME Desktop, KDE or Xfce respectively. Use
Code:
yum grouplist
to see a complete list of available groups. You may want to install the group "X Window System" prior to install the desktop manager, but I think it's required (and automatically selected) as a dependency. Good luck!

Edit: the command suggested by mesiol above is valid in CentOS 5, whereas the GNOME group in CentOS 6 is simply named "Desktop". Good to notice, anyway.

Last edited by colucix; 03-11-2012 at 10:17 AM.
 
Old 03-11-2012, 11:52 AM   #4
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
both
Code:
yum groupinstall Desktop
and
Code:
yum groupinstall "KDE Desktop"
worked but who I start the GUI after that?
 
Old 03-11-2012, 12:58 PM   #5
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
The default runlevel is defined in your inittab file in. After installing the gui you should change the defult runlevel to 5. If you do not whish to have the gui starting as default you can use
Code:
startx
from a shell.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
centos gui amartlk Linux - Newbie 3 10-05-2010 12:15 AM
CENTOS, did install, only see command prompt on boot. How do I get admin gui? soccer_golf Red Hat 2 06-30-2009 06:39 AM
Trying to install a GUI & VNC on a CentOS 5.1 server cdn415 Linux - Software 2 08-17-2008 09:16 PM
Cannot get GUI on any linux distro (live, install gui nor post install) 8800GTX AlteRFirE Linux - Desktop 1 07-08-2008 04:08 PM
Install GUI on Centos 4.4 ahusaizi Linux - Newbie 2 06-25-2008 08:41 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration