public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Problem starting the X server
@ 2014-09-26  2:52 Joel Ledain
  2014-09-26 16:04 ` Jon TURNEY
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Ledain @ 2014-09-26  2:52 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

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

[-- Attachment #2: typescript.txt --]
[-- Type: text/plain, Size: 12111 bytes --]

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              Version        Status
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 00000015
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: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 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 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) 
(EE) Server terminated with error (1). Closing log file.
winDeinitMultiWindowWM - Noting shutdown in progress
startxwin: giving up
startxwin: unable to connect to X server: Connection refused
startxwin: server error



$ xwin -logverbose 100
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:

xwin -logverbose 100 

OsVendorInit - Creating default screen 0
winInitializeScreens - 1
winInitializeScreen - 0
winValidateArgs - Returning.
(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...
winGetDisplay: DISPLAY=:0.0
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 00000015
winMsgWindowThreadProc - Hello
winScreenInit - dwWidth: 1366 dwHeight: 768
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1366 h: 768
winCreateBoundingWindowWindowed - Current w: 1366 h: 768
winGetWorkArea - Monitor 1 WorkArea: 0 0 728 1366
winAdjustForAutoHide - Original WorkArea: 0 0 728 1366
winCreateMsgWindow - Created msg window hwnd 0x70174
winAdjustForAutoHide - Adjusted WorkArea: 0 0 728 1366
winCreateBoundingWindowWindowed - WindowClient w 1350 h 690 r 1350 l 0 b 690 t 4294967296
winWindowProc - WM_ACTIVATEAPP
winWindowProc - WM_SIZE - new client area w: 1350 h: 690
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 5400
winAllocateFBShadowDDNL - Created shadow pitch: 5400
winAllocateFBShadowDDNL - Created shadow stride: 1350
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
winRandRInit ()
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
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
(EE) AIGLX: No native OpenGL in modes with a root window
(II) AIGLX: enabled GLX_EXT_texture_from_pixmap
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(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) 
(EE) Server terminated with error (1). Closing log file.
winWindowProc - WM_ACTIVATEAPP


$ ls -l /var/lib/xkb/server-0.xkm
ls: cannot access /var/lib/xkb/server-0.xkm: No such file or directory

$ cat /var/log/xwin/XWin.0.log
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:

xwin -logverbose 100 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1366 h 768
winInitializeScreenDefaults - native DPI x 96 y 96
[  1342.170] OsVendorInit - Creating default screen 0
[  1342.170] winInitializeScreens - 1
[  1342.170] winInitializeScreen - 0
[  1342.185] winValidateArgs - Returning.
[  1342.185] (II) xorg.conf is not supported
[  1342.185] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[  1342.185] LoadPreferences: /home/joel/.XWinrc not found
[  1342.185] LoadPreferences: Loading /etc/X11/system.XWinrc
[  1342.185] LoadPreferences: Done parsing the configuration file...
[  1342.185] winGetDisplay: DISPLAY=:0.0
[  1342.263] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[  1342.263] winDetectSupportedEngines - Returning, supported engines 00000015
[  1342.263] [  1342.263] winScreenInit - dwWidth: 1366 dwHeight: 768
winMsgWindowThreadProc - Hello
[  1342.263] winSetEngine - Using Shadow DirectDraw NonLocking
[  1342.263] winScreenInit - Using Windows display depth of 32 bits per pixel
[  1342.263] winCreateBoundingWindowWindowed - User w: 1366 h: 768
[  1342.263] winCreateBoundingWindowWindowed - Current w: 1366 h: 768
[  1342.263] winGetWorkArea - Monitor 1 WorkArea: 0 0 728 1366
[  1342.263] winAdjustForAutoHide - Original WorkArea: 0 0 728 1366
[  1342.263] winCreateMsgWindow - Created msg window hwnd 0x70174
[  1342.263] winAdjustForAutoHide - Adjusted WorkArea: 0 0 728 1366
[  1342.263] winCreateBoundingWindowWindowed - WindowClient w 1350 h 690 r 1350 l 0 b 690 t 4294967296
[  1342.279] winWindowProc - WM_ACTIVATEAPP
[  1342.279] winWindowProc - WM_SIZE - new client area w: 1350 h: 690
[  1342.279] winCreateBoundingWindowWindowed -  Returning
[  1342.388] winCreatePrimarySurfaceShadowDDNL - Creating primary surface
[  1342.388] winCreatePrimarySurfaceShadowDDNL - Created primary surface
[  1342.388] winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
[  1342.388] winAllocateFBShadowDDNL - lPitch: 5400
[  1342.388] winAllocateFBShadowDDNL - Created shadow pitch: 5400
[  1342.388] winAllocateFBShadowDDNL - Created shadow stride: 1350
[  1342.388] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[  1342.388] winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[  1342.404] winRandRInit ()
[  1342.404] winCreateDefColormap - Deferring to fbCreateDefColormap ()
[  1342.404] winFinishScreenInitFB - returning
[  1342.404] winScreenInit - returning
[  1342.404] InitOutput - Returning.
[  1342.419] MIT-SHM extension disabled due to lack of kernel support
[  1342.419] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[  1342.435] (EE) AIGLX: No native OpenGL in modes with a root window
[  1344.276] (II) AIGLX: enabled GLX_EXT_texture_from_pixmap
[  1344.276] (II) AIGLX: Loaded and initialized swrast
[  1344.276] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  1344.432] (EE) Couldn't open compiled keymap file /var/lib/xkb/server-0.xkm
[  1344.432] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[  1344.494] (EE) Couldn't open compiled keymap file /var/lib/xkb/server-0.xkm
[  1344.494] XKB: Failed to compile keymap
[  1344.494] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[  1344.494] (EE) Fatal server error:
[  1344.494] (EE) Failed to activate core devices.(EE) 
[  1344.494] (EE) Server terminated with error (1). Closing log file.



$ exit
exit

Script done on Thu, Sep 25, 2014  6:37:37 PM


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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] 2+ messages in thread

* Re: Problem starting the X server
  2014-09-26  2:52 Problem starting the X server Joel Ledain
@ 2014-09-26 16:04 ` Jon TURNEY
  0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2014-09-26 16:04 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: jzl00

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/


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

end of thread, other threads:[~2014-09-26 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26  2:52 Problem starting the X server Joel Ledain
2014-09-26 16:04 ` Jon TURNEY

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