Date: Tue, 07 Feb 2006 20:22:51 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: aguridan razvan <razvan_aguridan@yahoo.com> Cc: questions@freebsd.org Subject: Re: help Message-ID: <43E9019B.5020304@infracaninophile.co.uk> In-Reply-To: <20060207195627.58618.qmail@web35502.mail.mud.yahoo.com> References: <20060207195627.58618.qmail@web35502.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7677E44D021350494E6F7C05 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable aguridan razvan wrote: > i'm switching to freeBSD from debian and i don't know how to switch > the runlevel of the system. i want to start my system in a user > graphical environment but i don't know how. can you please help me? > thank you. Run levels are a SysV concept, and FreeBSD is (unsurprisingly) BSDish in behaviour. ie. There aren't any runlevels in FreeBSD. You can boot the= system single user, or you can boot it all the way to full multiuser status. Nothing in between. The deeper question you are asking is "how do I automatically start up a graphical X environment at boot time?" Simple. First install X if it isn't already there. Configure X correctly for your graphics card and monitor: there are several methods you can use, but on the whole, just running: X -configure will do the trick. Copy the xorg.conf file it generates to the /etc/X11 directory. Check that X will do a correct manual startup by running the 'startx' command. Now, to make an X environment start whenever your machine boots up, edit the /etc/ttys file, and change the line for ttyv8 to: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure (ie. change 'off' to 'on'). Restart inetd by: kill -HUP 1 and you should see the xdm(1) login screen. If you want something with a little more eye-candy, there are alternative display managers from either the KDE or the Gnome projects that you could substitute for xdm(1). In any case, all of this is discussed in much greater detail in chapter 5 of the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig7677E44D021350494E6F7C05 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6QGi8Mjk52CukIwRA+7SAJ4iEF7pXP+1aDY76X+e5NNN5R1M4QCfTEUu GX2AiiIM0K8jULdaGnlsbOc= =YNdL -----END PGP SIGNATURE----- --------------enig7677E44D021350494E6F7C05--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E9019B.5020304>