delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/03/00:15:12

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=XPf
5bKpo4U8NB3aLw5xLBnR/dnO7uSEG/CWj0iiE2eAXXJ36aTmEW8flRiZ7vldQMN+
UGYFim9jXJzgfxy+A4YBCM7R28NlDTIWF6lvsYP4lB3JbW5mqQh4ZVIqPmJ8kuzT
S/x3ibHi5fwA0T7rSdIBho8smsDrYSTJD1fsoAww=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=Ze8JBplOG
bIe/nmWAAe5e3ufRbQ=; b=bOCbaNnl714q4EeSp4nh30SV8ZV+MD6Jq9+HICpi0
UaYnS/1wGZ/GSUK7Y6YscAm2VJ4cgmyl2DVnV8biY+5NDVZENyEkTgk+TzTo6zka
srLIvjVAIexZ8AI7skYvZ7mBzTu+CmEVu1RrGsTT8AwME5r6jqaJs2Fblctc5pih
nA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=mouse, Package, roland, provider
X-HELO: gproxy3-pub.mail.unifiedlayer.com
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=astrofoto.org; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=G6p8npekQ4zlRutLCbxbOpOGRo2ayaxWplXA8Zst6ts=; b=AL00o7iGP0arcpT2Hh6lqe1OAC 47WNuVBm2pwttExmWQp21bPk+bvLlVWgrTKNMt1klXZbjQZIIWGMcF7iJ2ZvUmpkrgR6Ki/L0T2RJ 9uCH2o8mJEr6EpHjSrnkIx+uR4bgINs44jiH+Cx5VG8P7ylBRWJNPR3bAT5bGBlzmkqo=;
To: cygwin AT cygwin DOT com
From: Roland Roberts <roland AT astrofoto DOT org>
Subject: Cygwin/X XWinrc menu no longer launches after recent updates
Message-ID: <345b8a7a-bcbb-450b-08c0-943f3bb3b683@astrofoto.org>
Date: Tue, 3 Mar 2020 00:14:12 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
X-Org: HG=bhcustomer;ORG=bluehost;
X-IsSubscribed: yes

I only noticed this in the last week or so, and assumed I'd messed up 
something with Windows 10 permission, which is still a possibility. My
first attempt to "fix" this was to reinstall pretty much everything in
Cygwin that was part of X11 or Base. And that seemed to fix 
things...until I rebooted Windows.

There are no errors in the logs, not stackdumps, nothign to indicate 
anything is not working. The X log is below. You'll notice it says

     "executing '/bin/mintty', pid 3152"

but that window never opens. If I start a shell directly via my desktop 
shortcut, which has this as it's target

     C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

I can see that there is no PID 3152.

My .XWinrc is this:

---- .XWinrc ----
menu root {
  "Cygwin Terminal" exec "/bin/mintty -e /bin/bash"
  Emacs exec "/bin/emacs"
  xterm exec "/bin/xterm"
  notepad exec notepad
  SEPARATOR
  FAQ            EXEC "cygstart 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html"
  "User's Guide" EXEC "cygstart 
http://x.cygwin.com/docs/ug/cygwin-x-ug.html"
  SEPARATOR
  "View logfile" EXEC "xterm -title $XWINLOGFILE -e less +F $XWINLOGFILE"
  SEPARATOR
  "Reload .XWinrc"        RELOAD
  SEParATOR
}

RootMenu root
----

and my .startxwinrc is

---- .startxwinrc ----
if [ -f $HOME/.Xdefaults ]; then
     xrdb -merge $HOME/.Xdefaults &
fi
sleep infinity
----

I'm lost on what might be causing this. One thing that I *did* change, 
though that was over a month ago, was to add the Cygwin sshd service. On 
the off-chance that that was the issue, I disabled it and rebooted to 
get a clean start. No joy, I still can't launch from the .XWinrc menu. 
The log entry makes it clear that it is seen and is trying.

Oh, and from a mintty shell, if I set DISPLAY=:0.0 when X is running, I 
*can* launch other X apps.

