Windows build number: 10.0.18362.295
Windows Terminal version: 0.4.2382.0
Remove uninstalled WSL distributions. Add all installed WSL distributions unless explicitly disabled in WT.
WT closes right away. I'm somehow expected to know the UUID change (wsl.exe --list does not show the UUIDs).
Another bug report claims that behavior for non-existent profiles would be handled gracefully in 0.4. Can't confirm that.
You're not actually expected to know the UUID. The distributions are launched by name alone. Check out the name after wsl.exe -d in your profile configuration.
(You can just delete the guid from the new profile, and WT will automatically generate one for you)
WT still closes right on launch.
We should add in a fail-safe for the event that the default profile has been corrupted. The current settings directory is quite difficult to find for new users, and could discourage experimentation. Perhaps a safe-mode if the past execution exited immediately?
This is now the master bug for "my default shell doesn't launch and it makes me sad because terminal exits instantly"
This will be helped by #2039 and #2091 (or an evolution thereof).
:tada:This issue was addressed in #3623, which has now been successfully released as Windows Terminal Preview v0.8.10091.0.:tada:
Handy links:
Most helpful comment
This is now the master bug for "my default shell doesn't launch and it makes me sad because terminal exits instantly"