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

有關於X 環境當中所遇到的問題

Moderator: Forums Team

Post Reply
benzgto
Posts: 10
Joined: Wed Jun 18, 2003 11:30 am

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

Post 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!
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post by 【Palatis】 »

of course.

use unix://:7100.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
benzgto
Posts: 10
Joined: Wed Jun 18, 2003 11:30 am

failed !

Post 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!
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post 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.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
benzgto
Posts: 10
Joined: Wed Jun 18, 2003 11:30 am

does truetype fonts work without xfs ?

Post 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!
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post 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."
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
Post Reply