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 available to the daemon for serving. The cluster administrator can locate the font directories on the global file system (to optimize the use of the X Font Server on Sun Cluster by maintaining a single copy of the font's database on the system). If so, the administrator must edit fontserver.cfg to reflect the new paths for the font directories.

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


/usr/openwin/bin/xfs -config <location_of_cfg_file>/fontserver.cfg \
-port <portnumber>

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