Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still can not load WSL2 on wsltty 3.7.6, terminal closes instantly, no output #361

Closed
Raven-Singularity opened this issue Nov 19, 2024 · 6 comments

Comments

@Raven-Singularity
Copy link

I installed the latest wsltty v3.7.6, but I am still having the same problem as before:

WSL2 Ubuntu does not load, the terminal just immediately closes. Using --hold=always shows only an empty terminal window.

I figured I might have messed up the install by manually moving files to another folder, so I tried the quiet installer which installed to %localappdata%/wsltty, but it is the same, running the Ubuntu shortcut in that folder causes the terminal to close without outputting anything.

How can I debug the issue?

WSL2 loads fine from other terminals (CMD, Microsoft Terminal, ConEMU).

Loading the MinTTY.exe v3.7.4 or v3.7.6 from Cygwin works with this command:

mintty.exe bash -c 'cd; bash --login'

(I use the cd because otherwise it starts me in the Cygwin folder).

I was told that this "bash" is the old WSL bridge provided by Microsoft.

However, this leaves me with a half-working terminal where pressing Ctrl+C to terminate a command usually locks up the terminal. I use GNU Screen, so it's not that bad, I can reopen the shell where I left off, but I want to have a working terminal.

@McG800
Copy link

McG800 commented Nov 22, 2024

I'm still having this issue as well.

@diddi-
Copy link

diddi- commented Dec 1, 2024

I'm having the same problem as well, I don't know how to debug this. The terminal just immediately closes.
I did remove wsltty from both Local AppData and Roaming AppData after running the uninstall script, then did fresh install, still same problem.

@diddi-
Copy link

diddi- commented Dec 1, 2024

Alright, got it working.

  1. Go to Windows Update in Settings
  2. Advanced Options
  3. Enable "Receive updates for other Microsoft products"
  4. Go back to Windows update and Check for updates
  5. This got me an update to WSL, download and install

After a reboot the terminal is working now for me.

@Raven-Singularity
Copy link
Author

@diddi-:
Thanks for the suggestion. Unfortunately, no WSL updates are available on my end.

@mintty
Copy link
Owner

mintty commented Dec 2, 2024

Released 3.7.6.2.

@McG800
Copy link

McG800 commented Dec 2, 2024

This update has fixed this issue for me. Thank you!

@mintty mintty closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants