LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, MacOS X
Posts: 158

Rep: Reputation: 29
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
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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, MacOS X
Posts: 158

Original Poster
Rep: Reputation: 29
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
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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.
 
1 members found this post helpful.
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration