Windows 10 version 1909 breaks Cygwin/X?

Randy Galbraith 16 Reputation points
2021-05-14T15:32:03.453+00:00

Hello Everyone.

Recently our Windows support team pushed out the 1909 update to Windows 10. Now when I run the startx command it ends with:

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I installed the latest version of Cygwin (3.2.0) however the error continues. Here are my Windows version details:

Edition: Windows 10 Enterprise
Version: 1909
OS build: 18363.1256

I suspect the push of 1909 may have delivered a configuration change. I say that because I tested Cygwin 3.2.0 here at home and it works. Admittedly my Windows 10 at home is a different version (Windows 10 Home, 20H2, 19042.985).

Any insight on what may be happening will be appreciated. Many in our development team have for the moment been reduced to terminal command line access.

Kind regards,
-Randy Galbraith

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Randy Galbraith 16 Reputation points
    2021-05-14T17:04:22.44+00:00

    Update 5/14/21 10:02am MST: Installed an older version of Cygwin/X (2.11.1) and it worked. Various posts on forums suggest there may be an issue with Personal Firewall. My research continues. Kind regards, -Randy

    1 person found this answer helpful.
    0 comments No comments

  2. Randy Galbraith 16 Reputation points
    2021-05-20T22:54:35.643+00:00

    Hi Everyone.

    Jon Turney on Cgywin mailing list provided some insight. Further research strongly suggested our issue relates to the Citrix ICA client. Our developers who use company laptops were not impacted, whereas those who access Windows 10 via Citrix were.

    We still do not have a solution. However one of my colleagues discovered a work-around. The act of changing this registry key allows X-Windows to start:

    HKLM\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook\Flag from 0 to 1

    Unfortunately this change must be done after each reboot and before starting X-Windows. Why this works is unknown to us.

    Kind regards, -Randy

    1 person found this answer helpful.
    0 comments No comments

  3. Teemo Tang 11,466 Reputation points
    2021-05-17T06:07:36.383+00:00

    Hi Randy,
    Glad to hear that you have found out the cause for this issue. Thanks for sharing the workaround, yes, roll back to previous usable driver is a common method to fix update or compatibility issue, hope your experience will help other community members facing similar problems.
    If you need further assistance, feel free to let me know.

    -------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.