No shell can be opened: Error: Could not fork child process: There arre no available terminals
Stefan Berger
stefanb@us.ibm.com
Mon Jun 9 15:10:30 GMT 2025
Hello!
It looks like a recent update of cygwin is now not letting me open any shell anymore. I get the following error with the Window frame showing 'nologin' in upper left corner:
Error: Could not fork child process: There are no available terminals (-1).
I have tried to apply security exceptions for nologin and mintty via Windows settings.
The Windows settings I have used can be found under 'Privacy & security' -> 'Windows Security' -> 'App & browser control' -> 'Exploit protection settings' -> 'Program Settings'. I added 'C:\cygwin64\sbin\nologin.exec' with its full path and added 6 overrides so that everything is now 'off'. I did the same for bash and mintty but it does not resolve the problem. Any help would be greatly appreciated.
Thanks,
Stefan
More information about the Cygwin
mailing list