Harold L Hunt II wrote: > Peter, > > How are you starting Cygwin/X? It sounds like you are using startx, > startxwin.sh, or startxwin.bat, all of which will start the server in > "multi-window mode" which will crash if you try to run KDE remotely > because both multi-window mode and KDE will be trying to run window > managers at the same time when you can only run one at a time.
I use my own custom version of startxwin.bat, the relevant lines are: REM Startup the X Server. start XWin -clipboard REM Startup an xterm, using bash as the shell. run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash run twm I only added the "run twm" command after I figured that selecting text in the xterm window would be a workaround. Because I needed some way of getting to that window which is usually covered by the desktop. :-) > > Please send in /tmp/XWin.log from one of these attempts so we can figure > out the command line being passed to XWin.exe. > My XWin.log after the latest attempt with the .bat file above reads: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 4.3.0.59 Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winScreenInit - dwWidth: 1600 dwHeight: 1200 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600 winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1136 r 1594 l 0 b 1136 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 6376 winAllocateFBShadowDDNL - Created shadow pitch: 6376 winAllocateFBShadowDDNL - Created shadow stride: 1594 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 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 (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00000407" (00000407) (--) Using preset keyboard for "German (Germany)" (407), type "4" Rules = "xfree86" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 797 568 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning. ddxBeforeReset - Hello winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. ddxBeforeReset - Clipboard thread has exited. winDeinitMultiWindowWM - Noting shutdown in progress ---------------------------------------------------------------------- Peter Graf, http://mission.base.com
