X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:subject:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=VX4 KVKVxlQVF+HTrH7woj5thnTPfTjoo5ksLqXgQfJoRnLCPphDF6z63CheEN94EpAP 5/KkN6fB1KFCm8wEET8kWIzXCAXgcZ/rMnoWB1Ry4VX8tXxpoUzR5ssAez/VduPu F3d0QFWqTK/a6gdbdwgIR5bM+PW5svLxBirFqz3s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:subject:date:mime-version :content-type:content-transfer-encoding; s=default; bh=yrZJ9k+o5 d199NyAzIGnxtwqstU=; b=v7F3Zb5V50wPYQwzjY0Rjgx7o8JqFHjSVxqvNuczx Twiq6XxVk5b9adnAdpi424hryd7B01TEiWolxNhfx6IJvS3dy0fQpsx3d+053CII vYeWBuIYLW4bUBn6VREEU36/FyUFZ2ejYewDM6TCM5xCfguiEXS7rjQxEpO/JRox /4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.0 required=5.0 tests=AWL,BAYES_99,BAYES_999,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,TBC,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: BAY004-OMC1S7.hotmail.com X-TMN: [F2vdlEyvOOiSXy9Sje4hP6pCwxA5wpyN] Message-ID: From: "John T. Kerich" To: Subject: XWin Server fails to start with keymap failure, Date: Thu, 4 Jun 2015 17:46:15 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t54LkUAX027762 I have google the web and found this type of problem in a number of locations dating a back to 2011.  However, none of the checks so a problem and no of the solutions fix the startup problem.  See after log. The pop up error was: A fatal error has occurred and Cygwin/X will now exit. Failed to activate core devices. Please open /var/log/xwin/XWin.0.log for more information. Vendor:  The Cygwin/X Project Release 1.17.1.0 Contact:  Cygwin AT cygwin DOT com Package: version 1.1.17.1-5 built 201505-01 XWin was started with the following command-line: /usr/bin/XWin :0 –multindow –auth /home/JohnKerich/.serverauth.12262 ============ cat /var/log/xwin/XWin.0.log Could not load crashreporter dll Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.17.1.0 OS: CYGWIN_NT-6.1 JohnKerich-PC 2.0.2(0.287/5/3) 2015-05-08 17:00 x86_64 OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) Package: version 1.17.1-4 built 2015-05-01 XWin was started with the following command line: /usr/bin/XWin :1 -multiwindow -auth  /home/JohnKerich/.serverauth.8036 ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1680 h 1050 winInitializeScreenDefaults - native DPI x 120 y 120 [  5752.318] Could not load crashreporter dll [  5752.334] (II) xorg.conf is not supported [  5752.334] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information [  5752.334] LoadPreferences: /home/JohnKerich/.XWinrc not found [  5752.334] LoadPreferences: Loading /etc/X11/system.XWinrc [  5752.334] LoadPreferences: Done parsing the configuration file... [  5752.380] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL [  5752.380] winDetectSupportedEngines - Returning, supported engines 00000005 [  5752.380] winSetEngine - Multi Window or Rootless => ShadowGDI [  5752.380] winScreenInit - Using Windows display depth of 32 bits per pixel [  5752.380] winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 1050 depth: 32 [  5752.396] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff [  5752.396] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 [  5752.396] MIT-SHM extension disabled due to lack of kernel support [  5752.396] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel [  5752.396] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' [  5752.474] (II) AIGLX: Testing pixelFormatIndex 5 [  5752.490] GL_VERSION:     4.5.0 NVIDIA 350.12 [  5752.490] GL_VENDOR:      NVIDIA Corporation [  5752.490] GL_RENDERER:    GeForce GTX 650 Ti/PCIe/SSE2 [  5752.490] (II) AIGLX: enabled GLX_SGI_make_current_read [  5752.490] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [  5752.490] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [  5752.490] (II) AIGLX: enabled GLX_SGIX_pbuffer [  5752.490] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample [  5752.490] (II) 482 pixel formats reported by wglGetPixelFormatAttribivARB [  5752.490] (II) AIGLX: Set GLX version to 1.4 [  5752.505] (II) 323 fbConfigs [  5752.505] (II) ignored pixel formats: 0 not OpenGL, 54 RBGA float, 69 RGBA unsigned float, 0 unknown pixel type, 36 unaccelerated [  5752.505] (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [  5753.129] (EE) Error compiling keymap (server-1) [  5753.129] (EE) xkbcomp exit status 32512 [  5753.145] (EE) XKB: Couldn't compile keymap [  5753.145] (EE) XKB: Failed to load keymap. Loading default keymap instead. [  5753.223] (EE) Error compiling keymap (server-1) [  5753.223] (EE) xkbcomp exit status 32512 [  5753.223] (EE) XKB: Couldn't compile keymap [  5753.223] XKB: Failed to compile keymap [  5753.223] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. [  5753.223] (EE) Fatal server error: [  5753.223] (EE) Failed to activate core devices.(EE) [  5753.223] (EE) Server terminated with error (1). Closing log file. =========== Things I have tried. This problem started after I updated Cygwin.  I uninstalled Cygwin, deleted all directories, and reinstalled.  No change. Verify /var/tmp is 777.  It is. $ ls -l total 0 drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:20 cache drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:20 lib drwxrwxrwt+ 1 JohnKerich None 0 May 31 18:25 log drwxrwxrwt+ 1 JohnKerich None 0 May 31 18:15 run drwxrwxrwt+ 1 JohnKerich None 0 May 31 18:15 tmp /var/lib/xkb/, but this directory didn't exist. – Is does. $ ls -l total 0 drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:15 alternatives drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:20 dbus drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:15 rebase drwxr-xr-x+ 1 JohnKerich None 0 May 31 18:19 xkb ls /usr/share/X11 - /usr/share/X11/xkb/compiled/ is pointing (symbolic link) to /var/lib/xkb/, - I see no link $ ls -l total 80 drwxr-xr-x+ 1 JohnKerich None     0 May 31 18:18 locale -rw-r--r--  1 JohnKerich None 17315 Jul 28  2013 rgb.txt -rw-r--r--  1 JohnKerich None  1723 Mar 26 10:18 Xcms.txt -rw-r--r--  1 JohnKerich None 42077 Mar 26 10:18 XErrorDB drwxr-xr-x+ 1 JohnKerich None     0 May 31 18:19 xkb 5.1.6. Loading XKB keymaps fails $ setxkbmap de -model pc105 Cannot open display "default display" $ mount -b "$(cygpath -m /tmp)" /tmp mount: unknown option -- b Try `mount --help' for more information. $ setxkbmap de -print | xkbcomp -w3 -xkm - :0.0 Cannot open display "default display" Error:            Cannot open d •  Check that /usr/bin/xkbcomp can be run from a bash shell. If that fails, see if cygcheck /usr/bin/xkbcomp reports any missing DLLs. $ cygcheck /usr/bin/xkbcomp C:\cygwin64\bin\xkbcomp.exe   C:\cygwin64\bin\cygwin1.dll     C:\Windows\system32\KERNEL32.dll       C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll       C:\Windows\system32\ntdll.dll       C:\Windows\system32\KERNELBASE.dll       C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll       C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll   C:\cygwin64\bin\cygX11-6.dll     C:\cygwin64\bin\cygxcb-1.dll       C:\cygwin64\bin\cygXau-6.dll       C:\cygwin64\bin\cygXdmcp-6.dll   C:\cygwin64\bin\cygxkbfile-1.dll 9.15. Fatal server error: Failed to activate core devices. cygcheck -c xkeyboard-config Cygwin Package Information Package              Version        Status xkeyboard-config     2.14-1         OK $ less /usr/lib/X11/xkb/README.config /usr/lib/X11/xkb/README.config: No such file or directory This is all I found googling.  I have no idea on how to proceed.  Any help would be most appreciated. John T. Kerich 7203 Morrison Drive Greenbelt, MD 20770-2445 Johnkerich2 AT hotmail DOT com 301-982-0045 (H) 301-982-5138 (w) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple