On Wed, 1 Mar 2000, Raju wrote:
> I have a redhat 6.1 installation. The default configuration has
> the font-server starting up with
> $ xfs -droppriv -daemon -port -1
>
> 'xset -q' gives the font server path to be
>
> Font Path:
> unix/:-1
>
> Is there something wrong here?? The man page for xfs says it runs
> on a TCP port (7100 by default). There is nothing running on port 7100
> but my fonts are working fine.
That's expected behaviour in 6.1. To improve security, the font
server listens on a unix socket not a tcp port. The man page was
overlooked when the change in behaviour was made.
> Besides, any font directories I add with mkfontdir, ttmkfdir,
> xset fp+ showup in the font path but the fonts aren't available.
> On the other hand, I am able to access the fonts by starting
> my own instance of the font server on a different port.
1. Make sure xfs is running
2. Make sure XF86Config has a line to the font server unix:-1
xfs will die if there is a permissions problem in any of the font
directories. from my XF86Config:
# Redhat 6.0's xfs knows about TrueType...but only on unix socket -1!
# The font server runs as user xfs, so make damn sure the font.* index
# files are readable by xfs, or the font server will not start, and X
# will loop looking for it.
FontPath "unix/:-1"
Maybe in 6.1 xfs doesn't fall over, but doesn't serve any fonts...
Remember that xfs runs as a non-priviliged user.
If you're adding additional font directories, you can either add then
to the font server config in /etc/X/fs or as additional lines in
XF86Config. Note that only the font server knows how to deal with
truetypes.
Regards,
Mark
+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+