Home FAQ Install GNOME Desktop Environment in FreeBSD 10.2

Install GNOME Desktop Environment in FreeBSD 10.2

By sk
Published: Updated: 1.6K views

In our previous tutorials, we have shown you how to install FreeBSD 10.2, and then how to install Graphical desktop environment like KDE.

Today, we'll see how to install GNOME desktop environment in FreeBSD.

Log in to your FreeBSD system.

First install Xorg server. Xorg is the X Window server that allows users to use GUI environment.

To install Xorg, run the following commands as root user:

pkg install xorg

install Xorg on FreeBSD

install Xorg

Now, install Gnome package using command.

pkg install gnome3

Install GNOME Desktop Environment in FreeBSD

This will take a while depending upon the speed of your Internet connection.

GNOME requires /proc file system to be mounted automatically during system startup.

To do so, edit file /etc/fstab:

For editing files, I prefer nano editor than vi editor. Nano editor is much friendly to me.

pkg install nano
nano /etc/fstab

Add the following line:

proc           /proc       procfs  rw  0   0

edit file /etc/fstab

Save and close the file.

Gnome uses D-Bus and HAL for a message bus and hardware abstraction. These applications are automatically installed as dependencies of Gnome.

We need to Enable them in /etc/rc.conf so they will be started when the system boots. Also, we need to enable the GNOME Display Manager, gdm, which is installed as part of the GNOME package.

To do so, edit file /etc/rc.conf file,

nano /etc/rc.conf

Add the following lines:


Enable D-Bus and HAL on FreeBSD

Save and close the file. Reboot your system.


Be mindful that root user is not allowed to log in to GUI mode, so you must need a normal system user. We already showed you how to create a normal user while installing FreeBSD.

Log in to your FreeBSD Gnome desktop with your user name and password.

FreeBSD Gnome desktop

FreeBSD Gnome desktop enironment

That's it. Start using using the GUI in FreeBSD.


FreeBSD 10.2 with GNOME

FreeBSD 10.2 Gnome

Want to try MATE desktop on FreeBSD 10.2? check the following link.

We'll be posting more articles about FreeBSD in the days to come. Stay tuned and subscribe to our newsletter to get our articles right in to your mailbox.


Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like


pethead February 13, 2016 - 11:32 am

Will there be a review of Gentoo?

sk February 13, 2016 - 1:41 pm

I will add this to my to do list. Will do it in the days to come.


Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More