public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: Re: Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
Date: Wed, 25 May 2011 14:54:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 20/05/2011 09:33, Harri T. wrote:
> Hi! My Cygwin/X fails to start.
> /var/log/xwin/XWin.0.log:
>>   [   667.715] (EE) XKB: Could not invoke xkbcomp
>>   [   667.715] (EE) XKB: Couldn't compile keymap
>>   [   667.715] (EE) XKB: Failed to load keymap. Loading default keymap instead.
>>   [   669.571] (EE) XKB: Could not invoke xkbcomp
>>   [   669.571] (EE) XKB: Couldn't compile keymap
>>   [   669.571] XKB: Failed to compile keymap
>>   [   669.571] Keyboard initialization failed. This could be a missing or
>> incorrect setup of xkeyboard-config.
>>   [   669.571]
>>   Fatal server error:
>>   [   669.571] Failed to activate core devices.
> Full /var/log/xwin/XWin.0.log is here (expires in 7 days):
> At first X used to work well. Then problems started when I didn't log in
> Windows immediately when login prompt appeared. Now I can't start X at all.
> "cygcheck xkbcomp" finds no failures in library loading and "rebaseall" does
> not help.
> Any idea?

Unfortunately, rebaseall is a rather limited workaround, rather than a
solution for these issues (for reasons which have been discussed extensively
in the past)

I've been considering, as a temporary solution, changing the XWin server to
use system() rather than pipe() & fork() to invoke xkbcomp, which should work
around this problem until the upstream X server changes to using libxkbcommon,
which will avoid the need to run xkbcomp entirely.

(Although I imagine this will just transform the problem reports from "I can't
start the X server" (as it can't successfully fork() xkbcomp) to "I can't
start anything from the X server traymenu" (as it can't successfully fork()
those programs)

I've build a snapshot with this change and uploaded it at [1], perhaps you
could try that out and see if that makes a difference for you.

(Since this snapshot is based on RC2 for the forthcoming 1.10.2 release, it
also contains some upstream GLX changes which might break GLX on XWin which I
haven't had a chance to test yet)


Volunteer Cygwin/X X Server maintainer

Unsubscribe info:
Problem reports:

  reply	other threads:[~2011-05-24 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 19:32 Harri T.
2011-05-25 14:54 ` Jon TURNEY [this message]
2011-05-27  0:50 ` KARR, DAVID (ATTSI)
  -- strict thread matches above, loose matches on Subject: below --
2011-04-28  4:22 Harri T.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).