LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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,509

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
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.
 
Old 03-19-2015, 10:00 AM   #6
Rev310
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
Smile Gui

I know I am late to the party but to install a desktop on centos 6 its yum groupinstall Desktop.
 
Old 03-19-2015, 12:23 PM   #7
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
Me too!
After doing yum groupinstall desktop
Install fonts
yum groupinstall Fonts

Last edited by zafar_dandoti; 03-19-2015 at 12:24 PM.
 
Old 03-20-2015, 01:04 AM   #8
JJJCR
Member
 
Registered: Apr 2010
Posts: 621

Rep: Reputation: 31
after installing the gui using yum.

do an startx as mesiol suggests or do ctrl+alt+f7
 
Old 03-20-2015, 11:35 AM   #9
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,410

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
In CentOS, the GUI is Ctrl+Alt+F1 - they moved it.
 
  


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 07:09 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration