On Sat, 11 Jan 2003, Thomas Wong wrote:

>Date: Sat, 11 Jan 2003 18:15:26 -0800
>From: Thomas Wong <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>Content-Type: multipart/alternative;
>       boundary="----=_NextPart_000_0005_01C2B99D.6A48DFC0"
>Subject: [XFree86] Problem in using startx
>
>Hi .. Could you help me solve this problem. ? 
>
>Now i am using Red Hat Linux 8 , but today when i use "startx" command in text mode , 
>It fail and the following message comes out : 
>Could not open default font "fixed" 
>
>Even i change inittad file and set default login is graphic mode , it also can't 
>work. Even 
>Login page also can't display. 
>
>Thxfor your hel. 

There are a variety of reasons that this problem could occur, and 
it is a rather common problem X users experience sometimes.

To add to that, not long ago, we (Red Hat) released a rather 
craptastic kdebase erratum release which also contained some 
fixed fonts.  Unfortunately, the rpm post install script 
contained some broken assumptions that "umask" on a given system 
will be set to a value that when mkfontdir is ran will produce 
fonts.dir files that are world readable.

Many systems for one reason or another do not have umask set in 
this manner, so what happens when mkfontdir is ran, is it 
generates fonts.dir that is only root readable.  When a non-root 
user tries to start X, it fails with the error above.

We've either released an erratum since then to fix this, or we've 
got one in the QA chain, however users can work around the issue 
by changing the permissions on all fonts.dir files manually to 
644.

I've produced a patch to mkfontdir which forces the permissions 
on these files to always be mode 644, so that people packaging 
fonts do not need to worry about creating buggy font packages by 
default.  All future Red Hat Linux XFree86 releases and erratum 
will have my mkfontdir patch, and hopefully will prevent many 
users from experiencing these types of silly problems due to 
quirks in the way legacy font technology works in X.

Hope this helps,
TTYL


-- 
Mike A. Harris


_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to