Re: Problem starting the X server

2014-09-26 Thread Jon TURNEY

On 26/09/2014 03:52, Joel Ledain wrote:

I just installed the Cygwin packages on top of a "Windows 7". The
machine is Gateway NV55S28u. Install went fine. Rebooted the machine and
tried the bash window, this works fine. Then tried to start the X
server, and here I have a problem. I thing my problem is related to the
keyboard binding/support/missing packages...

I tried to use the command setxkbmap, but without the X server running I
am not getting anything beside "cannot open display".

For the Windows control panel -> devices -> keyboard, I see a "standard
PS2 keyboard".  I have the xkeyboard-config package installed.

I am attaching the log of my troubles.



(EE) Couldn't open compiled keymap file /var/lib/xkb/server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.
(EE) Couldn't open compiled keymap file /var/lib/xkb/server-0.xkm
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) Server terminated with error (1). Closing log file.


You should check that xkeyboard-config and xkbcomp are installed 
correctly, that xkbcomp can be run, and that you don't have any software 
which is known to interfere with cygwin installed, as described at [1].


You might also check if the TEMP or TMP environment variables are set, 
and if so, contain the unix-style pathname of a directory which both 
exists and is writeable.


If that doesn't help, perhaps could you try the snapshot [2], which is 
built with additional debug logging enabled.


[1] 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-failed-to-compile-keymap
[2] 
ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20140926-git-6f318e09efcfdbe9.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/



Problem starting the X server

2014-09-25 Thread Joel Ledain

Hello good guys,

I just installed the Cygwin packages on top of a "Windows 7". The 
machine is Gateway NV55S28u. Install went fine. Rebooted the machine and 
tried the bash window, this works fine. Then tried to start the X 
server, and here I have a problem. I thing my problem is related to the 
keyboard binding/support/missing packages...


I tried to use the command setxkbmap, but without the X server running I 
am not getting anything beside "cannot open display".


For the Windows control panel -> devices -> keyboard, I see a "standard 
PS2 keyboard".  I have the xkeyboard-config package installed.


I am attaching the log of my troubles.

Thanks in advance for your great help.
Joel LEDAIN
Script started on Thu, Sep 25, 2014  5:59:11 PM
$ echo $XAPPLRESDIR $XCMSDB $XNLSPATH $XKEYSYMDB $DISPLAY

$ cygcheck -c xkeyboard-config
Cygwin Package Information
Package  VersionStatus
xkeyboard-config 2.12-1 OK
$ which xkbcomp 
/usr/bin/xkbcomp
$ ls -l /usr/bin/xkbcomp
-rwxr-xr-x 1 joel None 189971 Apr  8  2013 /usr/bin/xkbcomp
$ /usr/bin/xkbcomp
Error:No input file specified
$ 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

$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.16.0.0
OS: CYGWIN_NT-6.1 Joel_laptop 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.16.0-2 built 2014-09-16

XWin was started with the following command line:

X :0 -multiwindow 

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/joel/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0015
winSetEngine - Multi Window or Rootless => ShadowGDI
winScreenInit - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
GL_VERSION: 4.1.11159 Compatibility Profile Context
GL_VENDOR:  ATI Technologies Inc.
GL_RENDERER:AMD Radeon(TM) HD 6520G
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: enabled GLX_SGIX_pbuffer
(II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
(II) 107 pixel formats reported by wglGetPixelFormatAttribivARB
(II) AIGLX: Set GLX version to 1.4
(II) 30 fbConfigs
(II) ignored pixel formats: 0 not OpenGL, 12 RBGA float, 30 RGBA unsigned 
float, 0 unknown pixel type, 35 unaccelerated
(II) GLX: Initialized Win32 native WGL GL provider for screen 0
(EE) Couldn't open compiled ke