Repository navigation
Closed
Labels
extensionsIssues concerning extensions
Description
Good evening,
I just tried to setup the remote development extension but it failed because I'm using fish as my default shell in WSL (Ubuntu 18.04/WSL1).
Error:
[2019-07-11 08:24:12.789] Starting VS Code Server inside WSL (Ubuntu-18.04)
[2019-07-11 08:24:12.789] Extension version: 0.38.9, Windows build: 18362. Multi distro support: enabled. WSL path support: enabled
[2019-07-11 08:24:13.093] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d Ubuntu-18.04 bash -c "[ -d ~/.vscode-server/bin/2213894ea0415ee8c85c5eea0d0ff81ecc191529 ] && echo found || echo missing"
[2019-07-11 08:24:13.847] Server install found in WSL
[2019-07-11 08:24:13.847] Launching C:\WINDOWS\System32\wsl.exe -d Ubuntu-18.04 bash -c "'$(wslpath -u 'c:/Users/max06/.vscode/extensions/ms-vscode-remote.remote-wsl-0.38.9/scripts/wslServer.sh')' '2213894ea0415ee8c85c5eea0d0ff81ecc191529' 'stable' '.vscode-server' '' 0 " in c:\Users\max06\.vscode\extensions\ms-vscode-remote.remote-wsl-0.38.9
[2019-07-11 08:24:14.623] fish: $(...) is not supported. In fish, please use '(wslpath)'.
[2019-07-11 08:24:14.623] bash -c "'$(wslpath -u 'c:/Users/max06/.vscode/extensions/ms-vscode-remote.remote-wsl-0.38.9/scripts/wslServer.sh')' '2213894ea0415ee8c85c5eea0d0ff81ecc191529' 'stable' '.vscode-server' '' 0 "
[2019-07-11 08:24:14.623] ^
[2019-07-11 08:24:14.623] VS Code Server for WSL closed unexpectedly.
[2019-07-11 08:24:14.623] For help with startup problems, go to
[2019-07-11 08:24:14.623] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
wsl.exe $command launches the users default shell (fish) and executes the command in there. But fish doesn't understand your syntax. I was told in microsoft/WSL#4296 wsl.exe -e bash -c "$command" would skip that step and call the binary directly. If I'm not completely mistaken, this would fix my issue.
- VSCode Version: 1.36.0
- OS Version: 18362.239
Steps to Reproduce:
- Install Ubuntu 18.04 (wsl1).
- run
sudo apt-get install fish - Set default shell:
chsh -s /usr/bin/fish - Install the remote development extension and follow its instructions
Does this issue occur when all extensions are disabled?: Not testable.
Thank you!
Metadata
Metadata
Assignees
Labels
extensionsIssues concerning extensions
Activity
max06 commentedon Jul 12, 2019
Martin Aeschlimann (@aeschli) - Thanks for closing this. Can I assume this got fixed somewhere else?
aeschli commentedon Jul 12, 2019
Yes, new version of WSL Remote is on the way.