Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

problem trying to initiate a console with WSL 2 in CMDER

I have this error just trying to use WSL from cmder

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

ConEmuC: Root process was alive less than 10 sec, ExitCode=0.
Press Enter or Esc to close console...

does anyone how to solve it?

like image 796
Oscar Cervantes Avatar asked Jan 27 '26 00:01

Oscar Cervantes


2 Answers

Create a new profile with the command wsl.exe.

enter image description here

Taken from https://github.com/Maximus5/ConEmu/issues/1930#issuecomment-512882561; it works for me.

like image 163
Piotr Migdal Avatar answered Jan 29 '26 04:01

Piotr Migdal


For anybody having problems with this, I finally figured it out by setting a new task command of:

wsl.exe ~ -d Ubuntu-20.04

In my case, I had two versions of WSL installed and it wouldn't take the newer in Cmder for anything—it always loaded the ~ directory of my older install. You can use the file browser and go to directory \\wsl$ to see which version of WSL you are using.

like image 37
tay Avatar answered Jan 29 '26 04:01

tay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!