delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/02/15:26:30

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=shtIyvfG2e6JRFHk
u5j8llcrskQhYiqDRHMzdcT+yX/wR7KS2wbDMYANYQK0aPZ+pRUk7JaFTBougUIC
lPAtbI68krNQX/ycdvtL9g+wkpBzhFw1uTaT3nA3NzL8s/Er/oERq5eCQVbApBXP
Q/hF0vjJoQhKJPVa6PwYISrDU3A=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=2LU8eyq6P1YDVWonV1ofnV
NJFZI=; b=YDrgydGu7LzK0NHisPzO4x6ziCMis1tu1KVmasF3jwXCcBOWMYJ4RU
vl17YjwAVNnEOdoa+qWIMCPzqDEQ4gvoKHSh3IAmu+I5JyJTCz577ZVs6PMqrp/8
ute0+g0pYGtz4h+gS3jG+VJ7mv6Ls+DhzjMzlJuVgDOPhB1JXB3oE=
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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:sk:9237e82
X-HELO: nitweb2.nit.at
Reply-To: ron AT rblasch DOT org
Subject: Re: Cygwin-X shortcut no longer works after recent updates
To: cygwin AT cygwin DOT com
References: <9237e82b-d2c8-99ee-de23-0baf65816418 AT SystematicSw DOT ab DOT ca>
From: Ronald Blaschke <mailing-lists AT rblasch DOT org>
Message-ID: <cdd3d45d-c2ce-6efd-eb6e-d8a709d1e581@rblasch.org>
Date: Mon, 2 Mar 2020 19:36:17 +0100
MIME-Version: 1.0
In-Reply-To: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca>
X-IsSubscribed: yes

On 2/28/20 8:21 AM, Brian Inglis wrote:
> Hi folks,
> 
> After the recent upgrades to cygwin 3.1.4, perl, etc. I have found that the
> Cygwin-X Startup, Start Menu, and Task Bar shortcuts no longer work, although I
> can start Cygwin-X by running startxwin from a mintty window.
> 
>>From the shortcut, the shell is invoked to run startxwin normally, two copies of
> xinit fork, and Xwin runs and displays the start tray Xserver icon, but my
> mintty terminal and the xwin-xdg-menu clients don't start.

I think I am seeing the same problem. Here are a few observations.

1) The issue happens often, but not always, when starting with the
Windows shortcut.  Currently, I am retrying a few times until the
startup works.  I have been unable to reproduce the issue starting
startxwin from a mintty window.

2) XWin always seems to start fine.

3) If the issue comes up, I am always seeing the following hanging
process tree.

3969 cons0    S      0:00  \_ xinit ...
 3970 cons0    S      0:00      \_ /usr/bin/XWin ...
 3974 ?        Ss     0:00      \_ /usr/bin/sh <defunct>

In Windows, this looks like so.

    C:\cygwin64\bin\xinit.exe
    \_ C:\cygwin64\bin\xinit.exe
      \_ C:\cygwin64\bin\sh.exe
    C:\cygwin64\bin\XWin.exe

Currently, I am killing the defunct sh, which seems to properly clean up
everything, and try again.

Ron

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