What's new in WSL's September 2023 release?

  Рет қаралды 30,947

Craig Loewen

Craig Loewen

Күн бұрын

Пікірлер: 56
@JoaquinDarioSilveiraOcampo
@JoaquinDarioSilveiraOcampo Жыл бұрын
This release has already solved 99% of the problems I had with WSL 👍👍 Amazing work!
@DenisJak
@DenisJak 9 ай бұрын
Guys, thank you so much! Finally a WSL I will love and will make me love Windows again! There was no solution with UDP applications in docker. I will try if UDP finally works and report again. THANK YOU SO MUCH!
@tusharsnn
@tusharsnn Жыл бұрын
Great set of features. Thanks for making them possible. There's an issue related to wsl and file explorer. When you pin a folder within a distro for faster access, it makes the explorer wait until wsl has loaded. It makes explorer to show blank page for that time. Haven't tested the new explorer build in insider channel.
@TeeJay_D
@TeeJay_D Жыл бұрын
Not a WSL issue by itself, but explorer, this happens if network shares are not available, makes it take ages to open
@ssxw
@ssxw Жыл бұрын
May I ask in which specific build version are these features available for early use? After testing both the 22631.2271 build from the beta channel and the 22545.1000 build from the dev channel, the following errors have been identified. WSL: Hyper-V Firewall is not supported. WSL: Mirrored networking mode is not supported, falling back to NAT networking. WSL: DNS tunneling is not supported.
@thewreckedship5526
@thewreckedship5526 10 ай бұрын
super helpful video, thank you
@soheilamiri968
@soheilamiri968 Жыл бұрын
Great features
@e00d20
@e00d20 8 ай бұрын
thanks for keeping it post, craig :)
@muhammadsalmanafzal9396
@muhammadsalmanafzal9396 Жыл бұрын
When can we expect it to be not pre-release? Can't run experimental as I do work on wsl 😥😥 P.S. Grea work! Only if I could I code like you people.
@craigloewen8379
@craigloewen8379 Жыл бұрын
We are evaluating these first and will aim to make them generally available in the next couple of months, but our goal is to be data driven about its release.
@thomaswiley666
@thomaswiley666 Жыл бұрын
Is there an ETA on the features being available on Windows 10 (not Insider Preview)? I'm the 3d printer and Debian developer who's been pestering for a simple networking feature like mirroring.
@AhmedHabbachi
@AhmedHabbachi 10 ай бұрын
I moved away from windows because of this vmmem ram issue but I am ready to move back now. since its easier to have my windows and my Linux on hands with controlled ram
@dervisgenc2469
@dervisgenc2469 Жыл бұрын
For 8:36 , If i host python server from my windows machine I can reach from my phone but if i host from wsl I cannot reach. I check firewall wsl allowed to communicate. What is the problem Could you help me guys?
@Wzymedia
@Wzymedia Жыл бұрын
As things are right now, does WSL use its on `hosts` file that is separate from Windows? If true, does this new DNS tunneling feature make WSL use the Windows `hosts` file?
@tav1229
@tav1229 Жыл бұрын
hi, any chance the mirrored network will be available for windows 10?
@waelsadek81
@waelsadek81 Жыл бұрын
6:38, how did you get the correct size of the prompt arrow "->" ? It's displaying it very small on my PC.
@robgulde1013
@robgulde1013 10 ай бұрын
What SSH and NFS servers should you install if you use port mirroring and also have OpenSSH and Windows 11? Can you add a second IP in WSL to export a separate NFS/SSH server?
@georgiyanev7822
@georgiyanev7822 8 ай бұрын
Is this updaete now available in the stable version?
@andreujuanc
@andreujuanc Жыл бұрын
How to migrate to the store version?
@egoincarnate
@egoincarnate Жыл бұрын
did you mean 23H2?
@craigloewen8379
@craigloewen8379 Жыл бұрын
Nope! 22H2. We are backporting these features. They're available right now in the Windows Insider release preview ring :)
@John-eq5cd
@John-eq5cd Жыл бұрын
I managed to complete the instructions to configure the sparse VHD. However, when I check the volume of vhd, I see Used: 12GB Available 227 GB Is there anyway of getting some of that 227 back into Windows?
@John-eq5cd
@John-eq5cd Жыл бұрын
I tried DiskPart, but got an error: "Virtual hard disk files must be uncompressed and unencrypted and must not be sparse."
@computelabs
@computelabs 8 ай бұрын
WSL is next.
@Greeata
@Greeata Жыл бұрын
Sounds great - I can already see automemoryReclaim working - but the sparseVHD I'm not so sure about. I cleared out several hundred GB so my WSL2 reports internally at 105GB - but my vhdx on windows is stuck at 500GB still. pretty sure my ubuntu was from the MS store - not sure if that makes a difference or not.
@tusharsnn
@tusharsnn Жыл бұрын
Have you recreated the vhdx? Existing distros needs to be updated.
@Greeata
@Greeata Жыл бұрын
@@tusharsnn thanks - I figured it might be something like that. I can see the size used and size on filesystem are different when I bring up properties in windows explorer. So how do I recreate the vhdx of my current installed distro? I don't really want to rebuild from scratch. I assume there is a way using wsl --backup the wsl --import
@Greeata
@Greeata 11 ай бұрын
@@christianseibold3369 - it works - it's just that listing the file size of the vhdx on the windows file system seems to tell lies. I can see the overall free space on my windows drive increase when I delete big junk files - but the vhdx reports the same size. This is what was confusing me.
@ichisadashioko
@ichisadashioko Жыл бұрын
I am still using the WSL 1 because of the copying/moving windows' files performance.
@tusharsnn
@tusharsnn Жыл бұрын
Which is probably never going to solved, unless Windows gets ext4 support (how likely is it?). It is "by design". I'm curious what's your use case that required you to copy files between wsl and windows so often 🤷‍♂️ ?
@ichisadashioko
@ichisadashioko 11 ай бұрын
@@tusharsnn I ran a lot small Python scripts that interact with the file system (rename, hashing file content, create archive of small files, etc.) And I use Windows mainly for all GUI related applications (browser, games, drag and drop files). Windows GUI APIs are well supported and stable enough for me. However, the path seperator and shell scripting suck.
@ichisadashioko
@ichisadashioko 11 ай бұрын
When I want to program minimal working GUI application (e.g. in Java, Python, or JavaScript), I prefer to spin up vmware, virtualbox, or bare metal installation for better compability and reduced debugging headache.
@blablamannetje
@blablamannetje Жыл бұрын
At 0:59, Craig says "code .wslconfig""in powershell, but I get "code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program.". What is this code command? Something related to Visual Code (which I haven't got)?
@rescenic
@rescenic Жыл бұрын
Add this path: C:\Program Files\Microsoft VS Code\bin to system environment variable.
@blablamannetje
@blablamannetje Жыл бұрын
@@rescenic Thanks. But the thing is I haven't got that directory, as I have no VS Code installed my corporate laptop. So I created .wslconfig by hand in my home dir (including "networkingMode=mirrored"), started WSL (version 2.0.0), got an error that mirrored mode is not supported and using NAT instead ... TBC
@blablamannetje
@blablamannetje Жыл бұрын
Ah: you need to have Insider Windows to have mirrored networking. Which I haven't.
@Greeata
@Greeata Жыл бұрын
"code" is just the name of the editor he uses. You could use notepad, textedit or something else you have installed instead.
@blablamannetje
@blablamannetje Жыл бұрын
@@Greeata Thanks! I used notepad to create a .wslconfig, and I bumped into the next problem: Mirrored Networking is still an Insiders Window function. So no go for me, for now at least. Thanks again.
@HieuNguyen-hq5pp
@HieuNguyen-hq5pp 11 ай бұрын
How do I rollback pre-release version (2.0.4) to stable version(1.2.5)? wsl --update --rollback is not available for me so far
@0M9H4X_Neckbeard
@0M9H4X_Neckbeard 11 ай бұрын
Is all this coming to Windows 10 as well or Windows 11 only?
@jpkontreras
@jpkontreras Жыл бұрын
not working with win10 too good to be true :(
@MrSomeDude
@MrSomeDude Жыл бұрын
could you finally make WLS2 work out of the box behind corporate proxy?
@craigloewen8379
@craigloewen8379 Жыл бұрын
Yes these features should address that exact concern!
@MrSomeDude
@MrSomeDude Жыл бұрын
@@craigloewen8379 love it ❤️ !
@maurice_walker
@maurice_walker 11 ай бұрын
Yay, IPv6 in WSL2! The four year wait is over! It does indeed work fine on the latest Windows 11 non-insider build with WSL 2.0.6 and finally allows me to abandon WSL1. Thanks, Craig & team!
@bomale
@bomale 10 ай бұрын
I hope this will work on windows 10 asap
@mdeloura
@mdeloura 4 ай бұрын
ahhhhhh mirrored mode, thank you! I went down the ipv6 rabbit hole today and was wondering why WSL was giving me such grief. Problem solved!
@masterandmargharita
@masterandmargharita Жыл бұрын
Whats the version of this new WSL ? Also I dont have any c:\users\\.wslconfig So I presume you just create one ? Also my Task Manager does not show VmmemWSL (like yours), it only shows Vmmem.
@masterandmargharita
@masterandmargharita Жыл бұрын
Hold on I thought it was wsl2, as wsl used a translation layer, wsl2 runs the linux kernel. Anyway I'll call it wsl2. Can we have wsl2 PCIe device sharing please ? For example I want to dedicate 50% of my NVidia 4090 GPU to CUDA compute inside WSL2, whilst keeping the other 50% for windows rendering, or if the GPU device can not be split, then I'd like to use 100% of my PCIe GPU (4090), whilst using my APU/in-built GPU for Windows rendering. Also would like to mount NVMe SSD partitions into WSL2 directly without using Windows filesystem in the middle.
@ytmadis
@ytmadis Жыл бұрын
Looks good. Curious - what's the main reason MS focuses on WSL2 right now?
@oidualx
@oidualx Жыл бұрын
The feature shown at 8:38, i.e. accessing wsl from a local network isn't working for me, I'm on build 25951.1010, wsl 2.0.2, but I still get ERR_CONNECTION_TIMED_OUT from the smartphone, or even from Windows. What could I be missing?
@tusharsnx
@tusharsnx 10 ай бұрын
I've just created an issue relating to this in thier github repo. It seems like in order to access WSL services/server from other devices you need to create a firewall rule within Windows to allow traffic on that port.
@oidualx
@oidualx 10 ай бұрын
​@@tusharsnx yes, at the end I figured it out. To say it was unintuitive is an understatement.
@Smad2005
@Smad2005 Жыл бұрын
Doesn't work with win 10
@coolraoul3292
@coolraoul3292 4 ай бұрын
it depends of the feature. "sparseVhd" does for instance
The Pros and Cons of Linux in Windows
10:48
Titus Tech Talk
Рет қаралды 44 М.
Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes
20:50
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 2,9 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 132 МЛН
WSL 2 Networking
14:14
David Bombal
Рет қаралды 216 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 999 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 111 М.
WSL 2: Getting started
20:34
David Bombal
Рет қаралды 712 М.
The Unreasonable Effectiveness of Linux Workstations
12:47
No Boilerplate
Рет қаралды 615 М.
Windows development setup with WSL2, ZSH, VSCode, and more
12:02
Christian Lempa
Рет қаралды 227 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 608 М.
Linux Tips - Run Systemd on WSL (2023)
9:12
AgileDevArt
Рет қаралды 1,7 М.
BEST Web Dev Setup? Windows & Linux at the same time (WSL)
10:36
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 2,9 МЛН