From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-97710-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MNxhO-0003Km-4H
	for garchives@archives.gentoo.org; Mon, 06 Jul 2009 23:34:17 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 63F60E06A3;
	Mon,  6 Jul 2009 23:34:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 26021E06A3
	for <gentoo-user@lists.gentoo.org>; Mon,  6 Jul 2009 23:34:10 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id C183364786
	for <gentoo-user@lists.gentoo.org>; Mon,  6 Jul 2009 23:34:09 +0000 (UTC)
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Score: -4.102
X-Spam-Level: 
X-Spam-Status: No, score=-4.102 required=5.5 tests=[AWL=-0.503,
	BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id o+iucSL6hL9U for <gentoo-user@lists.gentoo.org>;
	Mon,  6 Jul 2009 23:34:03 +0000 (UTC)
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id 7567764B41
	for <gentoo-user@gentoo.org>; Mon,  6 Jul 2009 23:34:01 +0000 (UTC)
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1MNxh2-0002bb-BZ
	for gentoo-user@gentoo.org; Mon, 06 Jul 2009 23:33:52 +0000
Received: from adsl-69-234-213-73.dsl.irvnca.pacbell.net ([69.234.213.73])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Mon, 06 Jul 2009 23:33:52 +0000
Received: from w41ter by adsl-69-234-213-73.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Mon, 06 Jul 2009 23:33:52 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From:  walt <w41ter@gmail.com>
Subject: [gentoo-user]  Re: How to stop X
Date:  Mon, 06 Jul 2009 16:35:04 -0700
Message-ID: <h2u1kl$1qq$1@ger.gmane.org>
References:  <9acccfe50907061233g2b1886e8l9f20606c43f0dce5@mail.gmail.com>	 <58965d8a0907061417x3b59b2afs88cbd472e87e2cb8@mail.gmail.com>	 <9acccfe50907061521o298a6fa6sefbd0e460578fe29@mail.gmail.com>	 <58965d8a0907061531n198a70f2l638a73b9ea95ff89@mail.gmail.com> <9acccfe50907061541v6f7fa827s1a2b70f5f40f1c8@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: adsl-69-234-213-73.dsl.irvnca.pacbell.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1pre) Gecko/20090706 Shredder/3.0b3pre
In-Reply-To: <9acccfe50907061541v6f7fa827s1a2b70f5f40f1c8@mail.gmail.com>
Sender: news <news@ger.gmane.org>
X-Archives-Salt: d5ce8af1-18fc-45e6-b7ec-59e11c230250
X-Archives-Hash: 85a31aaed8fda24bd06934601abba1e9

On 07/06/2009 03:41 PM, 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,..

There are the 'big three' display managers, xdm, gdm(gnome), and kdm(kde)
which all do the same job, i.e. asking for your user name and password.

All three of them are X applications and therefore they start the X
server before they can appear on your screen.

Before your troubles started, what did you see when your machine boots
up.  Does it ask your username on an ordinary black-and-white console,
like a teletype, or on a fancy graphics screen with sexy eye-candy so
as to seduce unsuspecting MacBook users?