-
Notifications
You must be signed in to change notification settings - Fork 378
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 problem - powershell.exe / ipconfig.exe #249
Comments
Thank you for the bug report!
|
Thanks for the quick reply. Without sudo:
With sudo:
|
That's odd. Everything looks as it should.
|
Thanks. Here we go:
One thing possibly relevant: when setting up Docker etc, I followed this guide: https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly There is a section titled Ensure Volume Mounts Work where it's recommended to change the WSL root path. Possibly related? |
FTR, since some days ago (I don't know exactly), Docker Desktop does not work on WSL1. Trying to run
However, the command exists. Using the explicit path to the |
Very likely that it is. The default WSL configuration to mount Windows drives is changed, but variable
As a quick fix, run:
This creates a softlink at the default mount path to your custom mount path from the blog post. |
As requested:
|
ok, than that is is really the core issue. I'll think how to fix this in x11docker, too. Maybe x11docker should check several pathes to decide which one is valid instead of assuming the default one (that would have been |
Do I need to roll undo the changes to root made in the blog post then? Thanks again for your help. |
No; the softlink should just allow to access the files at |
I've implemented a check for both
|
Seems to have worked! x11docker / x11docker-gui / etc in /usr/bin and x11docker runs. I assume that means it's all good. I'm bit busy right now, but can do any other tests later if helpful. Thanks! |
Great that it works so far! Thanks for reporting and testing. Please open a new ticket if you encounter other issues. |
|
Hi again, Sorry for delay in testing, but I'm still not able to get this running. Have reinstalled
Thanks again. |
Could you please try:
|
Great! |
Hi again, Ultimately, I want to get Ubuntu running with x11docker. Currently, the X window will open, but nothing will appear: I've tried some of the other desktop environments you suggested on the x11docker landing page and have had varying degrees of success:
I've also tested:
There are so many things to test/try, I'm a bit lost. As I say, ultimately I want to create an ubuntu:bionic container which i can access with x11docker, so would be great if you could advise. Thanks a lot! |
@tomaroberts I think this a PEBCAK. You are starting the container without option However, you can |
Thanks for quick suggestion. So the following significant looking error comes up if I try:
I'm on WSL1, so doesn't look like I can use this? If I try
Have I interpreted your message properly? |
@tomaroberts This is a different issue than the topic above. Please open new tickets for new issues. @eine explained some core points. Thanks @eine! Some basics: You can build images based on
x11docker on MS Windows has some restrictions and does not support all features that it provides on Linux.
Images
Desktop environments not depending on systemd like Xfce, LXDE, LXQt, Mate and others should work well on MS Windows.
Maybe you run it one time with |
I'm fairly new to this including Docker, so thanks for explanations. Sounds like everything is behaving as it should then. I will have a play! Cheers. |
Hi there,
I'd love to get this working, but I've been trying for several hours now and can't get it installed.
I'm running WSL on Windows 10. I've got VcXsrv running. Docker is installed for Windows and works in WSL.
When I run the curl installation line, I get the following:
There are many more lines to the error, but I'm guessing it's related to finding the .exes. Looks a little similar to issue #153 . Probably file directory related.
Would you be able to help? Happy to test things out.
Thanks a lot.
The text was updated successfully, but these errors were encountered: