Skip to content
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

open-wsl.exe window closes immediately #163

Closed
SukkaW opened this issue Jul 30, 2019 · 9 comments
Closed

open-wsl.exe window closes immediately #163

SukkaW opened this issue Jul 30, 2019 · 9 comments

Comments

@SukkaW
Copy link

SukkaW commented Jul 30, 2019

Currently I am using Pengwin and the latest version of wsl-terminal on WIndows 10 Enterprise Insider Preview Build 18945.

I have read issues #36 and #63, and follow the debug steps in bin directory and I got:

./wslbridge.exe bash -c pwd
wslbridge error: failed to start backend process
note: backend error output: -35062: -c: line 0: unexpected EOF while looking for matching `''
-35062: -c: line 1: syntax error: unexpected end of file

./mintty.exe -h error -e /bin/wslbridge -t bash just give me a same error message.

What should I do to fix this?

@eggbean
Copy link

eggbean commented Aug 7, 2019

I have this happening with wsltty, so I tried installing wsl-terminal and the same thing.

It must be due to the latest Windows Insider build, as this started just after it installed.

Using conhost,exe for now.

@SukkaW
Copy link
Author

SukkaW commented Aug 8, 2019

@Jason404 I think I have located where the issue is microsoft/WSL#4337

@sirredbeard
Copy link

You can temporarily edit your profile files to get access to your Pengwin system, but pengwin-setup will not work on WSL2.

We recommend setting your system up on WSL1, applying the workaround below, and then converting to WSL2. You will need to covert back to use pengwin-setup though.

See WhitewaterFoundry/Pengwin#497.

Note there are other, unrelated bugs in WSL2 in Insider releases since 18945, in 18950 and 18956, that can cause serious problems.

For now we recommend build 18941 and testing WSL2 in Hyper-V or non-production hardware only.

@SukkaW
Copy link
Author

SukkaW commented Sep 19, 2019

@sirredbeard

Even if I convert back to WSL1, the issue still appears.

./bin/wslbridge.exe bash -c pwd

wslbridge error: failed to start backend process
note: backend error output: -37650: -c: line 0: unexpected EOF while looking for matching `''
-37650: -c: line 1: syntax error: unexpected end of file

After I update to latest Windows Insider build with patched interop, patch 00-pengwin.sh, the issue still appears.

shiro pushed a commit to shiro/wsl-terminal that referenced this issue Oct 9, 2019
@es50678
Copy link

es50678 commented Nov 18, 2019

I have the same issue after fresh installing 0.8.13, using WSL 2 with ubuntu 18.04

@TimoMeijer
Copy link

Same issue with Ubuntu on WSL1

@D2moon
Copy link

D2moon commented Nov 26, 2019

Same issue on Windows build 19025, how to solve it?

@sirredbeard
Copy link

Please follow-up with the Pengwin team.

@mskyaxl mskyaxl closed this as completed Mar 29, 2020
@ParadoxZW
Copy link

The same issue happens to me, but my wsl is just debian, not Pengwin. And the wsl version is v1.
How can I solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants