Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 21:58:51 -0800 (PST)
From:      dima@unixfreak.org (Dima Dorfman)
To:        culverk@wam.umd.edu (Kenneth Wayne Culver)
Cc:        dib.allan.l@edumail.vic.gov.au (Allan Dib), freebsd-questions@FreeBSD.ORG
Subject:   Re: Booting straight into X GUI
Message-ID:  <20001206055851.DCF913E0A@bazooka.unixfreak.org>
In-Reply-To: <Pine.GSO.4.21.0012052221410.1704-100000@rac5.wam.umd.edu> from "Kenneth Wayne Culver" at Dec 05, 2000 10:23:00 PM

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dima@unixfreak.org>
> > Finger dima@unixfreak.org for PGP public key.
> > 
> 
> 


-- 
Dima Dorfman <dima@unixfreak.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001206055851.DCF913E0A>