Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 17:27:41 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: booting into X (was: Boot and MBR (Gnome))
Message-ID:  <20040227172741.GB51512@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <16447.29726.744736.366502@jerusalem.litteratus.org>
References:  <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland> <20040227120039.GC46716@happy-idiot-talk.infracaninophile.co.uk> <403F7020.6000609@daleco.biz> <16447.29726.744736.366502@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 27, 2004 at 11:45:18AM -0500, Robert Huff wrote:
>=20
> Kevin D. Kinsey, DaleCo, S.P. writes:
>=20
> >  I did this just last night; this seems to do it
> >  (and I was a bad boy, just hacked it w/o looking
> >  at the docs) ....
> > =20
> >  <kadmin@archangel> [/home/kadmin][10:26]
> >  #cat /etc/ttys | grep gdm
> >  ttyv0   "/usr/X11R6/bin/gdm"            cons25  on  secure
>=20
> 	It is my understanding that booting into X is not encouraged.
> However, if you (generic) must do it then the ttys method is the
> wrong way to go.  Instead, add the appropriate commands at the end
> of /etc/rc.local.

Errr... I don't know where you got that idea from.  There are
circumstances where you don't want to use an X display manager, and
there are circumstances when you do.  For a home or a desktop system,
having a graphical display manager provides a much nicer user
experience, IMHO.  It is true that gdm(1) has had a history of
security problems, but I believe the latest version has had all known
problems fixed and it is as secure as anything you might use in that
circumstance.

As for starting the display manager from the RC scripts: this is all
very well right after boot up, but it doesn't always mix too well with
people logging in and out all the time.  /etc/ttys is used to make
sure {x,g,k}dm is automatically restarted once the user has logged out
-- it's exactly analogous to the way that getty(8) is used to manage
logins to tty devices.  If you want to run a display manager in daemon
mode, that's your privilege, but running out of /etc/ttys is certainly
an option -- it's documented that way for xdm and kdm, whereas gdm
docs say neither yea nor nay on the subject.  People have reported
that the ttys method works with gdm -- so long as gdm doesn't
daemonize itself and retains control of the console then everything
should be OK.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAP34NdtESqEQa7a0RAgb+AJ9CXeWgA9HvPVpsgsQr2z2zDzKDygCfcf/N
P/KvkNhiMthrD0mfDEtp88k=
=3/8q
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



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