X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A58423858417
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=astrofoto.org
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=astrofoto.org
X-Authority-Reason: nr=8
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=astrofoto.org; s=default; h=Content-Transfer-Encoding:Content-Type:
 In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:
 Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
 Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
 List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=YMJCgdPum/EIsZtcmEK4kezXG8rNXH93tzVOvkEpzEM=; b=e72BwlTaBXnIURlGjL7mzM83y4
 6gCmO20E1GOTCBxXr12V2deVe/bCIs+jkyyqFwPy+xAFkKmiJxxmN7EyYW+9t1Gzlg07VPoeLyqwq
 e54mUeSVvVEmi+CAAgNWqUEEPhDInHBKBaXK5P2xShLQ5rP/vP2COLUig04mANFo0Cdc=;
Subject: Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus
To: Jon Turney <jon.turney@dronecode.org.uk>,
        The Cygwin Mailing List <cygwin@cygwin.com>
References: <beb86b97-7c86-3685-dd09-e2f98e5070d9@astrofoto.org>
 <b13207ee-740f-f90a-21bb-0ca29efbc471@dronecode.org.uk>
From: Roland Roberts <roland@astrofoto.org>
Organization: not very
Message-ID: <8723609c-4a10-a4fd-47f7-5f4fb3c8ae48@astrofoto.org>
Date: Mon, 23 Aug 2021 08:46:24 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <b13207ee-740f-f90a-21bb-0ca29efbc471@dronecode.org.uk>
Content-Language: en-US
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box2383.bluehost.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - astrofoto.org
X-BWhitelist: no
X-Source-IP: 104.162.85.197
X-Source-L: No
X-Exim-ID: 1mI9LN-002tkE-WD
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: cpe-104-162-85-197.nyc.res.rr.com ([192.168.3.141])
 [104.162.85.197]:49964
X-Source-Auth: roland@astrofoto.org
X-Email-Count: 10
X-Source-Cap: YXN0cm9mb3Q7YXN0cm9mb3Q7Ym94MjM4My5ibHVlaG9zdC5jb20=
X-Local-Domain: yes
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_SOFTFAIL,
 TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 17NCktJi007171

On 8/21/2021 10:49 AM, Jon Turney wrote:
> On 10/08/2021 13:58, Roland Roberts wrote:
>> I have a new, company-supplied Windows 10 laptop, using Cygwin to do 
>> development. I’m having a problem getting XWin to launch apps. XWin 
>> appears to be mostly working normally, meaning if I launch a Cygwin 
>> mintty instance, I can manually set DISPLAY=:0.0 and start up X 
>> application from the shell prompt. But trying to launch from my 
>> .XWinrc, the application never displays and I can’t find a useful 
>> error log to track down the issue. I’m pretty sure it’s some 
>> permission someplace my account doesn’t have (and I can probably get 
>> IT to change that if I can just identify what it is).
>
> I'm not sure what the evidence for this hypothesis is?

You're right, it was a complete guess since that's been where most of my 
problems have been with the new machine.


> [...]
> The process being created, but not changing command is usually 
> symptomatic of problems with cygwin's fork emulation (i.e. the child 
> process gets stuck during the complex synchronization it does with the 
> parent, before exec gets called)
>
>> Any suggestions on where to poke to diagnose this? My home Windows 10 
>> machine has no problem at all. Oh, and cygcheck report version 3.1.4. 
>> Yes, that’s a little old, but we are stuck there until we can work 
>> out an issue with our build environment and the change for 3.1.5+ in 
>> how symlinks are handled.
>
> There are some suggestions about dealing with fork problems in the 
> FAQ, but sometimes nothing works and we don't know why.

Thanks, I'll look through those suggestions. I'm still trying to figure 
out what the key difference in my two environments is that on Windows 10 
machine works fine for this and the other doesn't. And the one where it 
doesn't, it only doesn't work when launched from the XWinrc menu, it 
works fine when launched from mintty.

roland


-- 
Roland Roberts, PhD
Brooklyn, NY USA
https://astrofoto.org


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

