delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/28/02:22:45

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:to:from:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=OwmAnZOt4Iuuf2VPMT/UEQ5f7NG0J2/IsvGBYPBw5sFXVIZ+CpcAE
CRVF0+FtyTvWWAn+ZWTAU8QV04W1kLDh58UKFKfNS/ioGcUtnE8tSn8wLqUBTFOQ
nV4hZmtmAJzCKuC0XUFHJi/t1Il5HpiRPnGqADHKxDmqhZWm/N+Q0s=
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:to:from:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; s=default;
bh=MrutIY17cPlyi9ILpv/rT4FTr+Y=; b=IE9OfyD+zUnt6uJctJcse57LCigJ
QkU8P/ReTTg67cBjKuHb1+qAiYdgYPQbMrcRgqIVjKTPnwRoBG/pvrXThX4xNxq3
WREiXfQbpwYL+T5VSTLRdgyPMAtHAmd0Ybo5v9TYCYm/YN1gIesQ2dSv/inmFXIe
+NRy9mz6syYoVGc=
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=-5.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=solving, icon, displays, upgrades
X-HELO: smtp-out-no.shaw.ca
Reply-To: Cygwin General <cygwin AT cygwin DOT com>
To: Cygwin General <cygwin AT cygwin DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Cygwin-X shortcut no longer works after recent updates
Message-ID: <9237e82b-d2c8-99ee-de23-0baf65816418@SystematicSw.ab.ca>
Date: Fri, 28 Feb 2020 00:21:45 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
X-IsSubscribed: yes

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.

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.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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