Skip to content

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

@Raven-Singularity

Description

@Raven-Singularity

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions