Closed alxchoy closed 3 years ago
Cannot reproduce. To separate testing, please open (Win+R) a Windows cmd: cd %LOCALAPPDATA%\wsltty\bin wslbridge2
Thanks for reply.
I get same issue
Weird issue! Can you provide the output from wslbridge2.exe -x
command? The -x
option will show another wsl.exe window with some output. Does this issue happen with WSL1 distros?
I get this but doesn't open a new window.
I use WSL2 with Ubuntu-1804
Sorry, this isn't wsltty issue. I has to set Ubuntu like default distro for linux: wsl --setdefault Ubuntu because I have many linux distro and docker was set by default
Thank you very much for your time and sorry for lost your time.
Pleas close this issue, thank you.
@simonferquel May I ask for your help?
Yes, this happens when Docker Desktop is installed and run in WSL2 mode before any other WSL distro is installed. Unfortunately, there is no way for us to register the distro without it getting the "default" tag if no other one already exists :/
The docker-desktop-data is very minimalist and does not contain any shell. It is designed to run a single executable using wsl -e
that bind mounts stuff into /mnt/wsl to handle docker desktop data persistence.
Thank you. I understand it. I will add this in wslbrigde2 docs.
Could wslbridge2 detect whether the selected distribution is actually a WSL (or other) shell and return a warning then?
docker-desktop is actually a distribution (Alpine based) like thing in WSL realm. So, ¯_(ツ)_/¯
BTW, any idea is welcomed!
Do they leave any non-WSL like pattern in the registry?
non-WSL like pattern
We could just sit back while Microsoft's WSL devs do the hard work here https://github.com/microsoft/WSL/issues/6176
Another similar issue in WSL https://github.com/microsoft/WSL/issues/6274. Also similar workaround, setting Ubuntu as default distribution works in that case.
finally was able to run wsltty
.
wsl --shutdown
per https://github.com/mintty/wsltty#wsl-v2wsltty
and run docker commands in the terminal
👍!!! Thank you mintty!
send beer money here https://github.com/mintty/wsltty/issues/158#issuecomment-490750834
Hi everybody,
I have a problem when open WSL terminal, this keeps in blank when start.
Windows version is 20H2, system compilation 19042.610 and wsltty latest release (3.4.1). I installed Ubuntu 18.0 and set wsl 2.