mskyaxl / wsl-terminal

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

Fails to start when setting WLinux as default #136

Closed eggbean closed 5 years ago

eggbean commented 5 years ago

I had wsl-terminal working fine with kali-linux, but I use WLinux as my main WLS distro. After setting the default using wslconfig /setdefault WLinux, wsl-terminal closes immediately after starting. ie, As soon as I start it (using Start Menu icon or open-wsl.exe, the window appears for a few millisrconds and then disappears. Reverting to kali-linux as default and it works fine.

Is there any reason why this doesn't work with WLinux?

eggbean commented 5 years ago

WLinux mounts root at /, so wsl-terminal it cannot find wslbridge-backend on startup.

mcfiredrill commented 5 years ago

Is there a way to use wsl-terminal if root is mounted at / ?

eggbean commented 5 years ago

I don't know, but I seem to have WLinux root mounted at / and working fine with wsltty on this machine I am using at the moment. Try wsltty, which is another mintty fork.