[FreeNX-kNX] X.org font problems

Bruce Stephens freenx at cenderis.demon.co.uk
Mon Jul 25 20:14:52 UTC 2005


Debian's recently changed from XFree86 to X.org, and now nxagent can't
find the default "fixed" font.  

It's not that it doesn't have the right path (as AR01C00124 suggests
might be the case).  I've checked that, and added a suitable path
explicitly to nxagent.  But nxagent reports:

Could not init font path element /usr/X11R6/lib/X11/fonts/misc:unscaled, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/ttf/western, removing from list!
Could not init font path element /usr/share/fonts/ttf/decoratives, removing from list!
Could not init font path element /usr/share/fonts/truetype/openoffice, removing from list!

and so on.  Some of those are OK: maybe they don't actually exist.
But /usr/X11R6/lib/X11/fonts/misc certainly does, and fonts.dir and
fonts.alias look OK to me (and this directory is the one that includes
"fixed", of course).

So what's going on, and how do I fix it?

I tried an strace of nxagent (1.4.0.2-0alpha4), but that just shows it
reading fonts.dir and rejecting it:

22633 open("/usr/X11R6/lib/X11/fonts/misc/fonts.dir", O_RDONLY) = 4
22633 fstat64(4, {st_mode=S_IFREG|0644, st_size=57163, ...}) = 0
22633 fstat64(4, {st_mode=S_IFREG|0644, st_size=57163, ...}) = 0
22633 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7ffb000
22633 read(4, "710\n10x20-ISO8859-1.pcf.gz -misc"..., 4096) = 4096
22633 read(4, "iso8859-10\n5x8-ISO8859-13.pcf.gz"..., 4096) = 4096
22633 read(4, "sc-fixed-medium-r-semicondensed-"..., 4096) = 4096
22633 read(4, "rmal--9-90-75-75-c-60-koi8-r\n6x9"..., 4096) = 4096
22633 read(4, "m-r-normal--14-130-75-75-c-70-is"..., 4096) = 4096
22633 read(4, "rmal--13-120-75-75-c-80-iso8859-"..., 4096) = 4096
22633 read(4, "al--18-120-100-100-c-90-iso8859-"..., 4096) = 4096
22633 read(4, "-160-75-75-p-80-iso10646-1\nb24.p"..., 4096) = 4096
22633 read(4, "iso646.1991-irv\nconsole8x16.pcf."..., 4096) = 4096
22633 close(4)                          = 0
22633 munmap(0xb7ffb000, 4096)          = 0
22633 write(2, "Could not init font path element"..., 93) = 93

I guess if noone else has noticed this, I could wait a bit and see if
a later package fixes it.  Or build my own 1.5.



More information about the FreeNX-kNX mailing list