LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-13-2011, 02:51 PM   #1
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 113

Rep: Reputation: 17
Installing GUI under CentOS 6


This isn't a question per se, it's a solution in case anybody else has the same problem as me.

I just installed CentOS 6 x86 and found that it didn't install the GUI. I googled "install gui under CentOS 6" and a few variations of that question and found a lot of pages that *almost* got me there, older solutions for similar distros long ago, but nothing that actully fully worked to get me the gui.

So in case anybody else has this problem, what actually worked for me was (as root):

yum groupinstall "X Window System"
yum install gnome*


Now unless you edit it, /etc/inittab will still be set to bring you up to runlevel 3 (i.e. all text) on bootup, but then after you login, typing "startx" will work like a charm.

Hope this saves someone some trouble.
 
Old 09-13-2011, 03:07 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Hello,

To add to that, you should change your init level to 5 before starting X, since run level 3 is networking support without X server. Just an FYI.

Cheers,

Josh

Last edited by corp769; 09-19-2011 at 11:06 AM. Reason: Big typo...
 
Old 09-19-2011, 10:10 AM   #3
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 17
Actually Josh, I think you mean either "run level 5 is networking support WITH X server" or "run level 3 is networking support without X server".

When I just issue 'startx', the gui starts up and indeed, when I type 'who -r' I'm in run level 3, but as far as I can see, everything's working fine. I've got the gui, and networking. Terminal works. Firefox works. Xclock comes up.

So why bother change run level? What am I missing?

- Van
 
Old 09-19-2011, 11:08 AM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Thanks for that, it was definitely a typo. On the side note though, that is what run levels are normally used for. Honestly, I don't know why it would fully work like that, unless your method is just manually running X, without a hitch at all.
 
Old 11-02-2012, 04:41 PM   #5
drericha
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up

Thanks, Vanyel! This helped immensely. I think sometimes the Centos 6 install doesn't recognize the video card and so decides not to install X.
 
  


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 5.3 without gui arthurpass2009 Linux - Distributions 3 10-11-2009 11:15 PM
Need Help Installing Centos 5.2 i386 ... not able to use gui ... i am lost... ngooch Linux - Newbie 13 01-29-2009 08:43 AM
Installing a Gui and using NomachineNX or something like it on CentOS shadowers Linux - Newbie 1 10-07-2008 05:22 PM
Installing and using a gui on CentOs shadowers Linux - Newbie 1 10-05-2008 11:19 AM


All times are GMT -5. The time now is 03:58 PM.

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