Date: Fri, 27 Feb 2004 12:00:39 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Mark Weisman <mark@mystic1.net> Cc: questions@freebsd.org Subject: Re: Boot and MBR. Message-ID: <20040227120039.GC46716@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland> References: <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland>
next in thread | previous in thread | raw e-mail | index | archive | help
--CblX+4bnyfN0pR09 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Other people have described how you can arrange for startx to be run automatically whenever anyone logs into your system console -- however I'm guessing that isn't exactly what you mean. If you want to set up a system with a graphical login screen, check out xdm(1) --- you can enable that by editing the file /etc/ttys and changing the line: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure to: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure xdm(8) is the 'X Display Manager' -- the default look is not amazingly pretty, but you can customise it a bit to make it look nicer: investigate the files in /usr/X11R6/lib/X11/xdm. Note that is you use xdm(8), when you log in the ${HOME}/.xsession script will be run to populate your desktop and start up a window manager, rather than the ${HOME}/.xinitrc script that's run by startx. The two scripts have very similar effects, and you can probably get away with copying one to the other initially. 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 --=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 --CblX+4bnyfN0pR09 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAPzFndtESqEQa7a0RAmGSAJ9CYsuPoWSSdrxll7PXJ/537GTsBACeLJdW iJu61WVHdJgdij5nak59BNo= =lLBC -----END PGP SIGNATURE----- --CblX+4bnyfN0pR09--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227120039.GC46716>