WSL-Distribution-Switcher icon indicating copy to clipboard operation
WSL-Distribution-Switcher copied to clipboard

Unable to find lxrun.exe in the expected locations.

Open ljlszq opened this issue 5 years ago • 4 comments

win10 latest version remove lxrun.exe 。

ljlszq avatar Oct 20 '19 10:10 ljlszq

yea I was just looking about Unable to find lxrun.exe in the expected locations. issue.

is there a fix?? or work around?

also issue has been open here too... https://github.com/RoliSoft/WSL-Distribution-Switcher/issues/99

yanko avatar Oct 20 '19 18:10 yanko

lxrun does not seem to be used in this process so.... what I did to make it work, in utils.py ->probe_wsl fucntion, comment out the sys.exit(-1) when it checks lxpath. (I left the print there) Also I had to modify the bashpath in the same function to point to my WinSxS->amd64_microsoft-windows-lxss-bash_31bf3856ad364e35_10.0.#### version.

if I run the debian app i dont get bash, I really need to run bash in cmd for it to work.

hope this helps.

p.s. this is not a fix, just a dumb work around...

yanko avatar Oct 20 '19 19:10 yanko

lxrun was deprecated and then removed in the newer versions of wsl. This project relies on that executable.

cslycord avatar Jan 18 '20 06:01 cslycord

So this project doesnt support WSL 2, right?

rescenic avatar May 18 '20 09:05 rescenic