Admin... by accident!

You may have chosen to be an admin. I didn't!

  • Home
  • FreeBSD
  • GNU/Linux
  • Security
  • Network
  • Virtualization
  • Politics
  • Github
  • Donate
  • Me

How to install Mate on FreeBSD 12/13

February 25, 2023 by Albert Valbuena

In this how to install Mate on FreeBSD I’m not going to repeat the same guides you can read elsewhere. If you desire to use FreeBSD as a daily driver desktop, I do encourage you to read and follow the guides from this other guy. The guide you are currently reading can be considered the first block on your journey to a full FreeBSD desktop computer.

Prerequisites:

A computing device with a screen with FreeBSD 12-13 version installed on it.

Some previous Linux/FreeBSD/UNIX knowledge on the CLI.

Step 1.- Install X11

We will install X11 first by issuing the following command.

sudo pkg install -y xorg

With X11 installed on this FreeBSD box we can move to installing the desktop itself.

Step 2.- Install the Mate Desktop on FreeBSD

In order to install Mate Desktop on FreeBSD we will issue this next command.

sudo pkg install -y mate drm-kmod slim

With the X11 server and driver and the desktop and login programs installed we can now move on to the next step.

Step 3.- Enabling services

These three below are necessary services to boot this Mate desktop box on FreeBSD and have a successful desktop experience.

sudo sysrc dbus_enable="YES"

sudo sysrc slim_enable="YES

sudo sysrc kld_list="i915kms"

Tip: You may not be using an Intel graphics device and may be using and AMD one or an NVIDIA dedicated graphics card. Use this guide for those and make the necessary adjustments:

https://wiki.freebsd.org/Graphics

Step 4.- Set the xinitrc file

To boot our system and be welcomed by a login prompt as with any other device equipped with a regular desktop experience create the ‘.xinitrc’ file in your user’s home directory.

sudo touch .xinitrc

Inside the file you will have to include the directive “exec mate-session”. To achieve that you can use this next command.

sudo echo "exec mate-session" >> .xinitrc

Conclusion

You may have struggled using other guides to install Mate on FreeBSD 12 or 13 version. The most probable reason is many lack the drm-kmod package. Getting a nice desktop on FreeBSD is not that difficult, and I hope this helps achieve that goal to anyone reading this. Adjust your desktop package to the one you like, as KDE, LXDE, Gnome, etc. Enjoy!

Filed Under: FreeBSD, How To's

Recent Posts

  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel
  • How to use Cloudflare’s Argo Tunnel service to publish a website on FreeBSD 12/13
  • How to setup MariaDB master-slave replication on FreeBSD
  • How to upload a FreeBSD custom image on DigitalOcean
  • How to install Drupal 9 on FreeBSD 13.0
  • How to manage site visitors based on IP Geolocation
  • How to enable Geolocation in AWStats on FreeBSD 13.0
  • How to install AWStats on FreeBSD 13.0
  • How to configure Modsecurity 3 for WordPress on FreeBSD
  • How to configure Apache HTTP with a TLS reverse proxy backend on FreeBSD
  • How to detect a WAF – Web Application Firewall
  • How to install Matomo 4 on FreeBSD
  • How to test SSL/TLS configurations
  • How to configure Apache HTTP as a reverse proxy on FreeBSD
  • How to install Nextcloud on FreeBSD 12
  • How to install ModSecurity 3 on FreeBSD
  • How to replace a disk on a ZFS mirror pool
  • How to install Webmin on FreeBSD 12

Archives

  • February 2023
  • January 2023
  • December 2022
  • April 2022
  • March 2022
  • October 2021
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • November 2017
  • April 2017

RSS Admin… by accident!

  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel
  • How to use Cloudflare’s Argo Tunnel service to publish a website on FreeBSD 12/13
  • How to setup MariaDB master-slave replication on FreeBSD
  • How to upload a FreeBSD custom image on DigitalOcean
  • How to install Drupal 9 on FreeBSD 13.0
  • How to manage site visitors based on IP Geolocation
  • How to enable Geolocation in AWStats on FreeBSD 13.0
  • How to install AWStats on FreeBSD 13.0

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in