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.
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
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:
hald_enable="Yes" dbus_enable="Yes" gdm_enable="YES" gnome_enable="YES"
Save and close the file. Reboot your system.
reboot
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.
Resource:
Thanks for stopping by!
Help us to help you:
- Subscribe to our Email Newsletter : Sign Up Now
- Support OSTechNix : Donate Via PayPal
- Download free E-Books and Videos : OSTechNix on TradePub
- Connect with us: Reddit | Facebook | Twitter | LinkedIn | RSS feeds
Have a Good day!!
2 comments
Will there be a review of Gentoo?
I will add this to my to do list. Will do it in the days to come.