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

WSL: Add multi distro support #118

Closed
sulume opened this issue May 4, 2019 · 3 comments
Closed

WSL: Add multi distro support #118

sulume opened this issue May 4, 2019 · 3 comments
Assignees

Comments

@sulume
Copy link

@sulume sulume commented May 4, 2019

Issue Type: Bug

I have two WSL Apps installed via MS Store. The command "Remote-WSL: New Window" always opens window with one of them without prompting which to use.

Thank you for all the efforts on the remote feature. I can't wait for this to be stable.

Extension version: 0.32.0
VS Code version: Code - Insiders 1.34.0-insider (473af338e1bd9ad4d9853933da1cd9d5d9e07dc9, 2019-05-01T00:22:05.899Z)
OS version: Windows_NT x64 10.0.17134
Remote OS version: Linux x64 4.4.0-17134-Microsoft

@AngellusMortis

This comment has been minimized.

Copy link

@AngellusMortis AngellusMortis commented May 4, 2019

It is probably openning your default instance. In PowerShell/CMD you can run wslconfig /l to see all of your installed WSL instances and which is the default.

PS C:\> wslconfig /l
Windows Subsystem for Linux Distributions:
Arch (Default)
Ubuntu
kali-linux

You can then use wslconfig /s <name> to set a specific instance as default. For example, you can use wslconfig /s Ubuntu to set that instance as default.

I do agree, this would be a nice new feature to have.

@kieferrm kieferrm added the wsl label May 4, 2019
@sulume

This comment has been minimized.

Copy link
Author

@sulume sulume commented May 4, 2019

Thank you for your advise. That worked. I could switch over to the other instance.

I see there's a global setting for the WSL default and this feature simply relies on it, so this is not really a bug. However I can touch only one instance at a time even with multiple windows, which is not very useful in practice. This issue would be a feature request.

@aeschli

This comment has been minimized.

Copy link

@aeschli aeschli commented May 6, 2019

Yes, that's known, Multi distro support will be added in a future release.

@aeschli aeschli changed the title Cannot select WSL instance WSL: Add multi distro support May 6, 2019
@aeschli aeschli self-assigned this May 15, 2019
@kieferrm kieferrm mentioned this issue Jun 8, 2019
27 of 29 tasks complete
@aeschli aeschli closed this Jun 19, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.