Page 1 of 1

couldn't startx, after setting Fontpath to "unix/:-1&qu

Posted: Wed Jun 18, 2003 11:58 am
by benzgto
My X works fine under default settings.
However, xfs seems not work together with X.

There is the error:

(==) Using config file: "/etc/X11/XF86Config"
Using vt 7
Could not init font path element unix/:-1, removing from list!

Fatal server error:
could not open default font 'fixed'


I am *very* sure my xfs is up and running !


here are are settings:

[/etc/conf.d/xfs]

XFS_PORT="-1"
SETUP_FONTDIRS="yes"

[/etc/X11/XF86config]

FontPath="unix/:-1"

[/etc/X11/fs/config]

no-listen = tcp
clone-self = on
catalogue = /usr/X11R6/lib/X11/fonts/75dpi,
/usr/X11R6/lib/X11/fonts/100dpi,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/CID,
/usr/X11R6/lib/X11/fonts/util,
/usr/X11R6/lib/X11/fonts/local,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/truetype,
/usr/X11R6/lib/X11/fonts/TTF,
/usr/X11R6/lib/X11/fonts/cyrillic,
/usr/X11R6/lib/X11/fonts/freefont,
/usr/X11R6/lib/X11/fonts/sharefont,
/usr/share/fonts/default/Type1,
/usr/share/fonts/ttf/decoratives,
/usr/share/fonts/ttf/western
/usr/share/fonts/ttf/zh_TW,
/usr/share/fonts/ttf/zh_CN
# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# how to log errors
use-syslog = on
# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70

Please give me some ideas,
Thanks!

Posted: Wed Jun 18, 2003 2:39 pm
by 【Palatis】
of course.

use unix://:7100.

failed !

Posted: Wed Jun 18, 2003 5:50 pm
by benzgto
【Palatis】 wrote:of course.

use unix://:7100.
Thanks for your reply.
I think it might want to say unix/:7100

I tried that, with XFS_PORT set to "7100",
and comment out "no listen = tcp".
I still get the same error !

I need some more help !
thanks!

Posted: Wed Jun 18, 2003 6:19 pm
by 【Palatis】
dunno. i marked that unix/:whatever out, and not using xfs.
no listen = tcp should be there for security reason. i recommend you uncomment that line.

does truetype fonts work without xfs ?

Posted: Wed Jun 18, 2003 6:55 pm
by benzgto
【Palatis】 wrote:dunno. i marked that unix/:whatever out, and not using xfs.
no listen = tcp should be there for security reason. i recommend you uncomment that line.
I read an article about truetype fonts before.
It said truetype will only work with xfs started.
Is that true ? or this problem has been solved
for modern XFree86 like xfree86 4.3 ?


Thanks!

Posted: Wed Jun 18, 2003 7:30 pm
by 【Palatis】
no.

xfree 4.x can handle truetype fonts by itself with module "xtt."
however, that's rarely used these days. as far as i know, qt3 and gtk2 all use fontconfig+xft, bypass the x font setting.
the only thing that use native x font support is gtk1, which is about to get "retired."