From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 22:44:30 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 C9A0816A41F for ; Tue, 20 Sep 2005 22:44:30 +0000 (GMT) (envelope-from leblanc@keyslapper.net) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C73B43D45 for ; Tue, 20 Sep 2005 22:44:30 +0000 (GMT) (envelope-from leblanc@keyslapper.net) Received: from russian-caravan.cloud9.net (localhost [127.0.0.1]) by russian-caravan.cloud9.net (Postfix) with SMTP id 8AE80168D5 for ; Tue, 20 Sep 2005 18:44:29 -0400 (EDT) Received: from keyslapper.net (250-119.customer.cloud9.net [168.100.250.119]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 2055E168BC for ; Tue, 20 Sep 2005 18:44:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by keyslapper.net (Postfix) with ESMTP id D59F4114D8 for ; Tue, 20 Sep 2005 18:42:35 -0400 (EDT) Received: from keyslapper.net ([127.0.0.1]) by localhost (keyslapper.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 78367-10 for ; Tue, 20 Sep 2005 18:42:35 -0400 (EDT) Received: by keyslapper.net (Postfix, from userid 1001) id 9A7C111412; Tue, 20 Sep 2005 18:42:35 -0400 (EDT) Date: Tue, 20 Sep 2005 18:42:35 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20050920224235.GB92874@keyslapper.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20050920001431.GA6395@teddy.fas.com> <432F720D.40003@computer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <432F720D.40003@computer.org> X-PGP-Key: http://www.keyslapper.net/~leblanc/leblanc-at-keyslapper-net.asc User-Agent: Mutt/1.5.10i X-Virus-Scanned: amavisd-new at keyslapper.net X-AntiVirus: Checked by Vexira Antivirus v1.5 Subject: Re: Starting kdm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 22:44:31 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09/19/05 09:21 PM, Eric Schuele sat at the `puter and typed: > 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 > >=20 > > Do I put it in /etc/tys? If so what's teh proper invocation? > >=20 >=20 > Handbook reads (I assume it applies to 4.11 as well): >=20 > 5.7.3.1 The KDE Display Manager > ... > > ... > Now, make sure kdm is listed in /etc/ttys to be started at the next=20 > bootup. To do this, simply follow the instructions from the previous=20 > section on XDM and replace references to the /usr/X11R6/bin/xdm program= =20 > with /usr/local/bin/kdm. >=20 > "Previous Section" reads: > 5.6.2 Using XDM >=20 > The XDM daemon program is located in /usr/X11R6/bin/xdm. This program=20 > can be run at any time as root and it will start managing the X display= =20 > on the local machine. If XDM is to be run every time the machine boots=20 > up, a convenient way to do this is by adding an entry to /etc/ttys. For= =20 > more information about the format and usage of this file, see Section=20 > 21.3.2.1. There is a line in the default /etc/ttys file for running the= =20 > XDM daemon on a virtual terminal: >=20 > ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure >=20 > By default this entry is disabled; in order to enable it change field 5= =20 > from off to on and restart init(8) using the directions in Section=20 > 21.3.2.2. The first field, the name of the terminal this program will=20 > manage, is ttyv8. This means that XDM will start running on the 9th=20 > virtual terminal. Does anyone know if adding=20 ttyv9 "/usr/local/bin/kdm -nodaemon" xterm off secure but leaving ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure intact would cause any conflict? This would be a lot for most systems, I'm sure, and probably not realistic for a typical system, but I'm curious whether the display managers would conflict. TIA Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Mitchell's Law of Committees: Any simple problem can be made insoluble if enough meetings are held to discuss it. --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDMJBbr4Wi/oDI2aIRAs6fAJ4mEt1o+g824606hY32Hqcj9HnMbwCfQSu1 J1pHkcSdB2xf+VuUh+XE8/g= =aKHu -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--