From owner-freebsd-questions Tue Dec 5 18: 3:27 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 18:03:25 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id D2A7937B401 for ; Tue, 5 Dec 2000 18:03:24 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id A5AE33E09; Tue, 5 Dec 2000 18:03:22 -0800 (PST) Subject: Re: Booting straight into X GUI To: culverk@wam.umd.edu (Kenneth Wayne Culver) Date: Tue, 5 Dec 2000 18:03:22 -0800 (PST) Cc: dib.allan.l@edumail.vic.gov.au (Allan Dib), freebsd-questions@FreeBSD.ORG In-Reply-To: from "Kenneth Wayne Culver" at Dec 05, 2000 04:32:03 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20001206020322.A5AE33E09@bazooka.unixfreak.org> From: dima@unixfreak.org (Dima Dorfman) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kenneth Wayne Culver wrote: > > In linux it was done by modifying runlevels because everything underneath > that was set up for you. In FreeBSD you first have to choose which display > manager to use (xdm, wdm, kdm, gdm etc.....) then at least for wdm, go and > edit a bunch of files in /usr/X11R6/lib/X11/wdm (not a topic for this list > really, and I think there is help for it in the handbook), and then go to > /usr/local/etc/rc.d and add a script to start the display manager you > chose. I have this all set up and working with wdm on my personal computer > if you want to see the configs. Let me know. Although this is perfectly acceptable, for the sake of the archives, I believe the Right Way(tm) is to start (x|w|k|g)dm from /etc/ttys. Take a look: dima@hornet% grep xterm /etc/ttys ttyvf "/usr/X11R6/bin/xdm -nodaemon" xterm on By default, the first argument is ttyv8 instead of vf, and 'on' is 'off'. If you change the off to on, xdm will be started by init on ttyv8 when it starts up. You can, of course, change xdm to whatever you want as long it supports the 'nodaemon' option. Regards -- Dima Dorfman Finger dima@unixfreak.org for PGP public key. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message