X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=C2u3 nHbvCp4jCDp85L0529metGu4GXdlhr7xVY9bnZwuQBogFbTn9XogDT8xQA7dirf7 1Gp9Noj7G4oFgv8Drdlkq3iuGIStVYCi5GKKQiYFaBV/nnBA6UJvzVDte9uu27fy k9BxTER972sinKw8WUJ2oFjqPrhktAIkTK5+09A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=/WDNq9tW5R qFP/BP79TS3AAbIsA=; b=V2IBwlvxtNgU33IoTocHc8gOgZJsQYyEsM3OuG2bYQ nt7oEVDhpx/UVR94/cxP/TX2GqQ4J0I0IsXkeh7VVJLmw8ksootKtu2U9OyGHfSr XIup1LTTqeRbgto2VD6RSL2Xbntizb1Mm+jj2sjfe/LzC01GiPMUD/WXiX3hSkQm Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: pobox2.f5esx.sfu.ca Date: Sat, 28 Nov 2015 19:34:12 -0800 From: Peter Van Epp To: cygwin AT cygwin DOT com Subject: Re: startx doesn't seem to work (solved sort of) Message-ID: <20151129033412.GA26233@sfu.ca> References: <20151122031805 DOT GA7230 AT sfu DOT ca> <20151123211554 DOT GA21840 AT sfu DOT ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151123211554.GA21840@sfu.ca> User-Agent: Mutt/1.5.20 (2009-06-14) I can get startx to work by one of two methods (neither probably ideal) (on cygwin-64 in case that matters): 1) install everything in X11 at which point this (with only xinit, xorg-server and xterm selected): $ startx xauth: file /home/Owner/.Xauthority does not exist xauth: file /home/Owner/.Xauthority does not exist Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.17.4.0 OS: CYGWIN_NT-6.1 Owner-PC 2.3.1(0.291/5/3) 2015-11-14 12:44 x86_64 OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) Package: version 1.17.4-1 built 2015-10-29 XWin was started with the following command line: /usr/bin/X :0 -auth /home/Owner/.serverauth.2004 (II) xorg.conf is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information LoadPreferences: /home/Owner/.XWinrc not found LoadPreferences: Loading /etc/X11/system.XWinrc LoadPreferences: Done parsing the configuration file... winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL winDetectSupportedEngines - Returning, supported engines 00000005 winSetEngine - Using Shadow DirectDraw NonLocking winScreenInit - Using Windows display depth of 32 bits per pixel winWindowProc - WM_SIZE - new client area w: 1904 h: 1002 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 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_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_EXT_texture_from_pixmap (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winPointerWarpCursor - Discarding first warp: 952 501 (--) 5 mouse buttons found (--) Setting autorepeat to delay=500, rate=31 (--) Windows keyboard layout: "00000409" (00000409) "US", type 7 (--) Found matching XKB configuration "English (USA)" (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" winProcEstablishConnection - winInitClipboard returned. winClipboardThreadProc - DISPLAY=:0.0 OS maintains clipboard viewer chain: yes winClipboardProc - XOpenDisplay () returned and successfully opened the display. xinit: connection to X server lost waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winDeinitMultiWindowWM - Noting shutdown in progress (II) Server terminated successfully (0). Closing log file. Owner AT Owner-PC ~ $ /usr/bin/xterm: Xt error: Can't open display: :0 which opens a full screen window for a few seconds and then returns to the command prompt closing X. After loading everything it turns in to this: XWin was started with the following command line: /usr/bin/X :0 -auth /home/Owner/.serverauth.5296 (II) xorg.conf is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information LoadPreferences: /home/Owner/.XWinrc not found LoadPreferences: Loading /etc/X11/system.XWinrc LoadPreferences: Done parsing the configuration file... winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL winDetectSupportedEngines - Returning, supported engines 00000005 winSetEngine - Using Shadow DirectDraw NonLocking winScreenInit - Using Windows display depth of 32 bits per pixel winWindowProc - WM_SIZE - new client area w: 1904 h: 1002 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 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_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_EXT_texture_from_pixmap (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winPointerWarpCursor - Discarding first warp: 952 501 (--) 5 mouse buttons found (--) Setting autorepeat to delay=500, rate=31 (--) Windows keyboard layout: "00000409" (00000409) "US", type 7 (--) Found matching XKB configuration "English (USA)" (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" winProcEstablishConnection - winInitClipboard returned. winClipboardThreadProc - DISPLAY=:0.0 OS maintains clipboard viewer chain: yes winClipboardProc - XOpenDisplay () returned and successfully opened the display. xinit: connection to X server lost waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winDeinitMultiWindowWM - Noting shutdown in progress (II) Server terminated successfully (0). Closing log file. Which results in the expected X windows system til I exited. or 2) install everything in Xfce in which case startx starts the xfce4 desktop. Since I'm happy with xfce4, thats my solution. However it appears to me that there is a dependency missing in xorg-server as it doesn't appear to load enough to make X actually work. From the error messages it looks to to be in winClipboardProc since that seems to be where the error occurs, but I have no idea where winClipboardProc is in the mass of packages in X11. Peter Van Epp -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple