On 3/14/2010 10:17 AM, Jeff Spirko wrote:
The icon runs from the Windows environment, so the run.exe and
bash.exe wrapper programs are needed to set up the proper cygwin
environment.  Once you're in a cygwin shell, you already have the
cygwin environment set up.  That's why you don't need to type them in
from the command line.

So, they really should be equivalent.

I would have thought so, too. However, the fact remains that the outcomes are different for the two methods of starting X.

I can live with working around the second problem (that launching X using the shortcut doesn't work at all) by invoking startxwin.exe directly. I'm much more eager to solve the original problem (X no longer recognizes input from the keyboard). So, while I don't want to discourage anyone from looking for clues to solving the keyboard input problem in the log file from the launch of X which blows up, I am focusing on the original problem myself. Attached is the log file from launch of X which does *not* result in the failure dialog window, but whose X session is not able to use input from the keyboard.

--
Bob Kline
http://www.rksystems.com
mailto:bkl...@rksystems.com

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.5.0 (10705000)
Build Date: 2010-02-25

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

X :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1920 h 1200
winInitializeDefaultScreens - Returning
2010-03-14 12:12:19 (WW) /tmp mounted in textmode
2010-03-14 12:12:19 _XSERVTransSocketOpenCOTSServer: Unable to open socket for 
inet6
2010-03-14 12:12:19 _XSERVTransOpen: transport open failed for inet6/xp:0
2010-03-14 12:12:19 _XSERVTransMakeAllCOTSServerListeners: failed to open 
listener for inet6
2010-03-14 12:12:20 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
2010-03-14 12:12:20 (II) xorg.conf is not supported
2010-03-14 12:12:20 (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
2010-03-14 12:12:20 LoadPreferences: /cygdrive/c/home/bkline/.XWinrc not found
2010-03-14 12:12:20 LoadPreferences: Loading /etc/X11/system.XWinrc
2010-03-14 12:12:20 LoadPreferences: Done parsing the configuration file...
2010-03-14 12:12:20 winGetDisplay: DISPLAY=:0.0
2010-03-14 12:12:20 winDetectSupportedEngines - Windows NT/2000/XP
2010-03-14 12:12:20 winDetectSupportedEngines - DirectDraw installed
2010-03-14 12:12:20 winDetectSupportedEngines - DirectDraw4 installed
2010-03-14 12:12:20 winDetectSupportedEngines - Returning, supported engines 
00000007
2010-03-14 12:12:20 winSetEngine - Multi Window or Rootless => ShadowGDI
2010-03-14 12:12:20 winAdjustVideoModeShadowGDI - Using Windows display depth 
of 32 bits per pixel
2010-03-14 12:12:20 winAllocateFBShadowGDI - Creating DIB with width: 1920 
height: 1200 depth: 32
2010-03-14 12:12:20 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
2010-03-14 12:12:20 winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 
BPRGB 8 d 24 bpp 32
2010-03-14 12:12:20 null screen fn ReparentWindow
2010-03-14 12:12:20 null screen fn RestackWindow
2010-03-14 12:12:20 InitQueue - Calling pthread_mutex_init
2010-03-14 12:12:20 InitQueue - pthread_mutex_init returned
2010-03-14 12:12:20 InitQueue - Calling pthread_cond_init
2010-03-14 12:12:20 InitQueue - pthread_cond_init returned
2010-03-14 12:12:20 winInitMultiWindowWM - Hello
2010-03-14 12:12:20 winMultiWindowXMsgProc - Hello
2010-03-14 12:12:20 Screen 0 added at XINERAMA coordinate (0,0).
2010-03-14 12:12:20 winInitMultiWindowWM - Calling pthread_mutex_lock ()
2010-03-14 12:12:20 winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
2010-03-14 12:12:20 MIT-SHM extension disabled due to lack of kernel support
2010-03-14 12:12:20 XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
2010-03-14 12:12:20 (II) AIGLX: Loaded and initialized 
/usr/lib/dri/swrast_dri.so
2010-03-14 12:12:20 (II) GLX: Initialized DRISWRAST GL provider for screen 0
2010-03-14 12:12:28 winPointerWarpCursor - Discarding first warp: 960 600
2010-03-14 12:12:28 (--) 3 mouse buttons found
2010-03-14 12:12:28 (--) Setting autorepeat to delay=500, rate=31
2010-03-14 12:12:28 (--) winConfigKeyboard - Layout: "00000409" (00000409) 
2010-03-14 12:12:28 (--) Using preset keyboard for "English (USA)" (409), type 
"4"
2010-03-14 12:12:28 Rules = "base" Model = "pc105" Layout = "us" Variant = 
"none" Options = "none"
2010-03-14 12:12:28 winInitMultiWindowWM - pthread_mutex_lock () returned.
2010-03-14 12:12:28 winProcEstablishConnection - Hello
2010-03-14 12:12:28 winInitClipboard ()
2010-03-14 12:12:28 winInitMultiWindowWM - pthread_mutex_unlock () returned.
2010-03-14 12:12:28 winMultiWindowXMsgProc - pthread_mutex_lock () returned.
2010-03-14 12:12:28 winGetDisplay: DISPLAY=:0.0
2010-03-14 12:12:28 winProcEstablishConnection - winInitClipboard returned.
2010-03-14 12:12:28 winClipboardProc - Hello
2010-03-14 12:13:27 (WW) /tmp mounted in textmode
2010-03-14 12:13:27 winInitMultiWindowWM - DISPLAY=:0.0
2010-03-14 12:13:27 winInitMultiWindowWM - DISPLAY=:0.0
2010-03-14 12:13:27 DetectUnicodeSupport - Windows NT/2000/XP
2010-03-14 12:13:27 winGetDisplay: DISPLAY=:0.0
2010-03-14 12:13:27 winMultiWindowXMsgProc - DISPLAY=:0.0
2010-03-14 12:13:27 winInitMultiWindowWM - Could not open display, try: 1, 
sleeping: 5
2010-03-14 12:13:27 (II) xorg.conf is not supported
2010-03-14 12:13:27 winClipboardProc - DISPLAY=:0.0
2010-03-14 12:13:27 (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
2010-03-14 12:13:27 winMultiWindowXMsgProc - Could not open display, try: 1, 
sleeping: 5
2010-03-14 12:13:27 winClipboardProc - Could not open display, try: 1, 
sleeping: 4
2010-03-14 12:13:27 winClipboardProc - Could not open display, try: 1, 
sleeping: 4
2010-03-14 12:13:27 LoadPreferences: /cygdrive/c/home/bkline/.XWinrc not found
2010-03-14 12:13:27 LoadPreferences: Loading /etc/X11/system.XWinrc
2010-03-14 12:13:27 LoadPreferences: Done parsing the configuration file...
2010-03-14 12:13:27 winMultiWindowXMsgProc - Could not open display, try: 2, 
sleeping: 5
2010-03-14 12:13:27 winGetDisplay: DISPLAY=:0.0
2010-03-14 12:13:27 winDetectSupportedEngines - Windows NT/2000/XP
2010-03-14 12:13:27 winDetectSupportedEngines - DirectDraw installed
2010-03-14 12:13:27 winDetectSupportedEngines - DirectDraw4 installed
2010-03-14 12:13:27 winDetectSupportedEngines - DirectDraw4 installed
2010-03-14 12:13:27 winDetectSupportedEngines - Returning, supported engines 
00000007
2010-03-14 12:14:27 winInitMultiWindowWM - Could not open display, try: 2, 
sleeping: 5

--
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/

Reply via email to