From owner-freebsd-questions Tue Dec 5 21:58:56 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 21:58:53 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 6DE8B37B400 for ; Tue, 5 Dec 2000 21:58:53 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id DCF913E0A; Tue, 5 Dec 2000 21:58:51 -0800 (PST) Subject: Re: Booting straight into X GUI To: culverk@wam.umd.edu (Kenneth Wayne Culver) Date: Tue, 5 Dec 2000 21:58:51 -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 10:23:00 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: <20001206055851.DCF913E0A@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: > > 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. I agree. If you have a habit of modifying your X configuration every other day--which is by no means a bad thing!--it's much more convenient to have xdm run as a daemon. If you're fine with setting it up once, it's nice to have init take care of its presence. It's a matter of personal preference. I was just offering an alternative. Dima > > > ================================================================= > | 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. > > > > -- 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