The font path used by the
Xdmx front-end server will be propagated to each back-end server,which requires that each back-end server have access to the exact same font paths as the front-end server. This can be most easily handled by either using a font server (e.g., xfs) or by remotely mounting the font paths on each back-end server, and then setting the
Xdmx server's default font path with the -I "-fontpath" command line option described above.
For example, if you specify a font path with the following command line:
Xdmx :1 -display d0:0 -fontpath /usr/fonts/75dpi/ -fontpath /usr/fonts/Type1/ +xinerama
Then, /usr/fonts/75dpi/ and /usr/fonts/Type1/ must be valid font paths on the
Xdmx server and all back-end server, which is d0 in this example.
Font servers can also be specified with the -fontpath option. For example, let's assume that a properly configured font server is running on host d0. Then, the following command line
Xdmx :1 -display d0:0 -display d1:0 -fontpath tcp/d0:7100 +xinerama
will initialize the front-end
Xdmx server and each of the back-end servers to use the font server on d0.
Some fonts might not be supported by either the front-end or the back-end servers. For example, let's assume the front-end Xdmx server includes support Type1 fonts, but one of the back-end servers does not. Let's also assume that the default font path for Xdmx includes Type1 fonts in its font path. Then, when Xdmx initializes the default font path to load the default font, the font path that includes Type1 fonts (along with the other default font paths that are used by the Xdmx server) is sent to the back-end server that cannot handle Type1 fonts. That back-end server then rejects the font path and sends an error back to the Xdmx server. Xdmx then prints an error message and exits because it failed to set the default font path and was unable load the default font.
To fix this error, the offending font path must be removed from the default font path by using a different -fontpath command line option.
The -fontpath option can also be added to the configuration file as described above.