Re: Can't start X on MS Windows 7

2013-04-12 Thread Harvey Stein (BLOOMBERG/ 731 LEXIN)
 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
   58 546696455 [main] startxwin 15328 fhandler_base::set_flags: 
O_TEXT/O_BINARY set in flags 0x1
   44 546696499 [main] startxwin 15328 fhandler_base::set_flags: filemode set 
to binary
   42 546696541 [main] startxwin 15328 fdsock: fd 3, name '', soc 0xCC8
   54 546696595 [main] startxwin 15328 fhandler_base::set_close_on_exec: set 
close_on_exec for  to 1
   43 546696638 [main] startxwin 15328 cygwin_socket: 3 = socket(23, 1 (flags 
0x200), 0)
   60 546696698 [main] startxwin 15328 cygwin_setsockopt: setsockopt optval=1
   43 546696741 [main] startxwin 15328 cygwin_setsockopt: 0 = setsockopt(3, 6, 
1, 0x28A998, 4)
   51 546696792 [main] startxwin 15328 cygwin_setsockopt: setsockopt optval=1
   43 546696835 [main] startxwin 15328 cygwin_setsockopt: 0 = setsockopt(3, 
65535, 8, 0x28A998, 4)
1003480 547700315 [main] startxwin 15328 __set_errno: void 
__set_winsock_errno(const char*, int):221 setting errno 111
  103 547700418 [main] startxwin 15328 __set_winsock_errno: connect:1078 - 
winsock error 10061 - errno 111
   59 547700477 [main] startxwin 15328 cygwin_connect: -1 = connect(3, 
0x800431E8, 28), errno 111
   41 547700518 [main] startxwin 15328 close: close(3)
   70 547700588 [main] startxwin 15328 fhandler_socket::close: 0 = 
fhandler_socket::close()
   40 547700628 [main] startxwin 15328 close: 0 = close(3)
  398 547701026 [main] startxwin 15328 wait4: calling proc_subproc, pid 15484, 
options 1
   23 547701049 [main] startxwin 15328 proc_subproc: args: 6, 2677248
   19 547701068 [main] startxwin 15328 proc_subproc: wval-pid 15484, 
wval-options 1
   20 547701088 [main] startxwin 15328 checkstate: nprocs 1
   18 547701106 [main] startxwin 15328 stopped_or_terminated: considering pid 
15484, pgid 15484, w-pid 15484
   28 547701134 [main] startxwin 15328 checkstate: no matching terminated 
children found
   19 547701153 [main] startxwin 15328 checkstate: returning -1
   18 547701171 [main] startxwin 15328 proc_subproc: waiting thread found no 
children
   24 547701195 [main] startxwin 15328 proc_subproc: finished processing 
terminated/stopped child
   17 547701212 [main] startxwin 15328 proc_subproc: returning 1
   20 547701232 [main] startxwin 15328 wait4: 0 = cygwait (...)
   18 547701250 [main] startxwin 15328 wait4: 0 = wait4(15484, 0x0, 1, 0x0)
.  231 547701481 [main] startxwin 15328 write: 1 = write(2, 0x611877D7, 1)
  314 547701795 [main] startxwin 15328 clock_nanosleep: clock_nanosleep 
(1.0)
999466 548701261 [main] startxwin 15328 clock_nanosleep: 0 = clock_nanosleep(1, 
0, 1.0, 0.d)
  138 548701399 [main] startxwin 15328 wait4: calling proc_subproc, pid 15484, 
options 1
   78 548701477 [main] startxwin 15328 proc_subproc: args: 6, 2677248
   67 548701544 [main] startxwin 15328 proc_subproc: wval-pid 15484, 
wval-options 1
   74 548701618 [main] startxwin 15328 checkstate: nprocs 1
   65 548701683 [main] startxwin 15328 stopped_or_terminated: considering pid 
15484, pgid 15484, w-pid 15484
   60 548701743 [main] startxwin 15328 checkstate: no matching terminated 
children found
   60 548701803 [main] startxwin 15328 checkstate: returning -1
   59 548701862 [main] startxwin 15328 proc_subproc: waiting thread found no 
children
   59 548701921 [main] startxwin 15328 proc_subproc: finished processing 
terminated/stopped child
   54 548701975 [main] startxwin 15328 proc_subproc: returning 1
   34 548702009 [main] startxwin 15328 wait4: 0 = cygwait (...)
   23 548702032 [main] startxwin 15328 wait4: 0 = wait4(15484, 0x0, 1, 0x0)
.  249 548702281 [main] startxwin 15328 write: 1 = write(2, 0x611877D7, 1)
  319 548702600 [main] startxwin 15328 clock_nanosleep: clock_nanosleep 
(1.0)
999723 549702323 [main] startxwin 15328 clock_nanosleep: 0 = clock_nanosleep(1, 
0, 1.0, 0.d)


- Original Message -
From: cygwin-xfree
To: HARVEY STEIN (BLOOMBERG/ 731 LEXIN), cygwin-xfree
At: Apr 12 2013 09:37:32

On 11/04/2013 18:00, Harvey Stein (BLOOMBERG/ 731 LEXIN) wrote:
 $ startxwin
[...]
 (--) 3 mouse buttons found

There should be a few more lines after this in a normal X server startup.

This looks like perhaps the X server is somehow getting stuck trying to run
xkbcomp during it's startup.  You might want to take a look at FAQ entries
[1],[2] which discuss software which has been known to interfere with the
operation of Cygwin.

[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#freeze-at-startup
[2] http://cygwin.com/faq-nochunks.html#faq.using.bloda

 waiting for X server to begin accepting connections .
 ..
 ..
 ..
 ..
 .. 

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer


Can't start X on MS Windows 7

2013-04-11 Thread Harvey Stein (BLOOMBERG/ 731 LEXIN)
I'm trying to run X under MS Windows 7 within Cygwin.  I bring up a bash 
window, run startxwin  I get:

waiting for X server to begin accepting connections .
..
..
..
..

and it never starts up.  An X icon appears on the toolbar  then disappears.  
XWin.exe shows up in the task manager  doesn't exit.  I searched the mailing 
list  found the suggestion of wiping out the full installation  reinstalling, 
but I'd rather avoid that.  Any other ideas?

Output (which appears to match /var/log/xwin/XWin.0.log):

$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.0.0
OS: CYGWIN_NT-6.1-WOW64 NY731-3W-143A 1.7.17(0.262/5/3) 2012-10-19 14:39 i686
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Package: version 1.14.0-2 built 2013-04-11

XWin was started with the following command line:

X :0 -multiwindow

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension XFree86-Bigfont
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension GLX
(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/hstein/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
winDetectSupportedEngines - Windows NT, allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 001f
winSetEngine - Multi Window or Rootless = ShadowGDI
winScreenInit - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 2560 height: 1440 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
GL_VERSION: 4.2.0
GL_VENDOR:  NVIDIA Corporation
GL_RENDERER:NVS 310/PCIe/SSE2
(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) 482 pixel formats reported by wglGetPixelFormatAttribivARB
(II) AIGLX: Set GLX version to 1.4
(II) 359 fbConfigs
(II) GLX: Initialized Win32 native WGL GL provider for screen 0
[dix] Could not init font path element /usr/share/fonts/TTF/, removing from 
list!
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from 
list!
winPointerWarpCursor - Discarding first warp: 1280 720
(--) 3 mouse buttons found

waiting for X server to begin accepting connections .
..
..
..
..
..