On Monday 06 July 2009, Kevin O'Gorman wrote:
> On Mon, Jul 6, 2009 at 3:31 PM, Paul
>
> Hartman<paul.hartman+gen...@gmail.com> wrote:
> > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogor...@gmail.com> wrote:
> >> On Mon, Jul 6, 2009 at 2:17 PM, Paul
> >>
> >> Hartman<paul.hartman+gen...@gmail.com> wrote:
> >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogor...@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: signature.asc
Description: This is a digitally signed message part.

Reply via email to