ports/50482: gnome-session will not start on 4.8-RC, X 4.3,

Joe Marcus Clarke marcus at marcuscom.com
Mon Mar 31 09:54:59 PST 2003


On Mon, 2003-03-31 at 12:51, Franz Klammer wrote:
> Am Mo, 2003-03-31 um 19.10 schrieb Joe Kelsey:
> > Joe Marcus Clarke wrote:
> > > On Mon, 2003-03-31 at 11:49, Joe Kelsey wrote:
> > > 
> > >>Joe Marcus Clarke wrote:
> > >>
> > >>>Actually, if gnome-session fails, so should all GTK+-2 apps.  Can you
> > >>>xhost back any app?  Since you're getting the pango "Can't find fonts"
> > >>>error, either the fonts-cache-1 files are empty or you can't read them. 
> > >>>Does GNOME work for root, BTW?
> > >>
> > >>My test setup is the following in /root/.xinitrc:
> > >>
> > >>#!/bin/sh
> > >>truss gnome-session >/tmp/truss-sess 2>&1
> > >>
> > >>If I remove /root/.xinitrc, startx produces the expected result of the 
> > >>default three xterms with clock and whatever.  I still cannot start any 
> > >>gnome apps since none of the gnome infrastructure is running.
> > > 
> > > 
> > > Have you made any modifications to /usr/X11R6/etc/fonts/fonts.conf? 
> > > What font ports/packages do you have installed?  It looks to me like you
> > > have the stock XFree86 fonts, plus urwfonts, plus some unnamed TrueType
> > > fonts.  Have you tried moving the TrueType directory out of the way, and
> > > see if that corrects things?  The debug should definitely shed some
> > > light on things, too.
> > 
> > The TrueType directory is pretty much the stock .ttf files copied from a 
> > windoze machine.  The exact same fonts were (and still are) working just 
> > fine on my work machine (from which I am typing this message).
> > 
> 
> hi!
> 
> i had the same problem like you. first i'm thought i to silly to 
> install it but everything seems to be resp. _was_ installed in the 
> right way.
> 
> i didn't find really the reason why no gnome/gtk2 software found
> any font but everything is working well after i copied all my 
> ttf (windows any anywhere downloaded) fonts into my ~/.fonts directory.

Weird thing, but fonts in ~/.fonts don't require fc-cache.  fontconfig
picks them up, and uses them without a problem.

However, I use x11-fonts/webfonts for my Windows fonts, and my TrueType
directory holds all my downloaded TrueType fonts.

> 
> i would recommend also running fc-cache -v -f again after doing that 
> and delete you ~/.fonts.cache-1 before try to start gnome/gmd2.

fc-cache is definitely needed for system fonts (i.e. fonts in
/usr/X11R6/lib/X11/fonts [even for root]).

Joe

> 
> maybe it helps you too.
> 
> franz.
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030331/4f00ef9f/attachment.bin


More information about the freebsd-gnome mailing list