Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to stop X
Date: Mon, 06 Jul 2009 22:41:43
Message-Id: 9acccfe50907061541v6f7fa827s1a2b70f5f40f1c8@mail.gmail.com
In Reply to: Re: [gentoo-user] How to stop X by Paul Hartman
1 On Mon, Jul 6, 2009 at 3:31 PM, Paul
2 Hartman<paul.hartman+gentoo@×××××.com> wrote:
3 > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@×××××.com> wrote:
4 >> On Mon, Jul 6, 2009 at 2:17 PM, Paul
5 >> Hartman<paul.hartman+gentoo@×××××.com> wrote:
6 >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@×××××.com> wrote:
7 >>>> I'm having trouble configuring X, and to save time I'd like to be able
8 >>>> to shut it down, edit some stuff, and start it up again.
9 >>>>
10 >>>> What is the gentoo way to do that?
11 >>>
12 >>> It depends on how you started X in the first place. If you did a
13 >>> "startx" (or similar), logging out should be all you need to do to get
14 >>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
15 >>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
16 >>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
17 >>> rmmod your video drivers or do whatever changes you want to do. sudo
18 >>> /etc/init.d/xdm start to bring it back up.
19 >>>
20 >>>
21 >>
22 >> Several of you suggested "/etc/init.d/xdm start" or so to get it
23 >> (re)started.  It doesn't work.  Instead the start-stop daemon
24 >> complains of not being able to stat "/usr/bin/xdm" which doesn't
25 >> exist.  And no I didn't mispell it.  I've never seen this before an
26 >> I'm baffled.
27 >
28 > Hi,
29 >
30 > You haven't told us how you start X, which I think would make it
31 > easier to determine how to stop it. Maybe you don't use XDM at all, in
32 > which case the above suggestion wouldn't have any relevance to your
33 > situation.
34 >
35 >
36
37 I haven't told you because I don't know. I do know that I was using
38 KDE when I still had X. But I set that up over 5 years ago and I've
39 forgotten all the details. But there's no sign of *dm in /etc/init.d,
40 other than xdm, which acts pretty normal outside of the fact that it
41 fails. It goes through motions, says some things work by putting [OK]
42 in the right margin, and all that.
43
44 If you tell me how to find out, I'll answer any questions.
45
46 ++ kevin
47
48 --
49 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] How to stop X Mick <michaelkintzios@×××××.com>
[gentoo-user] Re: How to stop X walt <w41ter@×××××.com>
Re: [gentoo-user] How to stop X Stroller <stroller@××××××××××××××××××.uk>