Sun Cluster Data Services Developer's Guide for Solaris OS

X Font Server Configuration File

By default, the X Font Server reads its configuration information from the file /usr/openwin/lib/X11/fontserver.cfg. The catalog entry in this file contains a list of font directories that are available to the daemon for serving. The cluster administrator can locate the font directories in the cluster file system. This location optimizes the use of the X Font Server on Sun Cluster by maintaining a single copy of the font's database on the system. If the cluster administrator wants to change the location, the cluster administrator must edit fontserver.cfg to reflect the new paths for the font directories.

For ease of configuration, the cluster administrator can also place the configuration file itself in the cluster file system. The xfs daemon provides command-line arguments that override the default, built-in location of this file. The SUNW.xfnts resource type uses the following command to start the daemon under the control of the Sun Cluster software.

/usr/openwin/bin/xfs -config location-of-configuration-file/fontserver.cfg \
-port port-number

In the SUNW.xfnts resource type implementation, you can use the Confdir_list property to manage the location of the fontserver.cfg configuration file.