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:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=t+LXUo9mpycUq24f Ie3GnVTLQlVp1U1LvnZMvA+3z+WwAdOaj3Tq+sm5ughY6r9HR6rTYu77nq9P/OQK ECZFtHIqZIxEfCbr8FHCvgzpA2XC4/6Hg0r3bE7gS0vOLEd62kg/WSR5yBJzI1Ds 4TRoYot15wYzccFTraKgMs3im5U= 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:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=7lBhZnrbBabCnZMUYoOQlX yhacY=; b=E1utsarpbDmlcjuMJyQ7zgNtJw6OHxj2r6W1p+YXGaBfhe8YHTr9qJ oUmctCvC6Jbr9LhdtqaCyndrz6tK/ZTHC5+x5V56Omr5hyo9mQGHPIPHj7i532YR L56prm9CTRQkeQ9J0MS7GhRvsm9N5h6yBWVQCTAgxtZmLZsPNCQow= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean Subject: Re: Cygwin-X shortcut no longer works after recent updates To: The Cygwin Mailing List References: <9237e82b-d2c8-99ee-de23-0baf65816418 AT SystematicSw DOT ab DOT ca> Cc: Brian Inglis From: Jon Turney Message-ID: Date: Sat, 29 Feb 2020 14:14:57 +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 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