How to install GNOME in FreeBSD and start GNOME
To install the GNOME package from the network, simply type:
# pkg_add -r gnome2
To build GNOME from source, use the ports tree:
# cd /usr/ports/x11/gnome2 # make install clean
Once GNOME is installed, the X server must be told to start GNOME instead of a default window manager.
Enabled by adding gdm_enable="YES" to /etc/rc.conf.
Once rebooted, GNOME will start automatically.
GNOME may also be started from the command-line by properly configuring a file named .xinitrc.
#% echo "/usr/local/bin/gnome-session" > ~/.xinitrc
And then start GNOME using the command below.