startx failure

10 posts / 0 new
Last post
#1 Thu, 02/01/2007 - 13:14
DanLong

startx failure

Joe,

Does the VMPro install disable the Xserver? WHen I did this install I put on the desktop environment so I can work on it through KDE but the xserver fails. Was wondering if it was VM or the CentOS install.

Thu, 02/01/2007 - 13:19
Joe
Joe's picture

Hey Dan,

Nope. We don't care at all about X and there's nothing in the Virtualmin install that would tamper with your X configuration.

--

Check out the forum guidelines!

Thu, 02/01/2007 - 16:07
DanLong

I didn't think so, but had to ask. My impression of the CentOS install disk is that it does a good job of laying the footwork for the VMPro install, but that's about it. It may have to do with me using the Server_CD iso but then why ask if you're not going to install it :-(

Thu, 02/01/2007 - 16:12 (Reply to #3)
Joe
Joe's picture

Oh, yeah. Server CD doesn't enable X, by default. It starts in runlevel 3.

I believe you can just change it (assuming you did install X) by editing /etc/inittab and changing this line:

id:3:initdefault:

To this:

id:5:initdefault:

A reboot should bring up X (unless something is broken in the configuration).

--

Check out the forum guidelines!

Sat, 02/10/2007 - 07:40 (Reply to #4)
DanLong

I gave that a whirl and on reboot got a complanint of something respawning too fast disabled and waiting 5 minutes

It's no biggy on this box and I'll have to experiment on a different clean one then.

Mon, 02/19/2007 - 15:47 (Reply to #5)
DanLong

Hey Joe,

I realized that the centos server cd may ask if you want to install the startx but doesn't really do it. I used the standard ISOs to install on another box and was able to install xserver and a desktop. THen I remembered why I didn't want the xserver in CentOS. Apparently it runs all the time as a shell (like windows) and you have to open up a window to get out into the system and that's not what I wanted either. I only wanted to bring up a GUI desktop when I needed it. :-(

Mon, 02/19/2007 - 16:40
SteveSobka

I noticed that on my CentOS install, the server install CD (http://mirrors.kernel.org/centos/4.4/isos/x86_64/CentOS-4.4.ServerCD-x86...) only installs the bare minimum for Xserver.

I had to do:
yum groupinstall "X Window Server"

To get all of the X packages to allow X to run properly.

Steve

Sun, 03/04/2007 - 21:28
kcackler

Dan - why not have the server start in runlevel 3 and then init 5 when you want to use the x server?

Mon, 03/05/2007 - 09:03 (Reply to #8)
DanLong

I'd installed the servercd iso and apparently it asks if want to install the client but doesn't install the xserver so when I went to level 5 it kept looping out on error. When I get time I'll try it again, but I'm pretty sure that's what happened. It worked fine when I used the 4 disk set. Operator error ;-)

Mon, 03/05/2007 - 10:48
kcackler

That's what I was saying - Install regular version then edit conf files to start in runlevel 3. Then just whenever you want to bring up x server just init 5...

Topic locked