Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to stop X
Date: Mon, 06 Jul 2009 23:30:47
Message-Id: 200907070030.42675.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] How to stop X by Kevin O'Gorman
1 On Monday 06 July 2009, Kevin O'Gorman wrote:
2 > On Mon, Jul 6, 2009 at 3:31 PM, Paul
3 >
4 > Hartman<paul.hartman+gentoo@×××××.com> wrote:
5 > > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@×××××.com> wrote:
6 > >> On Mon, Jul 6, 2009 at 2:17 PM, Paul
7 > >>
8 > >> Hartman<paul.hartman+gentoo@×××××.com> wrote:
9 > >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@×××××.com>
10 wrote:
11 > >>>> I'm having trouble configuring X, and to save time I'd like to be able
12 > >>>> to shut it down, edit some stuff, and start it up again.
13 > >>>>
14 > >>>> What is the gentoo way to do that?
15 > >>>
16 > >>> It depends on how you started X in the first place. If you did a
17 > >>> "startx" (or similar), logging out should be all you need to do to get
18 > >>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
19 > >>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
20 > >>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
21 > >>> rmmod your video drivers or do whatever changes you want to do. sudo
22 > >>> /etc/init.d/xdm start to bring it back up.
23 > >>
24 > >> Several of you suggested "/etc/init.d/xdm start" or so to get it
25 > >> (re)started.  It doesn't work.  Instead the start-stop daemon
26 > >> complains of not being able to stat "/usr/bin/xdm" which doesn't
27 > >> exist.  And no I didn't mispell it.  I've never seen this before an
28 > >> I'm baffled.
29 > >
30 > > Hi,
31 > >
32 > > You haven't told us how you start X, which I think would make it
33 > > easier to determine how to stop it. Maybe you don't use XDM at all, in
34 > > which case the above suggestion wouldn't have any relevance to your
35 > > situation.
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 Look at your ps axf. If it is running via xdm you will see something like:
49
50 6403 ? Ss 0:00 /usr/bin/xdm
51 6417 tty7 Ss+ 28:54 \_ /usr/bin/X :0 -nolisten tcp -br
52 vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF
53
54
55 --
56 Regards,
57 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] How to stop X Kevin O'Gorman <kogorman@×××××.com>