On 2/28/20 8:21 AM, 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.

I think I am seeing the same problem. Here are a few observations.

1) The issue happens often, but not always, when starting with the
Windows shortcut.  Currently, I am retrying a few times until the
startup works.  I have been unable to reproduce the issue starting
startxwin from a mintty window.

2) XWin always seems to start fine.

3) If the issue comes up, I am always seeing the following hanging
process tree.

3969 cons0    S      0:00  \_ xinit ...
 3970 cons0    S      0:00      \_ /usr/bin/XWin ...
 3974 ?        Ss     0:00      \_ /usr/bin/sh <defunct>

In Windows, this looks like so.

    C:\cygwin64\bin\xinit.exe
    \_ C:\cygwin64\bin\xinit.exe
      \_ C:\cygwin64\bin\sh.exe
    C:\cygwin64\bin\XWin.exe

Currently, I am killing the defunct sh, which seems to properly clean up
everything, and try again.

Ron

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

Reply via email to