-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Support different WSL Distributions #1309
Comments
Wondering what is the "better" way to use WSL: through wslbridge or simply invoking With wsl.exe, you get true login shell on the distribution of your choice, but broken console (colors, and possibly other things like resizing). |
@mhofman you can pass wslbridge its own arguments after the --wsl flag. So if it's supported in wslbridge to launch a different distro, you can pass it its own arguments. You should ask here: https://github.com/rprichard/wslbridge |
It does support it in the 0.24 version of wslbridge After some some trial and error, I did finally figure it out. The trick was to add a For anyone searching, I managed to get a Login shell through wslbridge, using a specific distribution. Here is the full command line I used:
|
@mhofman eh, how does that whole thing work? Why does -t get followed by --distro-guid, then --, then the shell and its arguments |
Everything (except |
Anything after the first The Anything after the |
@mhofman you can put the current_console part at the very end and then you don't need all those dashes |
I was not able to use solution above, was getting error about inability to run - commit - isanych/wslbridge@d51470c |
What was the error message? |
ConEmu 180506 [64] on Windows Server 2019 17650 |
Why do you pass this
|
yes, it is working like this. I was using command from comment above in thread and help
Could not google other samples of usage distro-guid in conemu beside this issue. |
Ok, where can I look up the distro guids? |
Have you read docs? |
Versions
ConEmu build: 170807 x64
OS version: Windows 10.0.16299.x64
Used shell version: WSL
Problem description
Right now WSL support seems to be limited to invoking the default distribution when using wslbridge and the cygwin/msys2 connector.
wslbridge supports a
--distro-guid
option to invoke a specific Distribution listed under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss. See rprichard/wslbridge#14Can this be exposed on the connectors? Or more generally, is there be a way to passthrough arguments to wslbridge when invoking the connector?
The text was updated successfully, but these errors were encountered: