[Fontconfig] RE: Problems going from RH8 to RH9

Greg Jones fontconfig@fontconfig.org
Thu, 10 Apr 2003 16:36:49 -0400

Jonathan W. Smith wrote:

>Greg, I tried your suggested correction. I got a somewhat different error
>message with same underlying conclusion:
>Log File: "/var/log/XFree86.0.log", Time: Thu Apr 10 10:18:46 2003
>Using Config File: "/etc/X11/XF86Config"
>AUDIT: Thu Apr 10 10:18:59 2003 1631 X: client 4 rejected from local host.
>No fonts found. yadda yadda yadda
>Fontconfig mailing list
This is the relevant portion from my XF86Config

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "unix/:7100"
Also when using the X font server you don't need the
freetype and type1 modules loaded in XF86Config

Section "Module"
#       Load  "freetype"
#       Load  "type1"

My /etc/X11/fs/config file looks like this

# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $

clone-self = on
use-syslog = off
catalogue = /usr/share/fonts/TrueType,

error-file = /var/log/fs-errors
# in decipoints
default-point-size = 120
default-resolutions = 92,92,75,75

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70
I am sure that RedHat has their own way of doing these so
don't just blindly copy these!!!

You should be able to restart the font server by
logging in as root and entering the command

/etc/rc.d/init.d/xfs restart

then enter

ps ax | grep xfs

and look for something like this

13062 ?        S      0:03 /usr/X11R6/bin/xfs -droppriv -daemon

if you don't see it, you have X setup problems and not fontconfig ones.