Step-By-Step instructions on how to install gnome GUI on FreeBSD.

1. Login to your computer as root

2. Type Vi /boot/loader.conf  and add these 3 lines

linux_load=”YES”

linprocfs_load=”YES”

atapicam_load=”YES”

3. Next make sure that the linux proc folder exists by typing the command

mkdir -p /compat/linux/proc

4. Now Type Vi /etc/fstab Add the following lines if they do not exist already

proc /proc procfs rw 0 0

linproc /compat/linux/proc linprocfs rw 0 0

5. Now we need to Vi /etc/rc.conf and add the following line

linux_enable=”YES”

6. Now time to install gnome.  Make sure you’re connected to the internet and type

pkg_add -r xorg gnome2

This will install xorg if not install already and gnome.  It will fetch all dependencies it needs so it may take a while.  You will be returned to a prompt when it’s finished.

7. We need the PC hostname so type the command

hostname

8. Now Vi /etc/hosts and add your pc hostname after 127.0.0.1

9. Restart your computer by typing the command

reboot

10. Last thing Vi /etc/rc.conf and add these lines

gnome_enable=”YES”

hald_enable=”YES”

gdm_enable=”YES”

dbus_enable=”YES”

After your done reboot your computer and if done right you will be presented with the gnome login