From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 18:43:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A189E16A492 for ; Wed, 3 Jan 2007 18:43:23 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp2.utdallas.edu (smtp2.utdallas.edu [129.110.10.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8417013C455 for ; Wed, 3 Jan 2007 18:43:23 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp2.utdallas.edu (Postfix) with ESMTP id 0C95B5C365 for ; Wed, 3 Jan 2007 12:43:23 -0600 (CST) Date: Wed, 03 Jan 2007 12:39:37 -0600 From: Paul Schmehl To: freebsd-questions Message-ID: <8C5AC29FBACD864DDDCA85CB@utd59514.utdallas.edu> In-Reply-To: <20070103161716.GA19963@lothlorien.nagual.nl> References: <459B4322.5030501@bobmc.net> <20070103161716.GA19963@lothlorien.nagual.nl> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: starting KDE after install .. -not- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 18:43:23 -0000 --On Wednesday, January 03, 2007 17:17:17 +0100 dick hoogendijk wrote: > On 03 Jan Paul Schmehl wrote: >> Try this. Edit /etc/ttys thus: >> ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure > > According to the kdm manual you should *not* use the "-nodaemon" > Why do you? Where does it say that? According to the online docs () 'For FreeBSD, edit /etc/ttys and find the line like this: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure and edit it to this: ttyv8 "/usr/local/bin/kdm" xterm on secure' But that's not the same as saying "don't use -nodaemon". According to the FreeBSD Handbook () 'To enable kdm, the ttyv8 entry in /etc/ttys has to be adapted. The line should look as follows: ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure' If you detach the parent process, what happens when the child process dies? Will the parent respawn another child without initd running? In any case, I did what the Handbook stated, because I trust that the FreeBSD developers know what they're doing, and that's what they told the guys that write the docs to use for kdm. Someone with more knowledge than I have would have to explain the technical aspects of that choice. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/