Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150230

Summary: x11-apps/xkbcomp keymap compiler (xkbcomp) error
Product: Gentoo Linux Reporter: Anton S. Ustyuzhanin <kit>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton S. Ustyuzhanin 2006-10-05 21:23:03 UTC
Description:
Xkb doesn't work when Xorg run as root. Xorg.log contains the following string:
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

And following lines you see if you run Xorg in root shell:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Cannot open "/usr/share/X11/xkb/compiled/server-1.xkm" to wr
>                   Exiting

Solution:
/usr/share/X11/xkb/compiled is a symlink to /var/lib/xkb, which does not exists. Just do mkdir -p /var/lib/xkb and Xkb will work!

Strange, but if you run Xorg as normal user XKB works.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 00:22:48 UTC

*** This bug has been marked as a duplicate of 122214 ***