BSD³ handbook

Try GNOME 51 on FreeBSD.

Check the tested configuration, prepare a boot environment, and use the signed repository for your release.

Compatibility

Base and architecture
FreeBSD 15.2-STABLE, amd64
Desktop
GNOME Shell and Mutter 51.1, GDM 51.0
Hardware tested
Intel graphics on an amd64 laptop
Still open
Suspend and resume with a locked session, cameras, remote GDM login, and wider GPU coverage

The package ABI identifies the platform family. Use the tighter base and graphics compatibility notes on the release page when choosing a snapshot.

Prepare FreeBSD

Start from a working FreeBSD 15-STABLE amd64 console login. Verify your base and graphics support before changing the desktop. Run system configuration commands as root.

freebsd-version -kru
uname -m
uname -K

For a ZFS root, clone your working boot environment and boot the clone for the trial. Keep the original available in the boot menu. Keep a separate backup of your data.

bectl create bsd3-preview
bectl activate -t bsd3-preview
reboot

In the clone, install the DRM driver that matches your GPU and running kernel. On the tested Intel laptop the module is i915kms. Once its matching package is installed, add it to kld_list and put your login account in video. Replace YOUR_LOGIN with the account name.

sysrc kld_list+=i915kms
pw groupmod video -m YOUR_LOGIN

Add the following line to /etc/fstab if /proc has no entry. The trial reboot loads the graphics driver and mounts /proc.

proc    /proc    procfs    rw    0    0

FreeBSD graphics drivers · FreeBSD GNOME prerequisites

Configure pkg and install

  1. On the GNOME 51 preview release, copy the repository setup block. It fetches the preview’s public key, checks its SHA-256, and writes /usr/local/etc/pkg/keys/bsd3.pub and /usr/local/etc/pkg/repos/BSD3.conf. The configuration pins a signed snapshot.

  2. Keep the official FreeBSD ports repository enabled for dependencies and inspect its URL with pkg -vv. The preview was checked against latest. If yours points to quarterly, override the URL under the same repository name.

    Example for the FreeBSD-ports repository

    Save this in /usr/local/etc/pkg/repos/FreeBSD-ports.conf. Use your existing repository name if it differs.

    FreeBSD-ports: {
      url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
      enabled: yes
    }

    Update both repositories and run the install preview. If the clone already has stock GNOME or GDM, review the replacement plan before accepting it.

    pkg update
    pkg install -n bsd3-gnome51-desktop gdm
  3. Verify that the plan selects the BSD³ desktop metapackage and GNOME 51 GDM from BSD3. Install only after reviewing any upgrades, replacements or removals the solver shows.

    pkg install bsd3-gnome51-desktop gdm
    pkg info bsd3-gnome51-desktop gdm gnome-shell mutter

Enable the login services

In the trial boot environment, disable the startup of any other display manager. For example, if you used SDDM, run sysrc sddm_enable=NO. The three required settings in /etc/rc.conf are:

sysrc dbus_enable=YES bsddd_enable=YES gdm_enable=YES

dbus starts the system bus, bsddd supplies the session and seat integration, and gdm starts the Wayland greeter. ConsoleKit is a package dependency and is activated on the system bus. The BSD³ GDM package supplies its native service and PAM files.

/etc/rc.conf
Display manager, system services and GPU module
/etc/fstab
The procfs mount for /proc
/usr/local/etc/pkg/repos/BSD3.conf
Signed package snapshot and key path
/usr/local/etc/gdm/custom.conf
Optional GDM settings. Start with the package defaults and leave Wayland enabled.
/usr/local/etc/pam.d/
Package-provided GDM authentication policies

Reboot and sign in

Because the first activation is a one-boot trial, select bsd3-preview for the next boot again. Reboot and choose GNOME from the GDM session menu if prompted. Sign in with your normal FreeBSD account. The preview ships the packaged GNOME-style greeter.

bectl activate -t bsd3-preview
reboot

In a terminal inside GNOME, check that the session is Wayland. Then test locking and unlocking, switching to a text console and back, and logging out to GDM. After those checks, make the clone your default with bectl activate bsd3-preview.

printenv XDG_SESSION_TYPE
gnome-shell --version

Upgrade and rollback

Keep the current repository snapshot and working boot environment. Test an upgrade in a new clone with the target snapshot’s configuration. Review the package plan first, especially the desktop, graphics and browser dependencies.

To roll back, select your original boot environment in the loader menu or use bectl activate with its name and reboot. Back up important data separately. A boot environment can share home and other datasets with the trial.

Troubleshooting

  • Greeter unavailable. Use a text console to check the active boot environment, driver and service status. Inspect /var/log/messages for errors.
  • Repository fails to update. Check the snapshot URL, trusted key and ABI against the release page.
  • Reporting a problem. Include the base revision, GPU and driver, release snapshot and the relevant sanitized log excerpt.
bectl list
ls -l /dev/dri
service dbus status
service bsddd status
service gdm status
Open the issue tracker