-
Notifications
You must be signed in to change notification settings - Fork 104
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
wsltty terminal closes as soon as it opens #186
Comments
Did you check if that |
No it doesn't, it only exists one called |
Try to run the wsltty installer or the easiest way to extract the backend file from the wsltty installer with 7zip (or equivalent). |
Running again the installer solves the problem, but after certain time the error appears again.
|
@Luiscri WSL 2 ? |
If you are using Windows 10 insider build fast preview 18945 or greater there is a chance to get that error. Here is the same error occurs with other user rprichard/wslbridge#44 (comment). The workaround is to copy the |
wslbridge2 + wsltty ? How to process ? |
wslbridge2 does not match in wsltty repository right now because there is a command line option (distribution name vs distribution GUID) that does not match. But one can execute wslbridge2 binary in mintty as a regular command. |
It's the system used by https://github.com/microsoft/terminal ? I can run on it, but mouse interaction with tmux didn't works |
Thanks, using wslbridge2 worked. I extracted the latest release to the wsltty bin directory and used these .bat to launch the terminals. @echo off
rem WSL1 distro
C:\Users\cesar\AppData\Local\wsltty\bin\mintty.exe -i "C:\Users\cesar\AppData\Local\wsltty\wsl.ico" --configdir="C:\Users\cesar\AppData\Roaming\wsltty" C:\Users\cesar\AppData\Local\wsltty\bin\wslbridge2.exe -d Ubuntu-16.04 @echo off
rem WSL2 distro
C:\Users\cesar\AppData\Local\wsltty\bin\mintty.exe -i "C:\Users\cesar\AppData\Local\wsltty\wsl.ico" --configdir="C:\Users\cesar\AppData\Roaming\wsltty" C:\Users\cesar\AppData\Local\wsltty\bin\rawpty.exe wsl -d Ubuntu-18.04 Just remember to replace the username. |
Thanks. You seem to have edited the comment after first posting and replaced The next mintty release shall dispatch to either |
For generic @echo off
rem Start mintty terminal for WSL package Ubuntu-18.04 in current directory
%LOCALAPPDATA%\wsltty\bin\mintty.exe -i "%LOCALAPPDATA%\wsltty\wsl.ico" --configdir="%APPDATA%\wsltty" %LOCALAPPDATA%\wsltty\bin\rawpty.exe wsl -d Ubuntu-18.04 |
See my previous comment. Using |
Thanks to @cesarga and @OlivierMary's comments, I've succeed to run WSL on mintty. 😻 On the other hand, I think the |
Only
I just configure font + colors -_-" |
Right? |
To know what is happening, maybe add |
Released 3.0.5 with new gateway. |
I'm experimenting this type of error. Reading other issues here I launched it with the hold option and it showed this error message:
I installed WSL following the instructions of Microsoft official page and did not configure anything else. I'm pretty new to working on Windows, so sorry if I don't understand or know how to do quite simple things.
The text was updated successfully, but these errors were encountered: