Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: xdm doesn't restart on killed X
Date: Thu, 12 Nov 2009 16:33:30
Message-Id: 200911121832.00625.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: xdm doesn't restart on killed X by doki_pen@doki-pen.org
1 On Thursday 12 November 2009 18:29:31 doki_pen@××××××××.org wrote:
2 > In gmane.linux.gentoo.user, you wrote:
3 > > On Thursday 12 November 2009 16:05:38 doki_pen@××××××××.org wrote:
4 > >> In gmane.linux.gentoo.user, you wrote:
5 > >> > On Wednesday 11 November 2009 19:02:26 doki_pen@××××××××.org wrote:
6 > >> >> In gmane.linux.gentoo.user, you wrote:
7 > >> >> > On Wednesday 11 November 2009 16:17:45 doki_pen@××××××××.org wrote:
8 > >> >> >> In gmane.linux.gentoo.user, you wrote:
9 > >> >> >> > On Tuesday 10 November 2009 17:54:48 Doki Pen wrote:
10 > >> >> >> >> I've recently switched from gdm to xdm in an effort to reduce
11 > >> >> >> >> my distro size. The only problem I've run into is that when I
12 > >> >> >> >> kill my X session, xdm doesn't restart automatically. I have
13 > >> >> >> >> to switch to a vtty and type exec sudo /etc/init.d/xdm restart.
14 > >> >> >> >> I've read the man pages and googled but can't come up with a
15 > >> >> >> >> solution. Does anyone know if there is a way to fix this
16 > >> >> >> >> issue?
17 > >> >> >> >
18 > >> >> >> > When X exists, is xdm still running or has it died too?
19 > >> >> >> >
20 > >> >> >> > You can tell when restarting xdm if it gives errors about xdm
21 > >> >> >> > not running when the "stop" phase of "restart"" is run
22 > >> >> >>
23 > >> >> >> xdm is not running after I kill my xsession. It is running after
24 > >> >> >> I log in. I tested using ps -Af | grep -i xdm.
25 > >> >> >
26 > >> >> > Ok, so I reckon the init script dies because xdm dies when X
27 > >> >> > exists.
28 > >> >> >
29 > >> >> > is there anything relevant in your messages log file, Xorg.0.log,
30 > >> >> > ~/.xsession- errors and similar logs?
31 > >> >>
32 > >> >> From /var/log/Xorg.0.log.old:
33 > >> >>
34 > >> >> Backtrace:
35 > >> >> 0: /usr/bin/X(xorg_backtrace+0x38) [0x812a180]
36 > >> >>
37 > >> >> Fatal server error:
38 > >> >> Caught signal 11. Server aborting
39 > >> >
40 > >> > That's a segfault so there's a serious bug. It's likely in X itself.
41 > >> >
42 > >> > Did you recently upgrade X and at the same time rebuild all it's app
43 > >> > and all drivers - without exception?
44 > >>
45 > >> This has happened since I have switched to xdm. I've run revdep-rebuild
46 > >> and lafilefixer since my last X upgrade. Is there any other way to
47 > >> check for broken libs?
48 > >
49 > > Checking for broken libs is not going to fix a segfault.....
50 >
51 > So what should I do? upgrade X? upgrade xdm?
52
53 Downgrade xdm methinks
54
55 --
56 alan dot mckinnon at gmail dot com