LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Could not init font path element?? (https://www.linuxquestions.org/questions/linux-newbie-8/could-not-init-font-path-element-200877/)

nu_us3r 07-03-2004 11:06 PM

Could not init font path element??
 
hi there
when i tried to boot my xfree86 it refused. i got this message in xfree log file
Quote:


Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'
how can i solve this problem?
thanks for ur advance

born4linux 07-04-2004 12:09 AM

edit your XF86Config files and comment out the line with the unix/:7100. save it and restry running X.

vosechu 07-28-2004 12:07 PM

This error means exactly what it says; XFree or Xorg can't find the fonts it needs.

Solution: Check to see if you have fonts :)
Check to see if the xfs server is running (or whatever fontserver you use)
Check to see if the font path you're using is pointing at the wrong place (in the XFree/Xorg config files.)

Hope this helps even though it's really late.

vivanovic 08-25-2004 06:37 PM

>This error means exactly what it says; XFree or Xorg can't find the fonts it
> needs.

Well, in my case, merely restarting the X Font Server (in /etc/rc.local)

service xfs restart

fixes the problem.

Clearly, no font files have magically appear as a result of this command, so I suspect that the reason for the error message is *not* that font files are missing. Furthermore

rpm -V `rpm -qa "xorg-x11*" | fgrep font`

runs to completion with no verification errors.

I consider the original question still unanswered.

dsegel 08-25-2004 07:01 PM

X can get its fonts from a font server, such as xfs, or by finding them directly. The 'unix/:7100' entry is telling it to use a font server listening on port 7100, and apparently it's not running or is running on a different port. As a result of this, the X server can't find the necessary fixed font.

There are two solutions to this:

1. Add a line in your X config file in the "Files" Section that directly specifies where the font can be found, like this:

Code:

FontPath  "/usr/share/fonts/misc"
(Changing it as appropriate)

2. Fix the font server. The default now is to listen on unix sockets, not TCP ports, so maybe changing the entry in the config file to be like this would help:

Code:

FontPath  "unix/:-1"
(Re)starting the font server may also be necessary, but without knowing more about what distro you're using I can't give you specific directions on how to do that.


All times are GMT -5. The time now is 12:00 AM.