error when execute the Xorg(XKB: Failed to compile keymap)

Peter Hutterer peter.hutterer at who-t.net
Wed May 11 01:12:53 UTC 2016


On Tue, May 10, 2016 at 05:09:52PM +0800, 栾广强 wrote:
> I use centos, the directory of Xorg is /usr/local/bin,when I execute the Xorg, the message is here:
> 
> [lithx at localhost bin]$ sudo ./Xorg :1 -retro
> 
> X.Org 17.2 X Server 1.17.2
> Release Date: 2015-06-16
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 3.10.0-327.10.1.el7.x86_64 x86_64 
> Current Operating System: Linux localhost 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64
> Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-327.10.1.el7.x86_64 root=UUID=7b6c31f0-f031-40dc-8799-fafd08935839 ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
> Build Date: 18 April 2016  07:52:56PM
>  
>     Before reporting problems, check http://wiki.x.org
>     to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>     (++) from command line, (!!) notice, (II) informational,
>     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/usr/local/var/log/Xorg.1.log", Time: Tue May 10 02:04:30 2016
> (==) Using config directory: "/etc/X11/xorg.conf.d"
> XKB: Failed to compile keymap
> Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
> (EE) 
> Fatal server error:
> (EE) Failed to activate core devices.(EE) 
> (EE) 
> Please consult the The X.Org Foundation support 
>      at http://wiki.x.org
>  for help. 
> (EE) Please also check the log file at "/usr/local/var/log/Xorg.1.log" for additional information.
> (EE) 
> (EE) Server terminated with error (1). Closing log file.
> 
> 
> can you tell me what should I do? thank you.

make sure you install xkbcomp and xkeyboard-config with the same prefix as
the server.

Cheers,
   Peter


More information about the xorg mailing list