From owner-freebsd-questions@FreeBSD.ORG Sat Feb 2 23:22:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CCC316A46B for ; Sat, 2 Feb 2008 23:22:29 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.freebsd.org (Postfix) with ESMTP id ECDB513C461 for ; Sat, 2 Feb 2008 23:22:28 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.2/8.14.2) with ESMTP id m12NMROc095564 for ; Sat, 2 Feb 2008 18:22:27 -0500 (EST) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.2/8.14.2/Submit) with ESMTP id m12NMRQk095561 for ; Sat, 2 Feb 2008 18:22:27 -0500 (EST) (envelope-from doug@fledge.watson.org) Date: Sat, 2 Feb 2008 18:22:27 -0500 (EST) From: doug To: freebsd-questions@freebsd.org In-Reply-To: <200802021458.21665.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080202175613.Q92107@fledge.watson.org> References: <9e8c58490802010522g6d6f819dk1585f348707f2004@mail.gmail.com> <20080201125045.N92107@fledge.watson.org> <9e8c58490802011514l5fee10fdo2334330c14df054d@mail.gmail.com> <200802021458.21665.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (fledge.watson.org [127.0.0.1]); Sat, 02 Feb 2008 18:22:28 -0500 (EST) Subject: Re: Preventing KDE from restarting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 23:22:29 -0000 On Sat, 2 Feb 2008, Mel wrote: > On Saturday 02 February 2008 00:14:10 Oren Almog wrote: >> I do have that line but it is disabled (off). >> >> Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that >> can immediately restart a session but they are all either commented out or >> not set. > > killall kdm-bin. > And next time, start kdm from command line as kdm -nodaemon if you plan on > disabling it at a future time. > -- > Mel This of course does nothing for the next boot. I assume you are running one of the desktop distributions. Otherwise you have to make a change to start an X server. We installed PCBSD just to see how they did things. The version we installed starts kdm from /etc/ttys. The other way would be to start it from /usr/local/etc/rc.d/. Try: egrep -lr "[xk]dm" . with pwd = /etc/ and /usr/local/etc/rc.d/