Category Archives: Window managers

GSoC 2026 reports

The NetBSD Foundation participated in Google Summer of Code 2026. Five projects were announced, and now three of those have presented their reports:

  1. Testing Compat Linux: Syscall testing – Henrique Brito:
    Google Summer of Code 2026 Reports: Testing Compat Linux: Syscall testing
    Google Summer of Code 2026 Reports: Testing Compat Linux: Syscall testing, part 2
  2. Port the Enlightenment desktop environment to NetBSD – Dimitris Gounaridis:
    Google Summer of Code 2026 Reports: Port the Enlightenment desktop environment to NetBSD
    Google Summer of Code 2026 Reports: Port the Enlightenment desktop environment to NetBSD, part 2
  3. Improving RAIDframe – Emmanuel Nyarko:
    Google Summer of Code 2026 Reports: Improving RAIDframe
  4. Improving and Stabilizing the racoon2 IKE:
    Google Summer of Code 2026 Reports: Improving and Stabilizing the racoon2 IKE Daemon in NetBSD

A Few Recent NetBSD Issues and How I Solved Them

Firefox issue

I recently had to reinstall my main PC’s NetBSD system after an unexpected NVMe SSD failure. I didn’t have a full backup of the system, just some configuration and home folder files that made it easier to restore the system, so it was essentially a fresh install of the recent NetBSD 11 release.

I’m using Xfce as my main desktop environment and Firefox as my primary browser. My current graphics card, a Radeon 5700 XT, doesn’t support graphics acceleration reliably. More precisely, it is buggy and causes frequent system crashes, so I started X.org with acceleration disabled.

Interestingly, this caused Firefox to crash and, after the second attempt, drop me into rescue mode. Since it was a pretty fresh installation, I didn’t think it was a plugin issue. Initially, I kept using rescue mode, but since it disables all plugins, that quickly became unfeasible.

After some fiddling around, I found that both the “Use recommended performance settings” and “Use hardware acceleration when available” options had to be disabled. I don’t remember this happening in the past. Typically, these options wouldn’t cause Firefox to crash, but would instead just make it slower. It is likely that newer versions of Firefox behave differently when hardware acceleration is unavailable or disabled.

Disabling the aforementioned options made the browser work normally again. An additional improvement in stability was achieved by rebuilding the packages from the current pkgsrc tree.

wmux issue

As soon as I switched to the NetBSD 11 branch, I started experiencing a very annoying issue with mouse handling. The symptoms would start appearing after a few applications, or a few windows of the same application, had been opened. Switching windows, for example with Alt+Tab, would not actually switch the focus to the new window. The previous application would continue to react as if it still had focus. Additionally, application menus would stop working, even when using keyboard shortcuts.

Using the desktop environment in this state was quite complicated. I suffered from this issue for quite a long time, which forced me either to avoid rebooting for as long as possible when the mouse was working correctly, or to rely mainly on keyboard shortcuts.

Fortunately, I noticed at one point that the mouse would suddenly start working correctly after I removed my wireless gamepad receiver. It turned out that the receiver was attached as a second wsmouse(4) device to wsmux(4), causing the symptoms described above.

The solution I decided to use was to remove wsmouse0 (which was the receiver) from wsmux using the following cron line:

@reboot /usr/sbin/wsmuxctl -f 0 -r wsmouse0

There is a risk that wsmouse0 could be the actual mouse if the receiver is disconnected, or if the device enumeration changes for some other reason. However, this worked quite reliably for me and made my system usable again.

ssh gnome-daemon-keyring

Another small issue I always face is getting gnome-keyring-daemon to start its SSH agent service so that xfce4-terminal asks for the SSH passphrase only once, using a graphical prompt, and then works across all terminal windows during the session.

This can be solved quite easily by enabling the “SSH Key Agent (GNOME Keyring: SSH Agent)” checkbox in the Xfce4 “Session and Startup” settings, under the “Application Autostart” tab. However, this is not enough, because it starts the session but does not propagate the SSH_AUTH_SOCK environment variable to the rest of the environment.

For that, the “Launch GNOME services on startup” checkbox also needs to be enabled in the “Advanced” tab of the same “Session and Startup” settings. I also add the following line to .profile:

export SSH_AUTH_SOCK=0

With these settings, the GNOME Keyring SSH agent works properly across the Xfce session, and xfce4-terminal can reuse the same SSH credentials across terminal windows.

Running Xorg and wine on VT310-DP

I finally had a chance to run quite stable X server on VT310-DP system. I changed my kernel configuration to use viadrmums driver instead of viadrm which was causing system reboot on X.org server initialization. However there is an issue that mouse pointer is not visible, it is working  though on blind clicking (there is an old bug report regarding that but it probably wasn’t look upon since the end of discussion almost four years ago Update: It seems that openchrome officially doesn’t support hardware cursor for integrated graphics in the chipset which is mentioned in the bug report, however it shouldn’t be the case for CN400 chipset, so possibly it is not related bug. Nevertheless, enabling SWCURSOR works as workaround). Thus I had a chance to test my  wine build a bit. Building wine instructions still holds true on my configuration for wine-devel package. Unfortunately, it appears not very usable, most applications just crush or start very slowly.  Nevertheless, I made a screenshot with notepad running (on wmaker wm).

CDE 2.2.0 adds the NetBSD port

CDE (Common Desktop Environment) is “classic” Unix desktop environment and was used in various Unix systems and OpenVMS as the default one. I also had a small experience with it in university studies (it had some Sun Solaris workstations) however I didn’t spend enough time to get used to it and have a objective opinion. KDE and Gnome projects replaced it in the most desktop environments many years ago, nevertheless CDE was open sourced in 2012 and it is actively developed since then. Last week project released 2.2.0 version of this desktop environment and besides other features/bugfixes NetBSD port was added. If you want to try it, the easiest way to do that by installing cde package from pkgsrc-wip.