Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help me reboot X
Date: Mon, 04 Jun 2007 01:29:54
Message-Id: 46636949.8040308@exceedtech.net
In Reply to: Re: [gentoo-user] Help me reboot X by Stratos Psomadakis
1 Stratos Psomadakis wrote:
2 > O/H Kevin O'Gorman έγραψε:
3 >
4 >> From time to time my X server will lock up, usually but not always
5 >> while I'm editing something in ooffice. It's always something that's
6 >> pretty heavily graphical. When this happens, the only thing that
7 >> still works on my desktop is mouse motion. No clicks actually
8 >> register, and even the three-finger salutes (BS and DEL) are feckless.
9 >>
10 >> However, I can SSH into the machine from elsewhere and pretty much do
11 >> anything else I want. I usually have to reboot the machine, because I
12 >> haven't figured out how to restart X in gentoo. I'm sure it's pretty
13 >> simple, but I can't seem to find documentation on this particular
14 >> thing and it's not like the usual init.d services. Lots on startup, a
15 >> bit on shutdown, but nothing I see is about restart.
16 >>
17 >> When this happens, sometimes X is using 100% of one of the CPU's, but
18 >> I don't always check and haven't recently verified my impression that
19 >> sometimes all CPU's are at an idle (I have 4 hyperthreads).
20 >>
21 >> Can somebody help me stop and restart X? I'm using kdm for login.
22 >>
23 >>
24 > maybe you can ssh to your machine and then:
25 > ps -A | grep X
26 > and see the pid of X...
27 > and then kill [pid of X]...
28 >
29 >
30
31 Or, you can do a /etc/init.d/xdm restart . Either should work.
32
33 On another note, you may want to find out why it is locking up. This
34 should not be happening. Are you sure it is locked up or could it be
35 that what you are doing is just using all the CPU processes and it is to
36 busy to respond?
37
38 Maybe some serious guru will come in with a plan.
39
40 Dale
41
42 :-) :-) :-)
43
44
45 --
46 www.myspace.com/-remove-me-dalek1967
47
48 Copy n paste then remove the -remove-me- part.

Replies

Subject Author
Re: [gentoo-user] Help me reboot X deface <deface@×××××××××××.net>