2041 roland> cat XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 flamsteed 3.1.4-340.x86_64 2020-02-19 08:49 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
  /home/roland/.serverauth.2909

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 2560 h 1440
winInitializeScreenDefaults - native DPI x 96 y 96
[   734.546] (II) xorg.conf is not supported
[   734.546] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
[   734.546] LoadPreferences: Loading /home/roland/.XWinrc
[   734.562] winDetectSupportedEngines - RemoteSession: no
[   734.625] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[   734.625] winDetectSupportedEngines - Returning, supported engines 
00000005
[   734.625] winSetEngine - Multi Window or Rootless => ShadowGDI
[   734.625] winScreenInit - Using Windows display depth of 32 bits per 
pixel
[   734.625] winAllocateFBShadowGDI - Creating DIB with width: 3760 
height: 1920 depth: 32
[   734.625] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[   734.625] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 
BPRGB 8 d 24 bpp 32
[   734.625] MIT-SHM extension disabled due to lack of kernel support
[   734.625] XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
[   734.640] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[   735.171] (II) AIGLX: Testing pixelFormatIndex 5
[   735.265] GL_VERSION:     4.6.0 NVIDIA 425.91
[   735.265] GL_VENDOR:      NVIDIA Corporation
[   735.265] GL_RENDERER:    Quadro K1000M/PCIe/SSE2
[   735.265] (II) GLX: enabled GLX_SGI_make_current_read
[   735.265] (II) GLX: enabled GLX_SGI_swap_control
[   735.265] (II) GLX: enabled GLX_MESA_swap_control
[   735.265] (II) GLX: enabled GLX_SGIX_pbuffer
[   735.265] (II) GLX: enabled GLX_ARB_multisample
[   735.265] (II) GLX: enabled GLX_SGIS_multisample
[   735.265] (II) GLX: enabled GLX_ARB_fbconfig_float
[   735.265] (II) GLX: enabled GLX_EXT_fbconfig_packed_float
[   735.265] (II) GLX: enabled GLX_ARB_create_context
[   735.265] (II) GLX: enabled GLX_ARB_create_context_profile
[   735.265] (II) GLX: enabled GLX_ARB_create_context_robustness
[   735.265] (II) GLX: enabled GLX_EXT_create_context_es2_profile
[   735.265] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   735.265] (II) 1182 pixel formats reported by 
wglGetPixelFormatAttribivARB
[   735.296] (II) 1146 fbConfigs
[   735.296] (II) ignored pixel formats: 0 not OpenGL, 0 unknown pixel 
type, 36 unaccelerated
[   735.296] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[   735.562] winPointerWarpCursor - Discarding first warp: 1880 960
[   735.562] (--) 5 mouse buttons found
[   735.562] (--) Setting autorepeat to delay=500, rate=31
[   735.562] (--) Windows keyboard layout: "00000409" (00000409) "US", 
type 7
[   735.562] (--) Found matching XKB configuration "English (USA)"
[   735.562] (--) Model = "pc105" Layout = "us" Variant = "none" Options 
= "none"
[   735.562] Rules = "base" Model = "pc105" Layout = "us" Variant = 
"none" Options = "none"
[   735.562] [   735.562] winInitMultiWindowWM - DISPLAY=:0.0
winMultiWindowXMsgProc - DISPLAY=:0.0
[   735.625] winInitMultiWindowWM - xcb_connect () returned and 
successfully opened the display.
[   735.625] winProcEstablishConnection - winInitClipboard returned.
[   735.625] winClipboardThreadProc - DISPLAY=:0.0
[   735.625] winMultiWindowXMsgProc - xcb_connect() returned and 
successfully opened the display.
[   735.625] winClipboardProc - xcb_connect () returned and successfully 
opened the display.
[   735.625] Using Composite redirection
[   795.156] executing '/bin/mintty', pid 3152
[  1287.562] LoadPreferences: Loading /home/roland/.XWinrc
[  1287.562] SetupSysMenu: GetSystemMenu() failed for HWND 0x5093c
[  1287.562] SetupSysMenu: GetSystemMenu() failed for HWND 0x507be


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019