From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91994 invoked by alias); 29 Feb 2020 14:15:30 -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 91864 invoked by uid 89); 29 Feb 2020 14:15:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.6 required=5.0 tests=AWL,BAYES_00,FORGED_SPF_HELO,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=folks X-HELO: sa-prd-fep-041.btinternet.com Received: from mailomta14-sa.btinternet.com (HELO sa-prd-fep-041.btinternet.com) (213.120.69.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Feb 2020 14:15:03 +0000 Received: from sa-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.38.6]) by sa-prd-fep-041.btinternet.com with ESMTP id <20200229141501.VQBT4550.sa-prd-fep-041.btinternet.com@sa-prd-rgout-003.btmx-prd.synchronoss.net>; Sat, 29 Feb 2020 14:15:01 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean Received: from [192.168.1.106] (31.51.207.12) by sa-prd-rgout-003.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5E3A268A03D74D67; Sat, 29 Feb 2020 14:15:01 +0000 Subject: Re: Cygwin-X shortcut no longer works after recent updates To: The Cygwin Mailing List References: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca> Cc: Brian Inglis From: Jon Turney Message-ID: Date: Sat, 29 Feb 2020 14:15:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2020-02/txt/msg00278.txt.bz2 On 28/02/2020 07:21, 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. Two copies of xinit suggests to me that it is getting stuck somewhere in the cygwin fork/exec of /etc/X11/xinit/startxwinrc (which in turn starts ~/.startxwinrc if it exists) to start clients. > On exiting the X server, the processes are left running and have to be killed off. > There are sockets and lock files, which are left around after termination: > $ llgo /tmp/.X11-unix/X0* > srw-rw-rw- 1 0 Feb 27 23:11 /tmp/.X11-unix/X0= > -rw------- 1 0 Feb 27 23:11 /tmp/.X11-unix/X0.lock > > The server log /var/log/xwin/XWin.0.log looks normal, and nothing shows in > ~/.xsession-errors. > > My .startxwinrc is a copy of /etc/X11/xinit/startxwinrc with addition of the > minnty terminal startup in bg before leaving xwin-xdg-menu running in fg. > > The shortcut and processes when started normally look like: > > C:\...\cygwin64\bin\run.exe --quote /bin/sh -l -c "cd; exec /usr/bin/startxwin" > /bin/sh /usr/bin/startxwin > \_ xinit /home/$USER/.startxwinrc -- /usr/bin/XWin ... [as below] > \_ /usr/bin/XWin :0 -multiwindow -auth /home/$USER/.serverauth.$PGID > > I have checked the man pages and the Cygwin-X docs for hints about things to > check and try with little success. > > Hints and suggestions about possible problems and problem solving approaches > would be appreciated. -- 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