mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 158 forks source link

wsl-terminal opens and then immediate crashes. How can I debug? #123

Closed gobengo closed 5 years ago

gobengo commented 5 years ago

I've been using wsl-terminal for a couple months now with no issues. Thanks for making it!

But today I clicked to open it. The terminal window opens briefly, then immediately closes. I don't believe there is ever a bash prompt or errors in the terminal.

I tried

FWIW running WSL from the official windows Debian App works fine. So does wslbridge.

Any ideas? How would I go about even debugging this to see what's wrong? Other than in the wsl-terminal directory I unzip and run things from, is there any other app data that I should try to clear out?

gobengo commented 5 years ago

For some reason, my /mnt/c/ drive was not mounted in WSL. I re-mounted it (using Debian WSL app) using this command: https://github.com/Microsoft/WSL/issues/1864#issuecomment-392350563

After that, wsl-terminal opens all good.