Giter Site home page Giter Site logo

no lxss about wsl-distribution-switcher HOT 3 OPEN

guai avatar guai commented on July 20, 2024
no lxss

from wsl-distribution-switcher.

Comments (3)

melak47 avatar melak47 commented on July 20, 2024 2

Windows now supports multiple distributions natively.
The downside is that this project doesn't work out of the box anymore.
You need to create a launcher for your custom distro: https://github.com/Microsoft/WSL-DistroLauncher

You can still use the scripts from this repo to get a tarball of the distro you want, and use that as install.tar.gz for the WSL-DistroLauncher you're creating.

from wsl-distribution-switcher.

benzBrake avatar benzBrake commented on July 20, 2024 2

you can try this fixed version: https://github.com/benzBrake/WSL-Distribution-Switcher

from wsl-distribution-switcher.

sarawgeek avatar sarawgeek commented on July 20, 2024

if you are trying to install package like Kali, then this switcher is hardcoded to look for debian package only, so you can go and change
->go to %LocalAppData% in Run window
-> Copy the folder name of your package, in my case it was "KaliLinux.54290C8133FEE_ey8k8hqnwqnmg"
-> go inside WSL-Distribution-Switcher folder and open utils.py
-> go to function probe_wsl(silent=false)
-> change the packagesSubFolder
Now try.
you might get some debian.exe related error, in that case, do this after above steps
-> go to install.py
-> find this call -> get_lxss_user()
-> remove this call and assign values like this
uid=0
gid=0
user='root'

from wsl-distribution-switcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.