| Summary: | x11-apps/xkbcomp keymap compiler (xkbcomp) error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Anton S. Ustyuzhanin <kit> |
| Component: | Current packages | Assignee: | 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: 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.