How To Install Mate Desktop In FreeBSD 10.1

Install Mate desktop in FreeBSD 10.1

FreeBSD is fully text mode system, however some times new users might want to use GUI desktop environment. This tutorial will help you to install Mate Desktop in Freebsd 10.1.

Here is my test system details:

root@Freebsd-unixmen:~ # uname -a
FreeBSD Freebsd-unixmen 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

To start installing Mate desktop in FreeBSD 10.1, the following steps can be used.

pkg install xf86-video-fbdev mate-desktop mate xorg

Add the following lines to /etc/rc.conf


Test the installation.

xinit mate-session


Mate doesn’t have a display manager of its own. Hence we can use any other display managers like XDM, GDM, slim etc to use the login manager. Here let’s see how to configure Slim DM with Mate desktop.

Install Slim

pkg install slim

Add the following line to /etc/rc.conf:


Add the following line to .xinitrc file in the user’s home directory

exec mate-session

Reboot the machine. Now the machine will boot into Slim login where you can login to Mate session.



That’s it. Cheers!