# cd /usr/ports/x11/xorgadd this to rc.conf for keyboard and mouse auto-detection:
# make install clean
# nano /etc/rc.conf
hald_enable="YES"Nice thing with installing things in FreeBSD. For example, using a package manager in Red Hat and Debian based distributions doesn’t allow you to install multiple packages from different consoles, that’s mainly because it has to track every changes to the internal database of packages installed, so if you’re installing a package in a console windows, and you try to install another package in another console window, you’ll get an error telling you the package database is locked. Well, in my newly installed FreeBSD I’m installing X.org in a console window, and nano editor in another one. Pretty cool shit!!
To test if X is starting, you run “startx” in CLI, and you should see some green window crap.
Installing Gnome is way too easy:
# pkg_add –r gnome2Additionally, if you want gnome to be started automatically, you add this to /etc/rc.conf:
# gdm_enable=”YES”Upgrading installed ports. You can easily do that by using one of the commands:
# portmanager –uCleaning disk space after using ports can be done like this:
# portmaster –a
# portupgrade –a
# portsclean –C # to clean up ports collection
# portsclean –DD # to clean up dist files