Cygwin-X shortcut no longer works after recent updates

Henry S. Thompson
Mon Mar 2 16:57:00 GMT 2020

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.


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

       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:
 [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:
Unsubscribe info:

More information about the Cygwin mailing list