cygwin 3.6.2-1 under Win11 and win10: XWin.exe fails to start

Don Slutz dslutz@nasuni.com
Wed Jun 4 17:57:07 GMT 2025


Sorry about a new thread, but I just subscribed to this list.

Using 3.6.1-1 works fine. I am very sure this is based on the same issue that others have reported.

Here is what I see:
  [148118.718] (EE) Fatal server error:
  [148118.718] (EE) Linking lock file (/tmp/.X0-lock) in place failed: Permission denied

Which makes no sense, bash reports:
  Unknown+User@CPC-dslut-3Q3JN$ ls -ld /tmp
  drwxrwxrwt 1 Unknown+User Unknown+Group 0 Jun  4 09:16 /tmp
  Unknown+User@CPC-dslut-3Q3JN$ ls -l /tmp/.X0-lock
  ls: cannot access '/tmp/.X0-lock': No such file or directory
  Unknown+User@CPC-dslut-3Q3JN$ touch /tmp/.X0-lock
  Unknown+User@CPC-dslut-3Q3JN$ ls -l /tmp/.X0-lock
  -r--r--r-- 1 Unknown+User Unknown+Group 0 Jun  4 09:22 /tmp/.X0-lock
  Unknown+User@CPC-dslut-3Q3JN$ rm /tmp/.X0-lock
  rm: remove write-protected regular empty file '/tmp/.X0-lock'? y
  Unknown+User@CPC-dslut-3Q3JN$

Doing more testing shows that

  Unknown+User@CPC-dslut-3Q3JN$ cd /home/dslutz/cygwin-te st/
  Unknown+User@CPC-dslut-3Q3JN$ touch bad
  Unknown+User@CPC-dslut-3Q3JN$ ls -l
  total 0
  -r--r--r-- 1 Unknown+User Unknown+Group 0 Jun  4 13:47 bad
  -rw-rw-r-- 1 Unknown+User Unknown+Group 0 Jun  4 13:44 good
  Unknown+User@CPC-dslut-3Q3JN$ ls -ln
  total 0
  -r--r--r-- 1 4294967295 4294967295 0 Jun  4 13:47 bad
  -rw-rw-r-- 1 4294967295 4294967295 0 Jun  4 13:44 good
  Unknown+User@CPC-dslut-3Q3JN$

But I do see that the ACLs on the files are different and is most likely why XWin is failing.

mintty has the the issue reported in:

Robert Fensterman minnmass@gmail.com
Tue May 27 16:14:48 GMT 2025
cygin 3.6.2-1 under Win11 24H2: Cannot launch: no available terminals
https://cygwin.com/pipermail/cygwin/2025-May/258214.html

and

Roumen Petrov bugtrack@roumenpetrov.info
Sun Jun 1 08:02:12 GMT 2025
cygin 3.6.2-1 under Win11 24H2: Cannot launch: no available terminals
https://cygwin.com/pipermail/cygwin/2025-June/258234.html

and

Markus Hansmair markus+cygwin@zendro.de
Mon Jun 2 10:56:02 GMT 2025
cygwin 3.6.2.1 under Win11 23H2: UID and GID mapping changed
https://cygwin.com/pipermail/cygwin/2025-June/258245.html

The e-mail:

Johannes Schindelin Johannes.Schindelin@gmx.de
Mon Jun 2 21:34:47 GMT 2025
cygin 3.6.2-1 under Win11 24H2: Cannot launch: no available terminals
https://cygwin.com/pipermail/cygwin/2025-June/258250.html

looks like the key in that I get for "getent passwd $(id -u)":
  NASUNI+dslutz:*:4096:4096:U-NASUNI\dslutz,S-1-12-1-3596282818-1216142758-3954360507-2609862755:/home/dslutz:/bin/bash


I also have some the same issues with UID, GID like

Markus Hansmair markus+cygwin@zendro.de
Mon Jun 2 10:56:02 GMT 2025
cygwin 3.6.2.1 under Win11 23H2: UID and GID mapping changed
https://cygwin.com/pipermail/cygwin/2025-June/258245.html

reports.  But I do not see the bad UID, GID on files that Markus sees.

I can run any tests in a short amount of time.

Hope this helps.
   -Don Slutz
This e-mail message and all attachments transmitted with it may contain privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message, all attachments and all copies and backups thereof.


More information about the Cygwin mailing list