Re: Boot and MBR (Gnome)

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Matthew Seaman wrote:

On Thu, Feb 26, 2004 at 01:11:28PM -0900, Mark Weisman wrote:

 

The second question I have, is can I put the command startx into my
rc.conf file to have it boot directly into the x-server? Any help on
these two would be awesome. Thanks.
   



 

snip

If you're a Gnome user, there's a workalike program gdm(8) you might
want to use instead, and I believe the KDE stuff comes with (surprise,
surprise) kdm(8).  Their documentation should tell you exactly what
you need to put into /etc/ttys in order to substitute them for xdm(8).
	Cheers,

	Matthew

 

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) 
[EMAIL PROTECTED] [/home/kadmin][10:26]
#cat /etc/ttys | grep gdm
ttyv0   /usr/X11R6/bin/gdmcons25  on  secure
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


booting into X (was: Boot and MBR (Gnome))

2004-02-27 Thread Robert Huff

Kevin D. Kinsey, DaleCo, S.P. writes:

  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) 
  
  [EMAIL PROTECTED] [/home/kadmin][10:26]
  #cat /etc/ttys | grep gdm
  ttyv0   /usr/X11R6/bin/gdmcons25  on  secure

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.


Robert Huff



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: booting into X (was: Boot and MBR (Gnome))

2004-02-27 Thread Matthew Seaman
On Fri, Feb 27, 2004 at 11:45:18AM -0500, Robert Huff wrote:
 
 Kevin D. Kinsey, DaleCo, S.P. writes:
 
   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) 
   
   [EMAIL PROTECTED] [/home/kadmin][10:26]
   #cat /etc/ttys | grep gdm
   ttyv0   /usr/X11R6/bin/gdmcons25  on  secure
 
   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

-- 
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


pgp0.pgp
Description: PGP signature