From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 04:00:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 707F316A4CE for ; Fri, 27 Feb 2004 04:00:46 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF4B43D1D for ; Fri, 27 Feb 2004 04:00:45 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i1RC0duV048658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Feb 2004 12:00:39 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i1RC0d7B048657; Fri, 27 Feb 2004 12:00:39 GMT (envelope-from matthew) Date: Fri, 27 Feb 2004 12:00:39 +0000 From: Matthew Seaman To: Mark Weisman Message-ID: <20040227120039.GC46716@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark Weisman , questions@freebsd.org References: <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline In-Reply-To: <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: Boot and MBR. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 12:00:46 -0000 --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--