Install GNOME Desktop Environment in FreeBSD 10.2
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
Now, install Gnome package using command.
pkg install gnome3
This will take a while depending upon the speed of your Internet connection. Grab a cup of coffee and sit back.
/proc file system to be mounted automatically during system startup.
To do so, edit file
For editing files, I prefer nano editor than vi editor. Nano editor is much friendly to me.
pkg install nano
Add the following line:
proc /proc procfs rw 0 0
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,
Add the following lines:
hald_enable="Yes" dbus_enable="Yes" gdm_enable="YES" gnome_enable="YES"
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.
That’s it. Start using using the GUI in FreeBSD.
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.
If you find this tutorial, please share it on your social networks and support OSTechNix.
Thanks for reading! Have a good day!!