delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/02/11:58:18

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:to:subject:references:from:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=ww6am
jBJyx0o2juFGiy7S65ZgzWwBFOmeYQSKgsKKzTp3Vb9JJgj+1Yhv+dvwnxc/HE98
D+ch5c/R2/76dofkgt2yamxja+AKvPXQLP0XClXERAOtIH2XJbDHD6gNqmvoIxME
sXsRk7YStZ/14yKLh5LcDAnTRmTwi43eC6f5Nw=
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:to:subject:references:from:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=O+Vk5pykoTx
u3LZEJBJaRyOBSos=; b=Y+u19S5/q2iXEmhlROij0wYZwYgJbXlHR3Gt9hUmDgq
PQ5qBy8fwWKGI21oEbH97F9WSpLM/hbMsaMzMmq3E2UR5UlVXgNEuHBMD0wOazCr
0nwK0gq0iOBxri87iBq1jSWwz3ESRgt2uOw+ygC6svub1AWqyi6YEEPNoXu+lnIs
=
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.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=mine, thompson, school, launched
X-HELO: loire.is.ed.ac.uk
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin-X shortcut no longer works after recent updates
References: <9237e82b-d2c8-99ee-de23-0baf65816418 AT SystematicSw DOT ab DOT ca> <dfe4417d-a5a3-81a9-747b-5fb7d8a2fe6c AT dronecode DOT org DOT uk>
From: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>
Date: Mon, 02 Mar 2020 16:57:18 +0000
In-Reply-To: <dfe4417d-a5a3-81a9-747b-5fb7d8a2fe6c@dronecode.org.uk> (Jon Turney's message of "Sat\, 29 Feb 2020 14\:14\:57 +0000")
Message-ID: <f5ba74ylmoh.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at loire.is.ed.ac.uk with MIMEDefang 2.84, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes

Jon Turney writes:

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

Ditto.

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

A bit more detail, from pstree -Aap:

 |-sh,2027 /usr/bin/startxwin
 |   `-xinit,2058 /home/ht/.startxwinrc -- /usr/bin/XWin :0 -multiwindow -auth ...
 |       |-XWin,2059 :0 -multiwindow -auth /home/ht/.serverauth.2027
 |       `-sh,2065

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

Mine was just a two-liner, changing it to none or
/etc/X11/xint/startxwinrc has no effect.

Aha.  A similar problem occurs with xemacs when launched from a shortcut
with command

  H:\C64\bin\run.exe -p /home/ht/bin:/usr/local/bin:/usr/bin /usr/local/bin/xemacs-21.5-b34.exe

The common denominator is clearer run.exe -- does that give anyone a
useful clue?

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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