Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: Re: strange problem with kdm
Date: Tue, 30 Aug 2005 01:38:38
Message-Id: pan.2005.08.30.01.32.34.912882@cox.net
In Reply to: Re: [gentoo-desktop] Re: strange problem with kdm by John Manko
1 John Manko posted <43133F1A.5010503@×××××××××.com>, excerpted below, on
2 Mon, 29 Aug 2005 13:00:10 -0400:
3
4 > I hope this is not a stupid question, but who/what is generating the sig 9?
5
6 It's /not/ a stupid question, and it has me a bit baffled as well, thus my
7 failure to adequately answer it. =8^P
8
9 The way the error makes it look, the script (controlling process) is
10 generating the sig-9 to kdm, causing it to shut down, after it logs a
11 message, but that makes no sense because if it got a sig-9, it wouldn't be
12 /able/ to log a message before it was killed.
13
14 Thus, my suggestion to trace the script, with the hope that the processes
15 involved and their relationship to each other would become clearer,
16 hopefully such that the error made a bit more sense.
17
18 The other possibility I can think of, and again, I don't know enough about
19 the process without tracing it for this to come out as more than jumbled
20 thoughts, is that the X-server isn't responding to the X-client's (that
21 would be KDM's) requests to establish a session, so KDM is having to send
22 it a sig-9 in its attempts to clean up the only partially init-ed X that
23 it couldn't connect to.
24
25 Thus, what I guess I'm saying is that we know there are at least 4,
26 possibly more, processes involved. Init itself is forking the
27 init-script, which forks X and KDM, each of which likely have their own
28 subscripts that do some setup before actually calling the X server and KDM
29 executables. How they relate to each other, which one is sending which a
30 sig-9, how many other processes may be involved in the setup, etc....
31 that's the sort of info that one would normally find out by tracing the
32 script to figure out what it's doing and where the problem is.
33
34 I'm answering not because I really know anything about what's going on,
35 but because no one else has, and in the hope that my bumbling attempts at
36 help may at least point you in the right direction... It'd certainly be
37 better if someone who knows kdm could step in, but in the absence of that,
38 I'm helping the best I can...
39
40 --
41 Duncan - List replies preferred. No HTML msgs.
42 "Every nonfree program has a lord, a master --
43 and if you use the program, he is your master." Richard Stallman in
44 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
45
46
47 --
48 gentoo-desktop@g.o mailing list