nullpo-head / wsl-distrod

Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
MIT License
1.9k stars 90 forks source link

After successful install/enable, wsl --list is missing Distrod (ubuntu) #55

Open rjolbrich opened 2 years ago

rjolbrich commented 2 years ago

Very new to WSL2 and Distrod. I am trying to get an Ubuntu installation to run Distrod. PS --no-headers -o comm 1 shows "systemd".

curl -L -O "https://raw.githubusercontent.com/nullpo-head/wsl-distrod/main/install.sh" chmod +x install.sh sudo ./install.sh install

sudo /opt/distrod/bin/distrod enable

wsl --terminate Distrod --- fails as it does not find Distrod.

What output/diagnostics can I post?

YJ2CS commented 2 years ago

wsl --terminate Distrod --- fails as it does not find Distrod. replace "DIstrod" with Distro Name,like this:

wsl --terminate  Ubuntu
rjolbrich commented 2 years ago

Somewhere in the comments on Rustrepo.com I found

that wsl --list should produce "Distrod" as a distinct result.

Is that still true? I do receive "Ubuntu".

YJ2CS commented 2 years ago

If Distrod is used in an existing distribution, "Distrod" will not appear in wsl --list. At least in my computer.

Maybe using the image provided by distrod_wsl_launcher.exe will have different results.