Cmder: wslbridge error: failed to start backend process

Created on 29 Aug 2020  路  7Comments  路  Source: cmderdev/cmder

When I open a tab for WSL, WSL-> BASH, an error occurs.
wsl

馃憖 Awaiting Response

Most helpful comment

It is a ConEmu thing. The whole WSL part is for WSL version 1, I guess you are running WSL version 2?

  1. You need a new version of cygwin1.dll
    Grab one here: https://cygwin.com/snapshots/
    Go to vendor\conemu-maximus5\ConEmu\wsl and replace the dll.

  2. You need wslbridge 2:
    Grab it here: https://github.com/Biswa96/wslbridge2/releases (the cygwin version)
    Copy the content to the same directory: vendor\conemu-maximus5\ConEmu\wsl

  3. Now edit your WSL bash task:
    Replace the part "conemu-cyg-64.exe --wsl" with "conemu-cyg-64.exe %ConEmuBaseDirShort%\wsl\wslbridge2.exe"

Done.

All 7 comments

It is a ConEmu thing. The whole WSL part is for WSL version 1, I guess you are running WSL version 2?

  1. You need a new version of cygwin1.dll
    Grab one here: https://cygwin.com/snapshots/
    Go to vendor\conemu-maximus5\ConEmu\wsl and replace the dll.

  2. You need wslbridge 2:
    Grab it here: https://github.com/Biswa96/wslbridge2/releases (the cygwin version)
    Copy the content to the same directory: vendor\conemu-maximus5\ConEmu\wsl

  3. Now edit your WSL bash task:
    Replace the part "conemu-cyg-64.exe --wsl" with "conemu-cyg-64.exe %ConEmuBaseDirShort%\wsl\wslbridge2.exe"

Done.

I have Windows 10 Build 19041 and Cmder v1.3.16. It's not a path problem because if I run Cmder\vendor\conemu-maximus5\ConEmu\wsl\wslbridge.exe, the same error occurs. The problem is to wslbridge.exe.

When you use WSL2,do not use original wslbridge.exe,it's designed for WSL1.You can create a new task,and set the task command as: set PATH="%ConEmuBaseDirShort%\wsl";%PATH% & wsl -d kali-linux,which kali-linux is the distro name you have installed.You can get the name by seeing wsl -l output.

Yes, I can run wsl.exe but will no longer use colors 256colors, looking like windows cmd.

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contribution(s).

This issue has been automatically closed due to it not having any activity since it was marked as stale. Thank you for your contribution(s).

Hey,
any progress?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunowego picture brunowego  路  3Comments

hyrious picture hyrious  路  3Comments

spooky picture spooky  路  3Comments

Joe1992w picture Joe1992w  路  3Comments

vincentntang picture vincentntang  路  3Comments