206 lines
8.0 KiB
HTML
206 lines
8.0 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.2N.d">
|
|
<TITLE>The Answer Guy 46: Id "x" respawning too fast: Murdered Mysteriously</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
|
|
border="0" align="middle">
|
|
<font color="#B03060">The Answer Guy</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
|
|
border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>By James T. Dennis,
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a><BR>
|
|
LinuxCare,
|
|
<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A>
|
|
</H4>
|
|
</center>
|
|
|
|
<p><hr><p>
|
|
<!-- endcut ======================================================= -->
|
|
<!-- begin 5 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>Id "x" respawning too fast: Murdered Mysteriously</H3>
|
|
|
|
|
|
<p><strong>From Kelley Butch on Tue, 07 Sep 1999
|
|
</strong></p>
|
|
<!-- ::
|
|
Id "x" respawning too fast: Murdered Mysteriously
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
:: -->
|
|
<P><STRONG>
|
|
James,
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I've been running LINUX on my Thinkpad 600 for a few months now with
|
|
good results. The other day I experienced a power outage and the system
|
|
went down. Now, during boot-up and just before the "log-in" screen I
|
|
get this:
|
|
</STRONG></P>
|
|
<Pre><STRONG><BlockQuote>
|
|
According to /var/run/gdm.pid, gdm was already running (process id) but
|
|
seems to have been murdered mysteriously.
|
|
INIT: Id "x" respawning too fast: disabled for 5 minutes
|
|
</BlockQuote></STRONG></Pre>
|
|
<P><STRONG>
|
|
and after 5 minutes I get the same error.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I removed the pid file thinking that would solve the problem, but the
|
|
pid file gets recreated and the errors start over again.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
The culprit seems to be the last line in my inittab file:
|
|
<br><code>x:5:respawn:/etc/X11/prefdm -nodaemon</code>
|
|
<br>- (this is a link to <TT>/usr/bin/gdm</TT>)
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Thanks in advance,
|
|
<br>Butch
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Oh yeah! I've seen that on some
|
|
<A HREF="http://www.redhat.com/">Red Hat</A> 6.x systems.
|
|
'<tt>prefdm</tt>' is a symbolic link to your preferred display
|
|
manager (the original <tt>xdm</tt>, the newer <tt>kdm</tt> for
|
|
<A HREF="http://www.kde.org/">KDE</A>, or the
|
|
culprit of your problem the <tt>gdm</tt>,
|
|
<A HREF="http://www.gnome.org/">GNOME</A> display manager).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Try starting the system in single-user mode (or running the
|
|
command '<tt>telinit 3</tt>' to switch to the "normal" multi-user
|
|
mode without any display manager (graphical login) running.
|
|
Then remove the PID file and any stray core files in the
|
|
root, <TT>/root</TT> and similar directories.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
You might also want to look for any UNIX domain sockets
|
|
under the <TT>/tmp</TT> directory and <TT>/var</TT>. You can use the command
|
|
command: '<code>find /tmp /var -type s -ls</code>' to look for them.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
You'll normally find a couple of them under <TT>/var</TT> for
|
|
things like the printer (might also be under <TT>/dev</TT>) and
|
|
gpmctl (console mouse and cut/paste support) as well as
|
|
one or two sockets for your X server(s). Those would
|
|
normally be in the <TT>/tmp/.X11-unix/</TT> directory and be named
|
|
X0, X1, etc. (If you've never run multiple concurrent X
|
|
sessions then you'll only see X0 under there).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
You probably don't have to do anything with those
|
|
sockets. However, it might make sense to blow away the
|
|
one's under <TT>/tmp.</TT> X will (re-)create those as necessary.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
The fact that the version of GNOME gdm that shipped with
|
|
Red Hat 6.x can't gracefully handle (clean up after) an
|
|
inadvertant shutdown or other mishap is very disappointing.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Personally I still think GNOME is still beta quality code.
|
|
(Or at least it was when RH 6.x shipped). It dumps core
|
|
files all of the place, can't figure out whether there is a
|
|
living process that owns a 'dead' socket, etc.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Oh well. At least it's getting a bit better.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
I did grope around a bit at the GNOME web site:
|
|
<A HREF="http://www.gnome.org"
|
|
>http://www.gnome.org</A>.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
I did NOT see this question listed in their FAQ (which
|
|
surprises me, since I would think that this would be a very
|
|
commonly encountered problem among RH6/GNOME users).
|
|
However, I did find a link to a bug tracking system. From
|
|
there I searched for messages related to our "murdered
|
|
mysteriously" problem. There was some indication that
|
|
Martin K. Petersen is the contact for gdm and that he posted
|
|
patches to resolve that (and several other) gdm issues.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
I also saw several references to a <tt>gdm2</tt> (which presumably is
|
|
a second version of the GNOME display manager).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
In any event, you may want to download a set of updates to
|
|
your version of GNOME. Hopefully the fix to this problem is
|
|
included therein. (I'm pretty sure that the GNOME CVS
|
|
sources are updated, I just don't know if there are RH RPMs
|
|
of the latest versions and patches readily available).
|
|
</BLOCKQUOTE>
|
|
<!-- sig -->
|
|
|
|
<!-- end 5 -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1999, James T. Dennis
|
|
<BR>Published in <I>The Linux Gazette</I> Issue 46 October 1999</H5>
|
|
<H6 ALIGN="center">HTML transformation by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6>
|
|
<P> <hr> <P>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<TABLE WIDTH="96%"><TR VALIGN="center" ALIGN="center">
|
|
<TD colspan="2" align="left"><A
|
|
HREF="../lg_answer46.html"
|
|
><IMG SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Current Index ]"></A></td>
|
|
<TD WIDTH="12%"><A HREF="1.html">1</A></TD>
|
|
<TD WIDTH="12%"><A HREF="2.html">2</A></TD>
|
|
<TD WIDTH="12%"><A HREF="3.html">3</A></TD>
|
|
<TD WIDTH="12%"><A HREF="4.html">5</A></TD>
|
|
<TD WIDTH="12%"><A HREF="5.html">5</A></TD>
|
|
<TD WIDTH="12%"><A HREF="6.html">6</A></TD>
|
|
</TR><TR VALIGN="center" ALIGN="center">
|
|
<TD WIDTH="12%"><A HREF="7.html">7</A></TD>
|
|
<TD WIDTH="12%"><A HREF="8.html">8</A></TD>
|
|
<TD WIDTH="12%"><A HREF="9.html">9</A></TD>
|
|
<TD WIDTH="12%"><A HREF="10.html">10</A></TD>
|
|
<TD WIDTH="12%"><A HREF="11.html">11</A></TD>
|
|
<TD WIDTH="12%"><A HREF="12.html">12</A></TD>
|
|
<TD align="right" colspan="2"><A
|
|
HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.gif"
|
|
ALT="[ Index of Past Answers ]"></A></td>
|
|
</TR></TABLE>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<P> <hr> <P>
|
|
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<A HREF="../index.html"
|
|
><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
|
|
<A HREF="/index.html"
|
|
><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
|
|
<A HREF="../lg_bytes46.html"
|
|
><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
|
|
<A HREF="../../faq/index.html"
|
|
><IMG SRC="../../gx/dennis/faq.gif"
|
|
ALT="[ Linux Gazette FAQ ]"></A>
|
|
<A HREF="../lg_tips46.html"
|
|
><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
|
|
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|