LinuxQuestions.org
Visit Jeremy's Blog.
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 12-07-2004, 01:09 AM   #1
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
what happened Id "x" respawning too fast


Below was my problem, but thankfully I got gnome back up. I don't know what I did or the command's effect really. Ok i read the other post

linuxquestions.org/questions/showthread.php?s=&threadid=262000&highlight=id+x+re

I read that it wasn't loading the libraries, just as mine, but different libs( libkrb5.so.3). Then I saw the
Quote:
echo $LD_LIBRARY_PATH
. It fixed the problem I guess, but only when I started ldconfig. Its obvious that I messed up my lib directories, but how and shouldn't their have been a conf file that I could of edited to fix the lib file structure. I know its not krb5.conf either. what does echo $LD_LIBRARY_PATH and export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" do actually?

"I have already read the other thread that contained a similar problem. Although I didn't see a solution to the problem. I also use red hat 9. I was installing wine and followed the instruction "/usr/local/lib' to /etc/ld.so.conf and run /sbin/ldconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib"
I did this successfully and in root I would type wine and it came up with usage line , but in $ mode it said something like no folder for C then the usage line came. I also then tried to install steam with wine and it never worked, crashing and counting to 30 cycles and killing itself I believe. I installed it in root and usr.
the system started to lag and I loged out and it locked with just mouse and I had to restart. Then receiving the message Id "x respawninng too fast disabled for 5 mins."
 
Old 12-07-2004, 04:52 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Re: what happened Id "x" respawning too fast

Id "X" respawning too fast means that the X server is crashing when it starts up. Because this makes the program exit, it re-spawns the X server just as if someone had logged out. Whereupon it crashes again. If it spawns the X server many times quickly, then you get this message and the respawn is disabled, to keep your computer usable.

Quote:
Originally posted by VampireL0rd
I read that it wasn't loading the libraries, just as mine, but different libs( libkrb5.so.3). Then I saw the . It fixed the problem I guess, but only when I started ldconfig. Its obvious that I messed up my lib directories, but how and shouldn't their have been a conf file that I could of edited to fix the lib file structure. I know its not krb5.conf either. what does echo $LD_LIBRARY_PATH and export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" do actually?
$LD_LIBRARY_PATH is an environment variable that contains the paths to all of the library files (.so and .a files) on your computer that programs might link to, either at compile time (.a files) or at run time (.so files). A cache file is searched (made by ldconfig) to find the libraries; the environment variable is only normall used by ldconfig itself. By running the export command, you can change the value of $LD_LIBRARY_PATH to include the /usr/local/lib directory, so it will also be searched for library files when you run ldconfig.

Quote:

"I have already read the other thread that contained a similar problem. Although I didn't see a solution to the problem. I also use red hat 9. I was installing wine and followed the instruction "/usr/local/lib' to /etc/ld.so.conf and run /sbin/ldconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib"
I did this successfully and in root I would type wine and it came up with usage line , but in $ mode it said something like no folder for C then the usage line came. I also then tried to install steam with wine and it never worked, crashing and counting to 30 cycles and killing itself I believe. I installed it in root and usr.
the system started to lag and I loged out and it locked with just mouse and I had to restart. Then receiving the message Id "x respawninng too fast disabled for 5 mins."
The ld.so.conf file also contains directories searched by ldconfig. Installing software under Wine can be problematic; you might want to search Google for instructions.
 
Old 12-07-2004, 10:14 AM   #3
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks. So does the ldconf generate the location to the conf files in /etc in a cache file and not the actually the where abouts of each individual lib because isn't that a job for ld.so.conf in /etc ? If this is not true then what is the point of ld.so.conf if ldconfig does it? I checked that file(ld.so.conf) when my problem occurred and I know that it included the dir of the missing libs, but it didn't work. Not until I reset my environmental variables with echo $LD_LIBRARY_PATH . I ask this is because when I was having so much trouble it was that I didn't understand what conf file determined the main configuration for the system and if this happens again I want to know what to do and not hack files randomly.
 
Old 12-08-2004, 09:53 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
ldconfig generates /etc/ld.so.cache. From the manpage:
Quote:
ldconfig creates the necessary links and cache to the most
recent shared libraries found in the directories specified
on the command line, in the file /etc/ld.so.conf, and in
the trusted directories (/lib and /usr/lib). The cache is
used by the run-time linker, ld.so or ld-linux.so. ldcon_
fig checks the header and file names of the libraries it
encounters when determining which versions should have
their links updated.
 
  


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
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 "x" respawning too fast: disabled for 5 minutes" Lego3 Linux - Software 0 06-16-2004 08:01 AM
INIT: Id "x" respawning too fast: disabled 5 minutes maddskillz Mandriva 1 10-10-2003 10:06 PM


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