From owner-freebsd-questions Tue Dec 5 19:23:51 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 19:23:48 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 0F3B937B400 for ; Tue, 5 Dec 2000 19:23:40 -0800 (PST) Received: from rac5.wam.umd.edu (IDENT:root@rac5.wam.umd.edu [128.8.10.145]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id WAA26762; Tue, 5 Dec 2000 22:23:01 -0500 (EST) Received: from rac5.wam.umd.edu (IDENT:sendmail@localhost [127.0.0.1]) by rac5.wam.umd.edu (8.9.3/8.9.3) with SMTP id WAA02306; Tue, 5 Dec 2000 22:23:00 -0500 (EST) Received: from localhost (culverk@localhost) by rac5.wam.umd.edu (8.9.3/8.9.3) with ESMTP id WAA02302; Tue, 5 Dec 2000 22:23:00 -0500 (EST) X-Authentication-Warning: rac5.wam.umd.edu: culverk owned process doing -bs Date: Tue, 5 Dec 2000 22:23:00 -0500 (EST) From: Kenneth Wayne Culver To: Dima Dorfman Cc: Allan Dib , freebsd-questions@FreeBSD.ORG Subject: Re: Booting straight into X GUI In-Reply-To: <20001206020322.A5AE33E09@bazooka.unixfreak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't like to do it that way for various reasons... mainly because as far as I know, if you want to kill that process it's not as simple.. (I know it's not much harder your way, but thats the main reason I don't do it your way. ================================================================= | Kenneth Culver | FreeBSD: The best NT upgrade | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: muythaibxr | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= On Tue, 5 Dec 2000, Dima Dorfman wrote: > 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