Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help me reboot X
Date: Tue, 05 Jun 2007 16:36:00
Message-Id: 20070605112505.53d0c331@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Help me reboot X by Kevin O'Gorman
1 On Mon, 4 Jun 2007 18:52:35 -0700
2 "Kevin O'Gorman" <kogorman@×××××.com> wrote:
3
4 > On 6/4/07, Dan Farrell <dan@×××××××××.cx> wrote:
5 > > On Sun, 3 Jun 2007 17:16:52 -0700
6 > > "Kevin O'Gorman" <kogorman@×××××.com> wrote:
7 > >
8 > > > From time to time my X server will lock up, usually but not always
9 > > > while I'm editing something in ooffice. It's always something
10 > > > that's pretty heavily graphical. When this happens, the only
11 > > > thing that still works on my desktop is mouse motion. No clicks
12 > > > actually register, and even the three-finger salutes (BS and DEL)
13 > > > are feckless.
14 > > >
15 > > > However, I can SSH into the machine from elsewhere and pretty
16 > > > much do anything else I want. I usually have to reboot the
17 > > > machine, because I haven't figured out how to restart X in
18 > > > gentoo. I'm sure it's pretty simple, but I can't seem to find
19 > > > documentation on this particular thing and it's not like the
20 > > > usual init.d services. Lots on startup, a bit on shutdown, but
21 > > > nothing I see is about restart.
22 > > >
23 > > > When this happens, sometimes X is using 100% of one of the CPU's,
24 > > > but I don't always check and haven't recently verified my
25 > > > impression that sometimes all CPU's are at an idle (I have 4
26 > > > hyperthreads).
27 > > >
28 > > > Can somebody help me stop and restart X? I'm using kdm for login.
29 > > >
30 > > Just find the offending process's id number and issue it a term
31 > > signal. --
32 > > gentoo-user@g.o mailing list
33 > >
34 > >
35 > There's sometimes no obvious offending process. Sending a term to X
36 > doesn't always do much when this is going on.
37 You might try -KILL; that should do the trick. KDM should restart the
38 server and revert to the logon screen, unless you changed that setting.
39 > I'll have to wait till
40 > it happens again to be specific.
41 >
42 > ++ kevin
43 >
44 Sorry, for some reason decided to send this message without scrolling
45 down to see whether anyone else had yet answered; it turns out they
46 did, and their answeres were much more complete.
47 --
48 gentoo-user@g.o mailing list