From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to stop X
Date: Tue, 7 Jul 2009 00:30:39 +0100 [thread overview]
Message-ID: <200907070030.42675.michaelkintzios@gmail.com> (raw)
In-Reply-To: <9acccfe50907061541v6f7fa827s1a2b70f5f40f1c8@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2421 bytes --]
On Monday 06 July 2009, Kevin O'Gorman wrote:
> On Mon, Jul 6, 2009 at 3:31 PM, Paul
>
> Hartman<paul.hartman+gentoo@gmail.com> wrote:
> > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@gmail.com> wrote:
> >> On Mon, Jul 6, 2009 at 2:17 PM, Paul
> >>
> >> Hartman<paul.hartman+gentoo@gmail.com> wrote:
> >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com>
wrote:
> >>>> I'm having trouble configuring X, and to save time I'd like to be able
> >>>> to shut it down, edit some stuff, and start it up again.
> >>>>
> >>>> What is the gentoo way to do that?
> >>>
> >>> It depends on how you started X in the first place. If you did a
> >>> "startx" (or similar), logging out should be all you need to do to get
> >>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart
> >>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo
> >>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then
> >>> rmmod your video drivers or do whatever changes you want to do. sudo
> >>> /etc/init.d/xdm start to bring it back up.
> >>
> >> Several of you suggested "/etc/init.d/xdm start" or so to get it
> >> (re)started. It doesn't work. Instead the start-stop daemon
> >> complains of not being able to stat "/usr/bin/xdm" which doesn't
> >> exist. And no I didn't mispell it. I've never seen this before an
> >> I'm baffled.
> >
> > Hi,
> >
> > You haven't told us how you start X, which I think would make it
> > easier to determine how to stop it. Maybe you don't use XDM at all, in
> > which case the above suggestion wouldn't have any relevance to your
> > situation.
>
> I haven't told you because I don't know. I do know that I was using
> KDE when I still had X. But I set that up over 5 years ago and I've
> forgotten all the details. But there's no sign of *dm in /etc/init.d,
> other than xdm, which acts pretty normal outside of the fact that it
> fails. It goes through motions, says some things work by putting [OK]
> in the right margin, and all that.
>
> If you tell me how to find out, I'll answer any questions.
>
> ++ kevin
Look at your ps axf. If it is running via xdm you will see something like:
6403 ? Ss 0:00 /usr/bin/xdm
6417 tty7 Ss+ 28:54 \_ /usr/bin/X :0 -nolisten tcp -br
vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-07-06 23:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 19:33 [gentoo-user] How to stop X Kevin O'Gorman
2009-07-06 19:42 ` Dirk Heinrichs
2009-07-06 20:49 ` Alexander
2009-07-06 21:08 ` Alan McKinnon
2009-07-06 18:54 ` Jacob Todd
2009-07-06 23:23 ` Dale
2009-07-06 19:31 ` Jacob Todd
2009-07-06 23:38 ` Mick
2009-07-06 23:44 ` Dale
2009-07-06 22:58 ` Kevin O'Gorman
2009-07-06 21:17 ` Paul Hartman
2009-07-06 22:21 ` Kevin O'Gorman
2009-07-06 22:31 ` Paul Hartman
2009-07-06 22:41 ` Kevin O'Gorman
2009-07-06 23:30 ` Mick [this message]
2009-07-07 3:39 ` Kevin O'Gorman
2009-07-06 23:35 ` [gentoo-user] " walt
2009-07-06 23:35 ` [gentoo-user] " Stroller
2009-07-06 23:57 ` David Relson
2009-07-07 7:22 ` Dale
2009-07-07 11:26 ` David Relson
2009-07-07 14:20 ` Dale
2009-07-07 7:59 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200907070030.42675.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox