LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-31-2006, 09:33 PM   #1
jza
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
init: Id "x" respawning too fast error


've been getting this error when trying to boot to runlevel 5.

I can resolve it by manually stopping and restarting xfs.
Originally xfs was not in the default runlevel so I added it using
Code:
chkconfig --add xfs
But that did not fix the problem.

This is what I have in my inittab (in the part pertaining to this runlevel):
Code:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
bw::bootwait:/etc/rc.d/rc.rocksconfig before-rc
po:35:wait:/etc/rc.d/rc.rocksconfig after-rc
As an additional note, I intend for the system to go directly into an xsession without requiring a login. So all that I have in my /etc/X11/xinit/Xclients is the folloiwing:
Code:
xset -dpms
exec wmaker
Could this be a problem?

thanks!
 
Old 01-31-2006, 10:44 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
My suggestion would be to simulate what init goes through when you switch to runlevel 5. Basically init is telling you that the command specified on the x:5:respawn line (i.e. /etc/X11/prefdm -nodaemon) is respawning too fast (most likely it dies right away as soon as init starts it, causing init to restart it and so on). Init has a built-in failsafe to prevent such infinite loops with respawn lines.

My suggestion would be to remove the x line from the inittab, switch to runlevel 5 and try to run that command manually (/etc/X11/prefdm -nodaemon) and check the output. Be sure to check the X server logs as well (you'd be surprised how much useful info they contain aside from what X dumps on screen).

Good luck!
 
Old 02-01-2006, 07:12 AM   #3
wykthorr
Member
 
Registered: Oct 2004
Location: Brasov, Romania
Distribution: Ubuntu
Posts: 38

Rep: Reputation: 15
I think a solution to this problem would be to stop X from exiting. You should try to reconfigure the X server so it suites your hardware. Do keep in mind that a small problem like a mouse missconfiguration can cause X to work badly.
 
Old 02-01-2006, 09:01 AM   #4
jza
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for your helps.
This is part of a compute cluster. The head node, which has the same hardware and is where I copied the xorg.conf from works fine, so I don't think its a config problem.

I tried the above step of removing that line from inittab and trying the following:
Code:
init 3
init 5
/etc/X11/prefdm -nodaemon
I got no output from it, nor did I find anything in the /var/log/Xorg.0.log

any other ideas?
 
Old 02-01-2006, 01:33 PM   #5
wykthorr
Member
 
Registered: Oct 2004
Location: Brasov, Romania
Distribution: Ubuntu
Posts: 38

Rep: Reputation: 15
Considering that the computer is part of a cluster do you really need X? Or do you intend to remove it?
 
Old 02-01-2006, 08:53 PM   #6
jza
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
yes I need X, we have a display wall (mural display)
thanks!
 
Old 02-04-2006, 06:06 AM   #7
dugo
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
/etc/X11/prefdm is just a shell script to start X and run a user selected window manager. There are a number of things that can fail.

Turn on shell verbosity and run the script:

sh -x -v /etc/X11/prefdm -nodaemon

Run X with verbose logging (different startup):

startx - -logverbose 7 -verbose 7


The output from one of those will tell you where the failure is.
 
  


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
X Server broken. start w/ "INIT: ld "x" respawning too fast: disabled for 5 minutes&q tektone Linux - Hardware 5 07-25-2007 07:18 PM
RH9 INIT: ID "x" respawning too fast: disabled for 5 minutes valimare Linux - Newbie 4 02-16-2007 04:53 AM
INIT:Id "x" respawning too fast: disabled for 5 minutes problem satimis Red Hat 4 07-22-2004 06:03 AM
INIT: Id "h1" respawning too fast error giovannym Linux - Newbie 1 07-14-2004 11:11 AM
INIT: Id "x" respawning too fast: disabled for 5 minutes" Lego3 Linux - Software 0 06-16-2004 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:42 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