From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29354 invoked by alias); 2 Mar 2020 18:36:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29338 invoked by uid 89); 2 Mar 2020 18:36:23 -0000 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 Received: from nitweb2.nit.at (HELO nitweb2.nit.at) (212.152.181.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Mar 2020 18:36:21 +0000 Reply-To: ron@rblasch.org Subject: Re: Cygwin-X shortcut no longer works after recent updates To: cygwin@cygwin.com References: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca> From: Ronald Blaschke Message-ID: Date: Mon, 02 Mar 2020 18:36:00 -0000 MIME-Version: 1.0 In-Reply-To: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00024.txt 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 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