LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-12-2009, 11:07 AM   #1
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Rep: Reputation: 0
CentOS 5 + X Windows Installation


I am running CentOS 5 and I am using a precreated openvz template - centos-5-i386-minimal.tar.gz

When I attempted to run
yum groupinstall "X Software Development" "X Window System"

It always throws this exception -
--> Running transaction check
--> Processing Dependency: udev >= 089-1 for package: hal
--> Finished Dependency Resolution
Error: Missing Dependency: udev >= 089-1 is needed by package hal

May I ask any way to work around it?

Thanks,

Chris
 
Old 10-12-2009, 12:48 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Since you say it's openvz I am guessing it's a VPS without a virtualised graphics card (atleast not a very good one). Perhaps you could install vncserver, not certain on that tho... and use VNC to get into it (tho becareful if you VNC over a network, security isn't very good on VNC after all). If it's a VPS tho, why would you want a GUI? it'll just increase resource usage.
 
Old 10-12-2009, 12:58 PM   #3
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Managed to successfully install the vnc server application to it. But when I attempted to connect, I cant even get the shell to come up in the vnc.

As for why the GUI, its a bit long-winded of a response, so I will save you a crazy story

EDIT: I stumbled upon the instruction manual (ironically enough) - http://wiki.openvz.org/X_inside_VE . However, my target objective is to get firefox up and running, if I can do that without a desktop environment that would also work. Yet when I look at this page for instructions,... it just makes me go blank, haha.

Last edited by automaticjungle; 10-12-2009 at 01:01 PM.
 
Old 10-12-2009, 01:31 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
After installing vncserver, you have to start it, trying the following command in centos as root

service vncserver start

then after the vncserver is started, login as the user you intend to login to vnc as and enter the command 'vncpasswd' to set the vnc password and then type 'vncserver' to start the vncsession. Then vnc to the server as ip:port by default the port number is 59xx where xx is the session number so 5901 for session 1. After this we have the fun of getting a desktop manager but let's atleast see if vnc works first...

Last edited by r3sistance; 10-12-2009 at 01:33 PM. Reason: disable smilies
 
Old 10-12-2009, 01:40 PM   #5
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Hmm logged in successfully. However this time instead of a gray screen with no box. Now I have an all black screen of death (for lack of a better term). And the cursor indicator is in the shape of a black/red X. How strange...
 
Old 10-12-2009, 01:45 PM   #6
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
This is because there is no desktop manager. You will need to install a desktop like gnome or kde. You hsould have a terminal, if you install kde or gnome you should be able to start the desktop manager from that, else wise you will have to edit the ~/.vnc/xstartup file for the user to load the desktop manager.

There should be a line like...

xterm &

what should be changed to one of the following.

kde:
startkde &

gnome:
gdm &

however you will have to install the desktop manager via yum first however.
 
Old 10-12-2009, 01:47 PM   #7
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Ah yeah makes sense. Completely forgot I made the modifications to the xstartup already. Still getting the dependency issue on install though. I was told by a buddy of mine that theres a manual way of bypassing the udev check by basically specifying what packages individually you want to install (correct me if I am wrong).
 
Old 10-12-2009, 02:41 PM   #8
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Try doing a 'yum update' to make sure everything is updated and then you should be able to install kde with the follow yum line

yum groupinstall "KDE (K Desktop Environment)"

or gnome should be with

yum groupinstall "GNOME Desktop Environment"
 
Old 10-12-2009, 02:49 PM   #9
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Nope, both come up with the dependency error. It still does even if I attempt to install "X Windows System". I looked and it appears my udev thingy is 084. Should I attempt to upgrade it somehow?
 
Old 10-12-2009, 02:51 PM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Have you ran a 'yum update' yet as I suggested previously?
 
Old 10-12-2009, 03:05 PM   #11
automaticjungle
LQ Newbie
 
Registered: Oct 2009
Location: Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Yeah I ran the update and it said everything was up to date with no problems
 
Old 10-12-2009, 03:19 PM   #12
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Not sure I can suggest anything more. Seems strange that x won't install at all the last line I got left to think of is... if that doesn't work then I am afraid I can't really help too much further.

yum install gnome-session xorg-x11-server-Xorg gdm system-config-display
 
  


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
Spamassassin Installation on Centos 5.3 blackcat9 Linux - Software 3 06-26-2009 04:19 PM
samba installation with centos 5 jianght Linux - Newbie 3 03-06-2008 09:52 PM
Installation of OpenOffice 2.3.0 on CentOS. venkatteshb Linux - Software 1 10-24-2007 08:51 AM
Qmail installation with CentOS waelaltaqi Linux - Software 4 11-15-2006 08:29 AM
CentOS installation mike30188 Linux - Newbie 3 06-24-2005 01:32 AM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration