Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92056 - startx gives me an error: bad length in CompatMap
Summary: startx gives me an error: bad length in CompatMap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 15:38 UTC by Kory Stiffler
Modified: 2006-03-31 20:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log file (Xorg.0.log,35.70 KB, text/plain)
2005-05-24 10:41 UTC, Kory Stiffler
Details
xorg configuration file (xorg.conf,14.26 KB, text/plain)
2005-05-24 10:41 UTC, Kory Stiffler
Details
changed xorg.conf file (xorg2.conf,14.26 KB, text/plain)
2005-05-24 11:04 UTC, Kory Stiffler
Details
new Xorg.0.log file (Xorg.0.2.log,35.63 KB, text/plain)
2005-05-24 11:05 UTC, Kory Stiffler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kory Stiffler 2005-05-09 15:38:24 UTC
I just update my system and, with an "emerge --update system" as well as an update world, and now startx will not pull of kde, or any of my other window managers for that matter.  It gives me the error:

Could not init font path element /usr/share/fonts/CID, removing from list!
Could not init font path element /usr/share/fonts/local removing from list!

Important note: the same error occurs regardless of which window manager I specify in /etc/rc.conf


Reproducible: Always
Steps to Reproduce:
1.type "startx"
2.
3.

Actual Results:  
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:   bad length in CompatMap
>          Output file "/var/tmp/server-0.xkm" removed
Errors from xkbcomp are not fatal to the server
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/share/fonts/CID, removing from list!
Could not init font path element /usr/share/fonts/local removing from list!

Expected Results:  
started kde
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 16:01:10 UTC
First of all - this has nothing to do with KDE. 

As for the font paths, just remove those paths from /etc/X11/xorg.conf and those warnings will go away - but this is not the reason why KDE or any other WM does not start for you, it is just a harmless warning that there are no fonts installed in those paths. 

Run xorgcfg/xorgconfig and configure X11 as needed. The errors shown here do not show why xorg did not start, so I cannot give you a better explanation about the exact cause of that. 

You have misconfigured xorg-x11. I
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 16:01:10 UTC
First of all - this has nothing to do with KDE. 

As for the font paths, just remove those paths from /etc/X11/xorg.conf and those warnings will go away - but this is not the reason why KDE or any other WM does not start for you, it is just a harmless warning that there are no fonts installed in those paths. 

Run xorgcfg/xorgconfig and configure X11 as needed. The errors shown here do not show why xorg did not start, so I cannot give you a better explanation about the exact cause of that. 

You have misconfigured xorg-x11. I´d suggest reading some docs - like http://www.gentoo.org/doc/en/xorg-config.xml

Also make sure, that you have run etc-update or dispatch-conf after upgrading xorg.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-05-09 20:59:51 UTC
Could you attach /var/log/Xorg.0.log and /etc/X11/xorg.conf please.
Comment 4 Kory Stiffler 2005-05-24 10:41:03 UTC
Created attachment 59715 [details]
Xorg.0.log file

important note: this problem only occurs when I do startx as user,
it works fine when I am root
Comment 5 Kory Stiffler 2005-05-24 10:41:45 UTC
Created attachment 59716 [details]
xorg configuration file
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 10:47:51 UTC
This bit in your config is screwed up, because it's in the wrong section:
    Option "XkbDisable"

(WW) Keyboard1: XKB can't be disabled here. Use "ServerFlags" section.

But that shouldn't affect X working.

Delete this line:
    Option "XkbRules"	"xorg"

I'd guess you have bad permissions somewhere. Check some places; here's what I got.

$ ls -ld /usr/lib/X11/xkb/compiled /var/lib/xkb/ /var/tmp/
lrwxrwxrwx  1 root root   23 May 23 22:54 /usr/lib/X11/xkb/compiled ->
../../../../var/lib/xkb
drwxr-xr-x  2 root root 4096 May 24 09:06 /var/lib/xkb/
drwxrwxrwt  7 root root 4096 May 24 09:06 /var/tmp/
Comment 7 Kory Stiffler 2005-05-24 11:04:33 UTC
Created attachment 59721 [details]
changed xorg.conf file
Comment 8 Kory Stiffler 2005-05-24 11:05:13 UTC
Created attachment 59722 [details]
new Xorg.0.log file
Comment 9 Kory Stiffler 2005-05-24 11:10:07 UTC
I applied those changes to xorg.conf, and startx still doesn't work for user but
still works for root.

I got almost the same output you got when running:
(there is a 10 inplace of your 7, I'm not sure what that means)

$ ls -ld /usr/lib/X11/xkb/compiled /var/lib/xkb/ /var/tmp/

lrwxrwxrwx   1 root root   23 Mar 30 18:29 /usr/lib/X11/xkb/compiled ->
../../../../var/lib/xkb
drwxr-xr-x   2 root root 4096 May 24 13:06 /var/lib/xkb/
drwxrwxrwt  10 root root 4096 May 24 13:12 /var/tmp/

Also, I have attached my modified xorg.conf file and the corresponding
Xorg.0.log file which is made when user starts up X
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-31 20:03:46 UTC
Please reopen if this remains an issue in modular X.