Ssh X forwarding after upgrading from old FreeBSD versions

After finding the solution to the problem, I ask comments from others here:

Most of my FreeBSD servers have quite old versions, newest of those being 12.1. When I recently got a new server, I installed FreeBSD 15 and the feature I have always used, forwarding X connection over ssh from my Ubuntu Mate laptop, broke. X in the laptop basically crashed when starting any X client in FreeBSD side. Sakura, emacs and even xterm.

The problem was that the FreeBSD doesn't install necessary fonts by dependencies, like it used to do, I guess. The simple fix is to run:

Code:
pkg install dejavu fontconfig
fc-cache -fv

Not having the fonts installed, caused illegal window size requests and other garbage over X and caused the server side to effectively crash.

How could we get this to installation instructions?
 
Back
Top