public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
@ 2011-04-28  4:22 Harri T.
  0 siblings, 0 replies; 4+ messages in thread
From: Harri T. @ 2011-04-28  4:22 UTC (permalink / raw)
  To: cygwin-xfree

Hi! I have a problem with Cygwin/X:

    If I don't log in Windows (Win7 Pro 64-bit) immediately when it is possible (after start-up), Cygwin/X does not start but gives the following error:

    ...
    [   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.

    If I log in immediately everything works fine.

Full /var/log/xwin/XWin.0.log is here (expires in a month): http://pastebin.com/80rjKMwb

Any idea?

Harri

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
  2011-05-24 19:32 Harri T.
  2011-05-25 14:54 ` Jon TURNEY
@ 2011-05-27  0:50 ` KARR, DAVID (ATTSI)
  1 sibling, 0 replies; 4+ messages in thread
From: KARR, DAVID (ATTSI) @ 2011-05-27  0:50 UTC (permalink / raw)
  To: cygwin-xfree

> -----Original Message-----
> Subject: Keyboard initialization failed. This could be a missing or
> incorrect setup of xkeyboard-config.
> 
> 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):
> http://pastebin.com/80rjKMwb
> 
> 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.

Until a better solution comes along, it's been noted in this list that "rebaseall -b 0x77000000" appears to resolve this.  It did for me, at least, when a plain "rebaseall" did not work.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
  2011-05-24 19:32 Harri T.
@ 2011-05-25 14:54 ` Jon TURNEY
  2011-05-27  0:50 ` KARR, DAVID (ATTSI)
  1 sibling, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2011-05-25 14:54 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: haba713

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):
> http://pastebin.com/80rjKMwb
> 
> 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)

[1] ftp://cygwin.com/pub/cygwinx/XWin.20110524-git-3b1bff1452ba8e19.exe.bz2

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
@ 2011-05-24 19:32 Harri T.
  2011-05-25 14:54 ` Jon TURNEY
  2011-05-27  0:50 ` KARR, DAVID (ATTSI)
  0 siblings, 2 replies; 4+ messages in thread
From: Harri T. @ 2011-05-24 19:32 UTC (permalink / raw)
  To: cygwin-xfree

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): http://pastebin.com/80rjKMwb

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?

Harri

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-25 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28  4:22 Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config Harri T.
2011-05-24 19:32 Harri T.
2011-05-25 14:54 ` Jon TURNEY
2011-05-27  0:50 ` KARR, DAVID (ATTSI)

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).