Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"could not open default font 'fixed" modular Xorg error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
azdruid
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 75

PostPosted: Sun Mar 05, 2006 10:57 pm    Post subject: "could not open default font 'fixed" modular Xorg Reply with quote

I've just recently installed modular Xorg by following the instructions in the official guide. However, I have hit somewhat of a snag. My xorg.conf is configure correctly, I am almost positive, but I still receive errors on startx.

Code:
Could not init font path element /usr/share/fonts/misc, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
Could not init font path element /usr/share/fonts/TTF, removing from list!
Could not init font path element /usr/share/fonts/Type1, removing from list!

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


Here's the thing: all of those directories contain fonts according to ls. However, misc does not contain "fixed," so that part of the error message is valid.

I've tried mkfontdir, and it doesn't help at all. I've tried re-emerging xorg, and it does not help either.

What I am asking is, how do I obtain the fixed font, and how do I get Xorg to accept those directories?

Thanks in advance!
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Sun Mar 05, 2006 11:05 pm    Post subject: Reply with quote

The font fixed is an alias, the aliases are installed by the font-alias package, which is a hard dependency of xorg, so you DO have it.
I am 100% certain i know what your problem is:
remove -Bdirect from your ldflags and reemerge X and the font related libraries

Also, reemerging the fonts might also be necessary...
To cheer you up: I've been there too, this week ;)
_________________
Retired gentoo user


Last edited by Tiger683 on Sun Mar 05, 2006 11:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
azdruid
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 75

PostPosted: Sun Mar 05, 2006 11:09 pm    Post subject: Reply with quote

You have guessed quite correctly, -Bdirect is in my LDFLAGS. I will remove it at once and do that emerging.

I appreciated the speedy response, thanks very much.
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Mon Mar 06, 2006 3:04 pm    Post subject: Reply with quote

Actually, you only need to emerge x11-libs/libXfont without the -Bdirect to get it to work. That's the beauty of modular xorg, no need to recompile the whole thing :)
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Mon Mar 06, 2006 4:34 pm    Post subject: Reply with quote

kireru wrote:
Actually, you only need to emerge x11-libs/libXfont without the -Bdirect to get it to work. That's the beauty of modular xorg, no need to recompile the whole thing :)


Thx for clarification...
I was too happy when i solved it for myself to investigate any further ;)
_________________
Retired gentoo user
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sun Mar 19, 2006 2:59 am    Post subject: Reply with quote

Tiger683 wrote:
kireru wrote:
Actually, you only need to emerge x11-libs/libXfont without the -Bdirect to get it to work. That's the beauty of modular xorg, no need to recompile the whole thing :)


Thx for clarification...
I was too happy when i solved it for myself to investigate any further ;)


i've tried to emerge libXfont without -bdirect, but still can't startx as user, only root. Any other suggestions?
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Sun Mar 19, 2006 10:33 pm    Post subject: Reply with quote

never mind, i finally got it working :)
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
EclipseX
n00b
n00b


Joined: 19 Dec 2003
Posts: 15

PostPosted: Mon Mar 20, 2006 12:27 am    Post subject: Reply with quote

Quote:
bigbob73: never mind, i finally got it working :)


Could you tell me exactly what you did to get it working?
I've tried all those suggestions none are working, gives me the same error as root & regular user.
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Mon Mar 20, 2006 1:32 am    Post subject: Reply with quote

EclipseX wrote:
Quote:
bigbob73: never mind, i finally got it working :)


Could you tell me exactly what you did to get it working?
I've tried all those suggestions none are working, gives me the same error as root & regular user.


it was an error in the Conrad install overlay, had to edit bdirect out of /etc/portage/bashrc
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
EclipseX
n00b
n00b


Joined: 19 Dec 2003
Posts: 15

PostPosted: Mon Mar 20, 2006 2:25 am    Post subject: Reply with quote

ah ok tyvm :D problem fixed.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Jul 01, 2006 11:37 am    Post subject: Reply with quote

Despite remerging quite a lot of stuff (including all packages of modular x) with and without the mentioned ldflag, I did not get my X to work. I also tried "solutions" given in some other posts in the forum, but I'm stuck :evil:.

This is what I get when I do "startx":
Code:
xauth:  creating new authority file /home/ritman//.serverauth.5985


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-gentoo-r9 x86_64
Current Operating System: Linux bester 2.6.16-gentoo-r9 #1 SMP PREEMPT Mon Jun 5 10:45:48 CEST 2006 x86_64
Build Date: 01 July 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  1 13:28:16 2006
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            No Symbols named "us" in the include file "us"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/misc, removing from list!
Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
Could not init font path element /usr/lib/X11/fonts/local/, removing from list!
Could not init font path element /usr/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/lib/X11/fonts/75dpi/:unscaled, removing from list!
Could not init font path element /usr/lib/X11/fonts/100dpi/:unscaled, removing from list!
Could not init font path element /usr/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/lib/X11/fonts/100dpi/, removing from list!

Fatal server error:
could not open default font 'fixed'
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.

Any help is greatly appreciated. If you need any more info, please ask.

R!tman
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Jul 01, 2006 1:34 pm    Post subject: Reply with quote

I found out that 'mkfontdir' does not seem to work.
Code:
cd /usr/share/fonts/misc/
mkfontdir

produces a fonts.dir file, but it's empty. Copying this file from another computer gets rid of the error message
Code:
Could not init font path element /usr/share/fonts/misc, removing from list!

but the error
Code:
Fatal server error:
could not open default font 'fixed'

stays.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Jul 02, 2006 7:06 am    Post subject: Reply with quote

In another post there was a problem with '/usr/lib/libXfont.so.1.5'. I had fixed that, but somehow my computer rather wanted to use '/lib/libXfont.so.1.5'.

That helped:
Code:
rm -rf /lib/libXfont*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum