I had to stop using the fglrx video driver from ELRepo, which isn't supported with CentOS 6.4. Now I can't start X; I get the following:
(II) [KMS] Kernel modesetting enabled. The XKEYBOARD keymap compiler (xkbcomp) reports: Error: Cannot open "/tmp/server-0.xkm" to write keyboard description Exiting The XKEYBOARD keymap compiler (xkbcomp) reports: Error: Cannot open "/tmp/server-0.xkm" to write keyboard description Exiting XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
Fatal server error: Failed to activate core devices. (EE) Please consult the CentOS support at http://wiki.centos.org/Documentation for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) Server terminated with error (1). Closing log file.
/var/log/Xorg.0.log doesn't add much; it states:
[ 345.863] (EE) Error compiling keymap (server-0) [ 345.863] (EE) XKB: Couldn't compile keymap [ 345.863] (EE) XKB: Failed to load keymap. Loading default keymap instead. [ 345.884] (EE) Error compiling keymap (server-0) [ 345.884] (EE) XKB: Couldn't compile keymap [ 345.884] XKB: Failed to compile keymap [ 345.884] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. [ 345.884] Fatal server error: [ 345.884] Failed to activate core devices. [ 345.884] (EE) Please consult the CentOS support at http://wiki.centos.org/Documentation for help. [ 345.884] (EE) Please also check the log file at "/var/log /Xorg.0.log" for additional information. [ 345.884] (EE) [ 345.884] (II) AIGLX: Suspending AIGLX clients for VT switch [ 345.897] Server terminated with error (1). Closing log file.
How can I solve this?
Thanks.
Yves Bellefeuille
Solved; that was quick. :-)
For other reasons, /tmp had incorrect permissions. Changing them with "chmod 1777 /tmp" solved the problem.
The hint was this post, https://www.centos.org/modules/newbb/viewtopic.php?topic_id=41813&forum=... , which described other symptoms I also had: "gconf-sanity-check-2 exited with status 256", and "The configuration defaults for GNOME Power Manager have not been installed correctly".
Thanks to jeepster for his post.