Yup, you read that right. Sounds crazy, I know. But entirely possible, and surprisingly usable. Pretty easy too.
Enabling Windows Subsys...
For further actions, you may consider blocking this person and/or reporting abuse
I am hoping to add PulseAudio support to GWSL sometime in the future. It depends on business and demand ;)
Hey! Thanks for your efforts on GWSL! It feels good when utility authors themselves participate in such discussions :)
I had fun making it! :) I had no idea that this had any coverage anywhere. Thanks for writing about it! It is good to know it is working for people. I only see download stats and get very little feedback (compared to the number of installs) so it is good to see tutorials that use it. Now I want to try to get KDE working haha.
Hey hey - I've also posted an article about how to use GWSL to run KDE on Artix on WSL2 ( No SystemD ). Pulseaudio support would be outstanding.
Also, is there any way to use WSL2's ssh (or Windows OpenSSH?) instead of PuTTY for remote SSH? All my servers use Public/Private Key Authentication and that's just a right royal pain with PuTTY :)
Fabulous project though - thanks for it!
I have not done it but with other SSH tools but it shouldn't be a problem. You just need to forward the remote display to GWSL's display. I do not know how off the top of my head though. And glad you like it!
And GWSL 1.3.8 is out with audio support :)
I am more interested in, what are your hardware specs? I am have MacBook Air 2012, with replaced SSD harddisk and 8 GB RAM.
My latest complaint is, VirtualBox performance is damn bad; and WSL2 is damn RAM hogging.
My PC has a 2nd Gen Intel i3 processor and 4 GB RAM. WSL does consume a lot of RAM, but I haven't noticed any performance impacts on other apps running alongside. Even WSL runs buttery-smooth for me.
I saw that 127.0.0.1 is used as the link address in the tutorial. This method is possible in wsl1, but I canβt implement it on wsl2. I can only use export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk'{print $2; exit;}'):0.0 Get the ip of wsl2 dynamically. And the link will be broken every time the wifi is changed or disconnected. Can you explain how to use 127.0.0.1 in wsl2?
You can't use 127.0.0.1. WSL2 is no longer running natively (i.e. through translation). It's a virtual machine now. So it'll function the same as a VM; it'll have it's own network interfaces separate from those of Windows.