From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 02:21:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D1D916A41F for ; Tue, 20 Sep 2005 02:21:19 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [63.240.76.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C54743D49 for ; Tue, 20 Sep 2005 02:21:18 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.218] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc11) with ESMTP id <2005092002210201100pcqdje>; Tue, 20 Sep 2005 02:21:03 +0000 Message-ID: <432F720D.40003@computer.org> Date: Mon, 19 Sep 2005 21:21:01 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050908) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stan References: <20050920001431.GA6395@teddy.fas.com> In-Reply-To: <20050920001431.GA6395@teddy.fas.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: Starting kdm 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: Tue, 20 Sep 2005 02:21:19 -0000 stan wrote: > I'm trying to figure out the current way (on a 4.11 STABLE machine) > of having kdm startup on boot. Surpisingly neither the handbook, > nor a Google search really led me anywhere on this, and I don't > see a script for this in /usr/local/etc/rc.d > > Do I put it in /etc/tys? If so what's teh proper invocation? > Handbook reads (I assume it applies to 4.11 as well): 5.7.3.1 The KDE Display Manager ... ... Now, make sure kdm is listed in /etc/ttys to be started at the next bootup. To do this, simply follow the instructions from the previous section on XDM and replace references to the /usr/X11R6/bin/xdm program with /usr/local/bin/kdm. "Previous Section" reads: 5.6.2 Using XDM The XDM daemon program is located in /usr/X11R6/bin/xdm. This program can be run at any time as root and it will start managing the X display on the local machine. If XDM is to be run every time the machine boots up, a convenient way to do this is by adding an entry to /etc/ttys. For more information about the format and usage of this file, see Section 21.3.2.1. There is a line in the default /etc/ttys file for running the XDM daemon on a virtual terminal: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure By default this entry is disabled; in order to enable it change field 5 from off to on and restart init(8) using the directions in Section 21.3.2.2. The first field, the name of the terminal this program will manage, is ttyv8. This means that XDM will start running on the 9th virtual terminal. HTH -- Regards, Eric