LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-26-2009, 02:14 PM   #1
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Rep: Reputation: 0
install gui after the fact?


I have an RHEL 5 server that I use for testing and playing around with. Right now I don't have any GUI installed at all - no Gnome, no X or anything.

How can I install this after the fact? (without rebuilding the whole box). What packages need to be installed? I used yum to install gnome-desktop (I think that was the name of the package) but that didn't help at all. After trying to init 5, it hung - something about x spawning too quickly and being disabled for 5 minutes.

I'm sure there's a way to install this, I just don't know what all is needed.
 
Old 03-26-2009, 02:47 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should be able to run
Code:
yum groupinstall "GNOME Desktop Environment"
and it'll install everything matching that tick box you unticked during the install.
 
Old 03-26-2009, 03:27 PM   #3
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I have another question (let me point out that I am definitely a Linux newbie). How do I get into the GNOME desktop? I was under the impression that run level 5 is the GUI with multiple users. If I do an init 5, nothing really happens. I get starting irqbalance, starting mesage bus, starting winbind, and starting HAL daemon - all say OK. Nothing happens after that. Stays in a command line interface.
 
Old 03-26-2009, 11:10 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
unless you do a very small edit to a file ( /etc/inittab )
the very last line ( it should look something like this" x:3:respawn:/etc/X11/prefdm -nodaemon"
you need to change the 3 to a 5 then reboot
"x:5:respawn:/etc/X11/prefdm -nodaemon"

------- or ----------
from the text boot
after you login run this
Code:
startx
 
Old 03-27-2009, 04:02 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by John VV View Post
unless you do a very small edit to a file ( /etc/inittab )
the very last line ( it should look something like this" x:3:respawn:/etc/X11/prefdm -nodaemon"
you need to change the 3 to a 5 then reboot
"x:5:respawn:/etc/X11/prefdm -nodaemon"
[/code]
no no no

that line defines what level 3 or 5 IS you do NOT want to touch that line. the line you're referring to would be "id:3:initdefault"
 
Old 03-27-2009, 09:05 AM   #6
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
acid_kewpie - I tried editing that line and changed the 3 to a 5, but that didn't seem to do anything. After rebooting, it still went to a command line. It seems to think it's at run level 5 though. At the command line if I enter 'init 5' it doesn't do anything, but if I try 'init 3' it switches run level.
 
Old 03-27-2009, 09:14 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Ok, well what actually is the problem you have? can you manually get into X / Gnome now? from runelvel 3 you can just run "startx" and it should load... let's make sure X is actually working first of all.
 
Old 03-27-2009, 09:17 AM   #8
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
that didn't work. It's apparently a video card issue - bad (or non-existent) driver. I'll see if I can get a driver from the hardware manufacturer. I believe they have a linux driver.
 
Old 03-27-2009, 09:20 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
There should be no need, run system-config-display and see if it can give you a hand.
 
Old 03-27-2009, 09:24 AM   #10
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
hmmmm, doesn't seem to be a linux video driver on the IBM website. Strange.

Months ago, I installed the gui (from the start) on this exact same hardware and it worked fine. There has to be some linux package missing. When I try 'startx' it says (among other things)

(EE) Failed to load module "radeon" (module does not exist, 0)
(EE) No drivers available

The video card is an ATI radeon. Since I know GNOME has worked on this hardware before, there must still be something that I'm missing. Could there be a driver package - either on the CD or available via yum?
 
Old 03-27-2009, 09:31 AM   #11
dsdonut
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
THANKS!!

just running system-config-display seemed to do the trick. After that 'startx' got me to the desktop.
 
Old 03-27-2009, 12:58 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
oops , my mistake
" x:5:respawn:/etc/X11/prefdm"
one to many beers .
 
  


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
Cannot get GUI on any linux distro (live, install gui nor post install) 8800GTX AlteRFirE Linux - Desktop 1 07-08-2008 04:08 PM
about the fact that linux is free Bongo Linux - General 8 03-08-2008 10:01 AM
Libtool cannot find libraries(that do in fact exist) during GAIM install sachingulaya Linux - Software 3 07-06-2004 08:31 PM
install lilo after the fact shanenin Linux - Software 4 09-04-2003 08:59 AM
Adding GRUB after the fact? Phil Healey Linux - Software 3 06-28-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration