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

windows 10 WSL installation error #153

Closed
bfmcneill opened this issue May 2, 2019 · 4 comments
Closed

windows 10 WSL installation error #153

bfmcneill opened this issue May 2, 2019 · 4 comments

Comments

@bfmcneill
Copy link

Capture

@mviereck
Copy link
Owner

mviereck commented May 2, 2019

Thank you for reporting this!
Can you please show me the output of echo $PATH in WSL?

It seems that the path to the Windows applications is missing somehow.
It should contain something like /mnt/c/Windows/System32.

Does the file C:\Windows\System32/ipconfig.exe exist?
And as well C:\Windows\System32/powershell.exe?

@mviereck mviereck added the bug label May 2, 2019
@mviereck
Copy link
Owner

mviereck commented May 3, 2019

Just a thought: Maybe sudo is configured to set up its own PATH environment and misses the Windows pathes.
The installation may succeed with sudo option -E to preserve the user environment variables.

Can you please try:

curl -fsSL https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker | sudo -E bash -s -- --update

@mviereck
Copy link
Owner

mviereck commented May 5, 2019

I've checked in a Windows VM and found, that sudo deletes Windows pathes from PATH. Option -E does not help.
The master branch includes a fix. Can you please try out:

curl -fsSL https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker | sudo bash -s -- --update-master

(This command uses --update-master instead of --update).

@mviereck
Copy link
Owner

mviereck commented May 8, 2019

@bfmcneill Would you be so nice to check out the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants