Installing Mate desktop on FreeBSD 11

Mate desktop is a fork of Gnome 2, which is not being maintained by developers now. In this  article let us see how to install Mate Desktop environment on FreeBSD 11. FreeBSD 11 is the upcoming release of FreeBSD that is due for stable version to be released  in 27 July 2016.

FreeBSD 11 can be downloaded from this link. Install FreeBSD according to your requirements, and once the installation is complete, use the following steps to install Mate desktop evironment.

For more details and documentation of Mate desktop you can have a look here.

Warning!!! Stable version of FreeBSD 11 won’t be available until 27 July 2016. Hence, do not use it for production.

Install the packages required.

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

Add the following lines to /etc/rc.conf to enable mouse daemon, dbus daemon and hal daemon.

moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"

Create a new user for testing the setup

adduser test

Test the installation by running the following command. The command brings up the Mate session.

xinit mate-session

The login screen requires a display manager to work. Mate desktop environment 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 lets see how to configure Slim display manager with Mate desktop.

Install Slim

pkg install slim

Add the following line to /etc/rc.conf

slim_enable="YES"

Add the following line to .xinitrc file in the user’s home directory. If the file was available earlier, create a new file.

exec mate-session

Change the ownership of the above file.

chown test:test /home/test/.xinitrc

Reboot the machine. Now the machine will boot into Slim login where you can login to Mate session. You will get a screen similar to the image below.

Slim-login-manager

Once you login, this is how your screen will look like:

Mate-desktop

About vPierre

Virtualisierung, Cloud Computing, Orchestrierung und Automation
This entry was posted in Aktualisierung. Bookmark the permalink.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *