cygin 3.6.2-1 under Win11 24H2: Cannot launch: no available terminals

Robert Fensterman minnmass@gmail.com
Tue May 27 16:14:48 GMT 2025


When I try to launch Cygwin 3.6.2-1 - be it from the taskbar shortcut,
double-clicking on mintty.exe, or running mintty.exe from CMD - I get an
error message:

> Error: Could not fork child process: There are no available terminals (-1)

The resulting window is titled "-nologin".

The taskbar shortcut is:
> C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

I ran setup this morning to update whatever had updates; this included the
base cygwin package. As last week, it warned me that there was a point
update; I've since downloaded that and re-run setup (without reverting
anything; just letting it do its normal cleanup) to no avail. I've attached
the portion of setup.log with those two runs.

I did also update several other Windows apps Windows first thing this
morning, before I'd tried to open a Cygwin terminal; I don't recall that
list including anything that should have affected terminals, but I suppose
it's possible.

Google searches suggest killing several programs (ssh, ssh-agent, bash, sh,
git, node etc.); none are running. I have tried rebooting a couple of
times, launching Cygwin (from the taskbar shortcut) as soon as I can after
reboot, and I still get the error.

Other terminal-ey apps work: git-bash launches and appears to work
normally; similarly, CMD and PowerShell both seem to be just fine.

Reverting to v 3.6.1-1 seems to work: Cygwin launches and is acting
normally. Updating cygwin through the current version of setup results in
the same error condition (and, reverting a second time is still working).

Running on Win11 24H2 (OS Build 26100.4061).

-- 
Robert F.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 103766 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20250527/3183226b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.log
Type: application/octet-stream
Size: 6478 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20250527/3183226b/attachment-0003.obj>


More information about the Cygwin mailing list