Bug 1296 - Xnest cannot find default fixed font and then aborts
Summary: Xnest cannot find default fixed font and then aborts
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xnest (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 07:37 UTC by Nicholas Allen
Modified: 2005-07-03 18:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Nicholas Allen 2004-09-06 07:37:49 UTC
Xnest used top work fine but now I am using the xorg version Xnest complains 
with the following message: 
 
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list! 
 
Fatal server error: 
could not open default font 'fixed' 
 
and then immediately aborts. I have tried using the -fp command line option and 
then specifying the fontserver as my main X11 display uses a font server but 
this also fails with the same message.
Comment 1 Stéphane Loeuillet 2004-09-10 05:57:32 UTC
edit your /etc/X11/xorg.conf file and look for font directories

/usr/X11R6/lib/X11/fonts/* is the old deprecated place for fonts

they should be in /usr/share/fonts/* now

some docs in 6.8.0 still has not been updated with the new font path but
normally, distro packagers would certainly put symlink to make applications
using the old directory layout work

also, please tell exactly which xorg version you used (6.7.0/6.8.0 or any RC)
Comment 2 Nicholas Allen 2004-09-17 13:36:29 UTC
My xorg.cong file does not make any mention of the font path you mentioned. It 
only mentions the font server and which port to connect on: 
 
Section "Files" 
 
# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally 
# no need to change the default. 
# Multiple FontPath entries are allowed (they are concatenated together) 
# By default, Red Hat 6.0 and later now use a font server independent of 
# the X server to render fonts. 
        RgbPath      "/usr/X11R6/lib/X11/rgb" 
        FontPath     "unix/:7100" 
EndSection 
 
 
I am using 6.7.0. 
Comment 3 Alexander Gottwald 2004-09-18 05:08:44 UTC
Xnest does not use xorg.conf. You have to specify the fontpath with the  -fp
option (eg Xnest -fp tcp/fontserver:7100)

about /usr/share/fonts/*:
Xnest uses the fontpath configured while building X11. If you configure X11 to
search fonts in /usr/share/fonts at buildtime then Xnest will find then. Unless
you do so Xnest will use ProjectRoot/lib/X11/fonts as its fontdir
Comment 4 Chris Lee 2005-07-04 11:21:13 UTC
Read the information in comment #3 (closing, since it looks like it was 
resolved but nobody bothered to mark it as such). 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.