That's why in Unix under the X WIndows system you can run any app on one machine and have it show up on another. Also, can this remote to an arbitrary Linux installation, say on another machine, or they gimped it to only work with local WSL?
@@nmihaylove the VS Code remote is actually three different extensions: for WSL, for Docker containers, and for ssh into remote machines. I've been using the WSL (1) version and haven't had a single hiccup so far.
@@k1ngjulien_ I've gotten it to work, graphical glitches abound, performance is dogshit. Code is a hardware accelerated electron app, not some graphical emacs using motif. VS Code remoting is the editor running locally but operating on remote files. The neat bit is that extensions that depend on remotely installed components like go's gofmt or delve run just the same as they do locally.
WSL was and is an extraordinary technical achievement and I use it every single day. WSL2 looks like another leap forward I'm very much looking forward to it.
@@Trigex There's alot of reverse engineering going on for example, as a result, wine is often not 100% correct how to exactly "translate" it to linux. If wine would already do that (correctly), all games, applications etc would work out of the box (there are alot who do not)
Windows has a great GUI, but it's kernel is trash, Linux is the best kernel, but it doesn't have a GUI good enough, MS using linux as kernel moving windows on it would be amazing
With this, im gonna be able to run native Android, Linux and Windows on one OS! Windows as the host WSL2 Just like normal And then a linux program called Anbox that adds some stuff to the linux kernel to make android apps run native! I can code my apps, build them and test them on one machine, with no VMs. :D
@@tmbrwn osx is terrible. It looks like a Unix, but everthing is a bit different and missing parts. Also, Linux has its own flavor of posix. And OSX has its own libraries that you really should use instead of unix/posix layer. Basically it just creates illusion of being a Unix. There's this reason why cygwin fails, wine fails, interix fails and then WSL1 failed. It's never quit like the original. So virtualizing the real thing is the best option. You pay a bit of performance, but hardware is cheap.
this is marvelous engineering and game changing stuff from Microsoft guys...they got left behind for sometime in the open source world..but with vscode and now this awesome linux subsystem they are definitely back in the game...kudos
WSL is amazing. I need to run ROS in Linux, while running Siemens/Sick/Solid Works software in Windows, instead dual-booting, WSL let me have both at the same time
Mention of GPU/CUDA support at 50:45 in response to audience question. TLDR: Often requested feature. Had to wait for WSL2 technology. Requires additional plumbing. I'm guessing here - maybe Build 2020.
It might be possible since FUSE will work on WSL 2 + Run as admin. macOS users are using FUSE to mount ext4 drives. The same can happen to WSL 2 if somebody makes one that is. Or alternatively, WSL 2 already uses ext4 as their root filesystem. If you run WSL as admin, you might be able to just mount the drive directly. For now all we can do it wait.
@@shamringo7438 Windows should really come up with a FUSE library. It's possible because it's on sale from 3rd party developers but cost $30000 per created app.
furreal, work has been slow in my trade and I've been using this time to sharpen my dev skills. So much easier to develop in linux, have it installed on an old laptop that's missing the 'A' key cap lol. Looking forward to not having to dual boot or use my 10 year old toughbook for the task.
@psyber I work with both of them I work with windows at my office and manjaro-kde at home I really enjoy manjaro. With customization level that kde has the usage is so enjoyable but it’s so opinion base I feel so much better when i use kde
Pouya Samie I have used Linux for the past three years, while I’m not an expert, I know at least a thing or two to set up and and get my Arch i3 up and running. The problem with Linux is the hardware compatibility. While for you the experience was good, mine was terrible. My system would freeze occasionally, wifi would not work all the time and I lose all the features like fingerprint scanner and such. Then comes HiDPI scaling, it’s an absolute nightmare on some laptops and you end up with something which only does the work but doesn’t feel right. Scrolling a webpage is significantly slower as the lines per scroll is lower than Windows. Gaming is a thing where I just don’t want to spend any more of my precious time and interest so I just ended up with Windows. It just works!
I feel like technically you should be able to, but I haven't tried it so can't say with 100% certainty that you can. However, you have access to a Linux kernel and a Linux shell, so I don't see why not.
USB comes under sharing hardware as asked in that QnA about sharing GPUs, so once that's enabled there'll be a more direct link. Otherwise by forwarding the Windows mount point to WSL, you might be able to do it on WSL 1 as well
WSL made me realize how useful Linux is when it comes to development and how little i use Windows features. I removed Windows from my laptop and downloaded a Linux distro on it :) Thanks WSL!
It's honestly not a bad advertisement for Linux. But prior to WSL, nothing stopped someone curious about Linux running it under Windows in a virtual machine. So ultimately Microsoft isn't losing much here and probably have more to gain from it.
I am missing the possibility to run Linux commands on the Windows host system. The description is uni-directional. I assume that was possible with WSL1, because it is at the heart of running Linux within Windows.
I think it's called Windows Subsystem for Linux because it's a subsystem in Windows that translates Linux (kernel) calls to Windows (kernel). WSL is kinda short for "Windows' subsystem for translating Linux kernel calls to Windows kernel calls" or "Windows subsystem for Linux kernel calls" or "Subsystem within Windows for Linux calls". Now WSL2 running Linux kernel I think makes the name wrong (unless it still translates Linux kernel calls to Windows kernel call despite actually running Linux kernel) but it's known name so it'll be stupid to change it.
@@Meddixi It does make sense when you think about it but it's still misleading. I was confused the first 3 minutes of the video until I realized what WSL is actually supposed to mean
I'd just like to interject for a moment. What you're referring to as Windows subsystem for Linux, is in fact, Linux subsystem for Windows, or as I've recently taken to calling it, LSW.
Why didn't they give Ted Mielczarek credit for reporting that bug at 9:27 instead of saying "a user"? They even cropped his name out of the screenshot...
@Kenryov what? It was an issue posted on a public forum on Github. Anyone could access it and know who posted it. Sooner I think it really shouldn't matter. The whole point of OSS is that everyone has a voice in how the software is written, and it defeats the purpose if one person's voice has more sway simply due to clout or importance. Does the issue raised become any more or less important because Ted wrote it? No of course not!
I cant really move to HyperV machines because of it's unable to operate with USB devices :( VMWare can passthrough iPhone to VM MacOS and it works seamlessly. With HyperV it becomes a real pain
So basically instead of writing their own translation kernel in WSL 1. They essentially just made docker, except it runs on an actual ext4 filesystem and has access to host resources.
@@JohnHaugeland explain. It runs within its container held by a deamon and request host resources through their protocol. It does not use a hypervisor to emulate hardware so it isn't an actual virtual machine. Like what else could it be? It's docker.
9p protoco is also used in crostini, the linux integration in chromebooks. So plan 9 (look it up on wikipedia) is starting to have impact (also /proc is a plan 9 invention).
I think the world is coming to an end. Seriously, like, fire and brimstone coming down from the skies, rivers and seas boiling! 40 years of darkness! Earthquakes, volcanoes! The dead rising from their graves! Human sacrifice! Windows and Linux living together, mass hysteria!
I want 32bit support and to change the stack size with ulimit. I hate virtualbox and cygwin :D I WANT FULL LINUX ON MY WINDOWS!!!! so it can be used for work
@@danielmasters8145 My PC has core i7 8th generation with SSD and 16GB ram.... So I think it is not bad :D I need 32bit support for my work :) I'm developing compilers and writing tests for car industry. Currently I SSH to a native Linux PC with my Windows PC. I love WSL but some programs are not working because of the 32bit is unsupported... And I hate VirtualBox :D "ulimit" command is not working too and some programs for example "LAPACK (Linear Algebra PACKage)" require to change the stack pointer size to unlimited... Otherwise I can't build the program...
So basically WSL is exactly the same as Solaris 10 branded zones for Linux. Interesting, I love the technology. How will Dtrace integrate with WSL and applications running in the subsystem?
How do we get support when it breaks? I have issues with WSL working on my Windows 10 Pro 22H system. it was working and all of a sudden something happened that broke it. So I uninstalled WSL2 and now I am unable to reinstall it. Is there someting in regedit or else where in the system that needs to be removed that is preventing me from re-installing WSL2?
Windows Subsystem for Linux is a really misleading name. It implies windows is running as a subsystem for linux and not the other way around. Real opportunity missed not calling it LWS (pronounced Lewis)
You're booting into a Windows system and running GNU/Linux inside of it. NT is the subsystem for the Linux kernel. NT does the Hardware translation from the Linux Kernel. Hyper V is part of the NT Kernel (Like KVM for Linux). Hence Windows subsystem for Linux.
Windows Linux Subsystem, or Linux Subsystem in Windows, or Windows Subsystem for Running Linux all make more sense than WSL...though the WSL acronym is easy to say, at least
What about symbolic links ? I currently have that limitation in WSL that I use git/npm and links between my projects. But links in WSL are linux symlink on a windows filesystem. But then, when you combine that with VSCode under Windows, this app can't understand that symlink. Will WSL2 somehow improve that state ? I can't really imagine how, but I would love to know if there is any option in WSL1 or 2 to overcome it !
Still don't like Microsoft, but as a Linux user this seems pretty good tbh I don't see it as trying to take people away from Linux, but as letting developers work on a """native""" environment, meaning there is no hassle of having to setup new machines or VMs if you're a Windows user and want to develop something for Linux. I mean, let's be honest, no amount of benefits will change someone's choice environment they had for year, for example as a Linux user for 5 years I have no reason to use Windows as all the day to day things I need are here and no shiny new thing there will change it But what do I know tbh, just find it quite stupid of many people acting like "or you commit 100% to Linux or you don't" as it just makes people go away
I know - dumb people gonna dumb! MS knows the desktop is not the future but getting people to their cloud is. They want to make it easy for any dev and thus any app to be developed so you're likely to consider using Azure. I've been a MS technologies dev since 1988 and I can tell you that WSL is the most cool thing I've played with in years!!! You should watch the new terminal talk - I think you're going to like it!
As a current Linux user who will likely switch back to Windows, I disagree. The X/Wayland issue is going nowhere fast (still no great remote desktop in Wayland + poor video driver support), and Gnome development moves forward at drunken snail pace. Remove 6 working features, fix 3 and and add 1 nobody wants while ignoring most day-to-day essential features and bugs like icon view in the file chooser. Now we have the SNAP / Flatpak / AppImage battle on top of the DEB / RPM battle.. The fat cats in the Linux Foundation have little to no interest in investing in the Desktop (interest is shown by spending money, not words). Until Canonical and IBM can get together on a distribution method, I just see the ongoing mess we have seen for the last decade continuing.
1. Doesn't the Hypervisor already have a Windows NT Kernel, can't that be used and remove the double hop? 2. Can you combine the NT Kernel & the Linux Kernel to one kernel? 3. or replace the Hypervisor with the WSL 2 or 3?
Was thinking the same thing. It seems like putting everything on top of Hyper-V will give some flexibility in the future. Maybe consigning some of the crustiest backwards compatibility stuff to a container that's always on but not in the way (if that's workable)
Can you run a full version of Linux (e.g. Ubuntu 18.04) and do everything you can do with a full version? E.g. run games, music applications, web browsers? I'm wondering if this would be good for developing applications on Linux or if there would be obviously limitations.
I tried to launch VirtualBox hypervisor beside of Hyper-V (running docker host), it doesn't work. Will it be a possibility to run WSL 2 and VirtualBox VMs simultaneously?
I will probably wait to use WSL2 until I can do without VirtualBox. I get that only one hypervisor can run at a time, this is just unfortunate. Microsoft has been embracing Docker over the past couple of years. Wouldn't be too surprised if they bought them (no inside info, just might make sense for msft)
"YAAAYY come on a little energy"... In the immortal words of Lorde, "I'm kind of over gettin' told to throw my hands up in the air". I find this belief of entitlement of praise among speakers and performers to be rather bothersome. If I am not of a mind to cheer for you perhaps it is your job to EARN a cheer with your performance. Being on stage does not entitled you to praise or welcome.
Hm, and what about GUI ? Can i just open program from WSL2 ? In linux i just create some files and open it in vim, and all this in terminal, can i do it by WSL2? Naw in Windows 10 i have vim in WSL and vim in Windows... and its 2 different programm... and its so drammaticaly
27:57 I am using 3.3 gigs while on 8 webpages and 2 other applications open, so what else is Windows doing that Linux isn't? The network traffic is also a lot less in Linux than Windows, so where is Windows going that Linux isn't?
From what they are saying at the moment (I tried this yesterday) wsl 1 works across the board w10 home upwards. On WSL1 you need docker for windows to run linux containers and these run in a hyperV VM (MobyLinux). Since hyper V VMs are not available on W10 home and docker. However WSL2 uses a linux kernel running directly in the base hyper visor and it's a new full kernel and will be available on W10 home. This full kernel will also mean that the docker for linux will run on this kernel in WSL2. This means, if I understand correctly, that docker for linux will run on W10 home (though other hyper V featurers like other VMs may not), and thus you should be able to run Linux containers on W10 home. I hope that helps.
I wonder if you can do this with running Windows Nano Server under the level 1 HyperVisor and then getting the Wine libs to splelunk there? Seems feasible. Won't have UI but will have all non ui features.
For those wondering. The Microsoft maintained kernel is found on GitHub here: github.com/microsoft/WSL2-Linux-Kernel If I'm not mistaken, it's based on this source here: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=v4.19
Based on this overview it seems like it would be impossible to run windows binaries from linux envinroment in wsl2. In wsl1 I can run ipconfig /all | less, looks like that would be gone.
Vs code remote with WSL is a game changer
That's why in Unix under the X WIndows system you can run any app on one machine and have it show up on another. Also, can this remote to an arbitrary Linux installation, say on another machine, or they gimped it to only work with local WSL?
Only VS code remote is a game changer. I'll wait for wsl3 :-P
@@nmihaylove well since wsl2 supports all linux system calls, i don't see why you wouldn't be able to run Xorg in WSL and forword the UI with X11
@@nmihaylove the VS Code remote is actually three different extensions: for WSL, for Docker containers, and for ssh into remote machines. I've been using the WSL (1) version and haven't had a single hiccup so far.
@@k1ngjulien_ I've gotten it to work, graphical glitches abound, performance is dogshit. Code is a hardware accelerated electron app, not some graphical emacs using motif.
VS Code remoting is the editor running locally but operating on remote files. The neat bit is that extensions that depend on remotely installed components like go's gofmt or delve run just the same as they do locally.
WSL was and is an extraordinary technical achievement and I use it every single day. WSL2 looks like another leap forward I'm very much looking forward to it.
++
The next step is creating a reverse WSL which translates Windows NT System calls to Linux System Calls so Wine finally works 100% of the time :D
But... That's already what Wine does, the true next step is to have Microsoft contribute to Wine!
@@Trigex There's alot of reverse engineering going on for example, as a result, wine is often not 100% correct how to exactly "translate" it to linux.
If wine would already do that (correctly), all games, applications etc would work out of the box (there are alot who do not)
The next Linux distribution, Windows
the nice thing of Windows are only drivers and software capabilities. The linux in UI is not that bad IMHO
@@dukajelvis Never heard of "The linux in UI".
Better than Lindows! Then again, *everything* was better than Lindows.
Windows has a great GUI, but it's kernel is trash, Linux is the best kernel, but it doesn't have a GUI good enough, MS using linux as kernel moving windows on it would be amazing
Incredible product for software developer using Windows OS. You get the best of both world, Linux and Windows.
need to reupload all these videos with boosted audio
WSL is amazing, looking forward to WSL2 !
The engineer is singularly excellent in providing information on WSL 2 architecture.
WSL2 is BIG for web development. Thank you so much for investing in this tool !
o/ Most interesting and useful Microsoft project, ... for me ;). WSL has all my undivided attention. Keep up the good work guys!
@Nobody here but us Chaotic Neutral chickens Why not both? And at the same time?
@Nobody here but us Chaotic Neutral chickens
No thanks, I like to be able to get my work actually be done.
With this, im gonna be able to run native Android, Linux and Windows on one OS!
Windows as the host
WSL2 Just like normal
And then a linux program called Anbox that adds some stuff to the linux kernel to make android apps run native!
I can code my apps, build them and test them on one machine, with no VMs. :D
You can do this already on Linux...
A: Do you use Windows or Linux?
B: I use both.
A: How?
B: Both run at the same time using virtualisation.
@@erkinalp I use both, but not as a vm. I have a dual boot
I can finally get rid of OSX and go back to Windows. Hallelujah!
@@tmbrwn osx is terrible.
It looks like a Unix, but everthing is a bit different and missing parts.
Also, Linux has its own flavor of posix.
And OSX has its own libraries that you really should use instead of unix/posix layer.
Basically it just creates illusion of being a Unix.
There's this reason why cygwin fails, wine fails, interix fails and then WSL1 failed.
It's never quit like the original.
So virtualizing the real thing is the best option. You pay a bit of performance, but hardware is cheap.
this is marvelous engineering and game changing stuff from Microsoft guys...they got left behind for sometime in the open source world..but with vscode and now this awesome linux subsystem they are definitely back in the game...kudos
Amazing piece of software...Fantastic Job .
WSL is amazing. I need to run ROS in Linux, while running Siemens/Sick/Solid Works software in Windows, instead dual-booting, WSL let me have both at the same time
THEY IMPROVED NPM INSTALLLLLLLL!!!
They keep calling them virtual machines - they sound more like containers! Fascinating!
A container is a type of virtual machine, so it makes sense that they are similar.
Mention of GPU/CUDA support at 50:45 in response to audience question. TLDR: Often requested feature. Had to wait for WSL2 technology. Requires additional plumbing. I'm guessing here - maybe Build 2020.
Is it possible to access a linux filesystem in a physical partition or a 2nd harddisk from WSL2.
It might be possible since FUSE will work on WSL 2 + Run as admin.
macOS users are using FUSE to mount ext4 drives. The same can happen to WSL 2 if somebody makes one that is.
Or alternatively,
WSL 2 already uses ext4 as their root filesystem. If you run WSL as admin, you might be able to just mount the drive directly.
For now all we can do it wait.
@@shamringo7438 Windows should really come up with a FUSE library. It's possible because it's on sale from 3rd party developers but cost $30000 per created app.
nice, now there's no reason to dualboot
the windows ui is far better than anything in linux
furreal, work has been slow in my trade and I've been using this time to sharpen my dev skills. So much easier to develop in linux, have it installed on an old laptop that's missing the 'A' key cap lol. Looking forward to not having to dual boot or use my 10 year old toughbook for the task.
Really? Try KDE you will change your mind
@@Pouya.. No, not really, the Windows UI is much better and does not feel laggy.
@psyber I work with both of them I work with windows at my office and manjaro-kde at home I really enjoy manjaro. With customization level that kde has the usage is so enjoyable but it’s so opinion base I feel so much better when i use kde
Pouya Samie I have used Linux for the past three years, while I’m not an expert, I know at least a thing or two to set up and and get my Arch i3 up and running. The problem with Linux is the hardware compatibility. While for you the experience was good, mine was terrible. My system would freeze occasionally, wifi would not work all the time and I lose all the features like fingerprint scanner and such. Then comes HiDPI scaling, it’s an absolute nightmare on some laptops and you end up with something which only does the work but doesn’t feel right. Scrolling a webpage is significantly slower as the lines per scroll is lower than Windows. Gaming is a thing where I just don’t want to spend any more of my precious time and interest so I just ended up with Windows. It just works!
I have a question: Can we mount an ext4 filesystem from an USB device on linux yet?
I feel like technically you should be able to, but I haven't tried it so can't say with 100% certainty that you can. However, you have access to a Linux kernel and a Linux shell, so I don't see why not.
USB comes under sharing hardware as asked in that QnA about sharing GPUs, so once that's enabled there'll be a more direct link. Otherwise by forwarding the Windows mount point to WSL, you might be able to do it on WSL 1 as well
@Inu Yasha and then theres this guy. There's always one
I have used WSL 1. Excited for WSL 2.
me, too
WSL made me realize how useful Linux is when it comes to development and how little i use Windows features. I removed Windows from my laptop and downloaded a Linux distro on it :) Thanks WSL!
;)
It's honestly not a bad advertisement for Linux. But prior to WSL, nothing stopped someone curious about Linux running it under Windows in a virtual machine. So ultimately Microsoft isn't losing much here and probably have more to gain from it.
I am missing the possibility to run Linux commands on the Windows host system. The description is uni-directional. I assume that was possible with WSL1, because it is at the heart of running Linux within Windows.
Expected to see a Windows Subsystem for Linux, not a Linux Subsystem for Windows. Chapeau nonetheless
I think it's called Windows Subsystem for Linux because it's a subsystem in Windows that translates Linux (kernel) calls to Windows (kernel). WSL is kinda short for "Windows' subsystem for translating Linux kernel calls to Windows kernel calls" or "Windows subsystem for Linux kernel calls" or "Subsystem within Windows for Linux calls". Now WSL2 running Linux kernel I think makes the name wrong (unless it still translates Linux kernel calls to Windows kernel call despite actually running Linux kernel) but it's known name so it'll be stupid to change it.
Yeah that would be way better but at least we made progress
hanspetervollhorst1 Wine
Isn't the name the wrong way around? Isn't it a Linux subsystem for Windows?
Nope - it is subsystem inside Windows (so Windows subsystem) to run Linux apps (so for Linux). It's all good :)
@@Meddixi It does make sense when you think about it but it's still misleading. I was confused the first 3 minutes of the video until I realized what WSL is actually supposed to mean
@@Meddixi I remain unconvinced.
I'd just like to interject for a moment. What you're referring to as Windows subsystem for Linux,
is in fact, Linux subsystem for Windows, or as I've recently taken to calling it, LSW.
@OldPossum Yep... like Linux was THEIR idea...
So are we finally getting nvidia-docker support.
Why didn't they give Ted Mielczarek credit for reporting that bug at 9:27 instead of saying "a user"? They even cropped his name out of the screenshot...
If I where to take a guess, they probably just want to protect the guy's identity...
@Kenryov what? It was an issue posted on a public forum on Github. Anyone could access it and know who posted it.
Sooner I think it really shouldn't matter. The whole point of OSS is that everyone has a voice in how the software is written, and it defeats the purpose if one person's voice has more sway simply due to clout or importance. Does the issue raised become any more or less important because Ted wrote it? No of course not!
This is some serious nerd shit here, and I'm so happy I'm a part of this community!
20:43 all the Windows Update memes flashed in his mind :D
loooool
For me the drawback of wsl2 is the virtual disk which just grows and does not automatically shrink back to a proper size
I cant really move to HyperV machines because of it's unable to operate with USB devices :( VMWare can passthrough iPhone to VM MacOS and it works seamlessly. With HyperV it becomes a real pain
So basically instead of writing their own translation kernel in WSL 1. They essentially just made docker, except it runs on an actual ext4 filesystem and has access to host resources.
nope
@@JohnHaugeland explain.
It runs within its container held by a deamon and request host resources through their protocol. It does not use a hypervisor to emulate hardware so it isn't an actual virtual machine. Like what else could it be? It's docker.
No the things that make docker possible on windows are being leveraged to to improve the linux kernel support in windows.
@northshorepx That's why I said it's just a modified docker that only runs Linux.
9p protoco is also used in crostini, the linux integration in chromebooks. So plan 9 (look it up on wikipedia) is starting to have impact (also /proc is a plan 9 invention).
I think the world is coming to an end. Seriously, like, fire and brimstone coming down from the skies, rivers and seas boiling! 40 years of darkness! Earthquakes, volcanoes! The dead rising from their graves! Human sacrifice! Windows and Linux living together, mass hysteria!
So, once I install docker on WSL2, will I be able to see the same docker images from either windows or wsl? Talking about Linux containers of course
I want 32bit support and to change the stack size with ulimit. I hate virtualbox and cygwin :D I WANT FULL LINUX ON MY WINDOWS!!!! so it can be used for work
32 bit? 2004 called, they want their computer back.
How old is your pc?
@@danielmasters8145 My PC has core i7 8th generation with SSD and 16GB ram.... So I think it is not bad :D I need 32bit support for my work :) I'm developing compilers and writing tests for car industry.
Currently I SSH to a native Linux PC with my Windows PC. I love WSL but some programs are not working because of the 32bit is unsupported... And I hate VirtualBox :D
"ulimit" command is not working too and some programs for example "LAPACK (Linear Algebra PACKage)" require to change the stack pointer size to unlimited... Otherwise I can't build the program...
Just write a comment on their GitHub.
@@Cipotalp just use a virtual machine
So basically WSL is exactly the same as Solaris 10 branded zones for Linux. Interesting, I love the technology. How will Dtrace integrate with WSL and applications running in the subsystem?
This is exactly the parallel I drew here too :)
21:26 hell yeah. I am totally agree
How do we get support when it breaks? I have issues with WSL working on my Windows 10 Pro 22H system. it was working and all of a sudden something happened that broke it. So I uninstalled WSL2 and now I am unable to reinstall it. Is there someting in regedit or else where in the system that needs to be removed that is preventing me from re-installing WSL2?
"Kernel Version 4.4.0-18362-Microsoft x86_64 [lxss]
Distro Name
- Ubuntu 18.04.2 LTS"
Still running everything through the windows kernel ultimately though? So barely any of the security benefits...
Stop Using This Avatar If you are not stupid then it’s secure don’t be a Gnubitch
Windows Subsystem for Linux is a really misleading name. It implies windows is running as a subsystem for linux and not the other way around.
Real opportunity missed not calling it LWS (pronounced Lewis)
@AmbientVibes not sure what that has to do with the naming scheme.
Windows's Substystem for Lnux
You're booting into a Windows system and running GNU/Linux inside of it.
NT is the subsystem for the Linux kernel.
NT does the Hardware translation from the Linux Kernel.
Hyper V is part of the NT Kernel (Like KVM for Linux).
Hence Windows subsystem for Linux.
@LimitedWard looking at slide around 29:36 - the windows NT kernel and WSL are BOTH subsystems of the hypervisor. :)
Windows Linux Subsystem, or Linux Subsystem in Windows, or Windows Subsystem for Running Linux all make more sense than WSL...though the WSL acronym is easy to say, at least
What about symbolic links ? I currently have that limitation in WSL that I use git/npm and links between my projects. But links in WSL are linux symlink on a windows filesystem. But then, when you combine that with VSCode under Windows, this app can't understand that symlink. Will WSL2 somehow improve that state ? I can't really imagine how, but I would love to know if there is any option in WSL1 or 2 to overcome it !
They say in the video that WSL2 natively supports EXT4 instead of rewriting FS syscalls, so i think symlinks should work as expected.
Still don't like Microsoft, but as a Linux user this seems pretty good tbh
I don't see it as trying to take people away from Linux, but as letting developers work on a """native""" environment, meaning there is no hassle of having to setup new machines or VMs if you're a Windows user and want to develop something for Linux. I mean, let's be honest, no amount of benefits will change someone's choice environment they had for year, for example as a Linux user for 5 years I have no reason to use Windows as all the day to day things I need are here and no shiny new thing there will change it
But what do I know tbh, just find it quite stupid of many people acting like "or you commit 100% to Linux or you don't" as it just makes people go away
I know - dumb people gonna dumb! MS knows the desktop is not the future but getting people to their cloud is. They want to make it easy for any dev and thus any app to be developed so you're likely to consider using Azure. I've been a MS technologies dev since 1988 and I can tell you that WSL is the most cool thing I've played with in years!!! You should watch the new terminal talk - I think you're going to like it!
As a current Linux user who will likely switch back to Windows, I disagree.
The X/Wayland issue is going nowhere fast (still no great remote desktop in Wayland + poor video driver support), and Gnome development moves forward at drunken snail pace. Remove 6 working features, fix 3 and and add 1 nobody wants while ignoring most day-to-day essential features and bugs like icon view in the file chooser.
Now we have the SNAP / Flatpak / AppImage battle on top of the DEB / RPM battle.. The fat cats in the Linux Foundation have little to no interest in investing in the Desktop (interest is shown by spending money, not words).
Until Canonical and IBM can get together on a distribution method, I just see the ongoing mess we have seen for the last decade continuing.
37:40 And that's how you exit Vi folks! :O
lol bro esc then :q! :wq w = write q = quit
I am surprised that WSL1 even worked at all. 😮
love it,
wished you could release this tomorrow already
I am using anaconda python 3 on windows10. Is it advisable to install it using wsl2 instead of directly on windows10?
At 40:00 he realises that he's said "That's pretty cool" too much.
1. Doesn't the Hypervisor already have a Windows NT Kernel, can't that be used and remove the double hop?
2. Can you combine the NT Kernel & the Linux Kernel to one kernel?
3. or replace the Hypervisor with the WSL 2 or 3?
GPU interaction with Docker is still not supported
2019, the year of Linux on the desktop - for developers at least :-P
So this converts the host to running on top of a hypervisor? Does that impact the performance of the host?
How can i check weather i have WSL 1 or 2, plus when will Microsoft release WSL 2 ?
That moment when I'm proud of the MS
wait if windows runs on the hypervisor along with linux can we really call windows the 'host' 🤔🤔🤔
Was thinking the same thing. It seems like putting everything on top of Hyper-V will give some flexibility in the future. Maybe consigning some of the crustiest backwards compatibility stuff to a container that's always on but not in the way (if that's workable)
@@ShawnThuris imo it feels like the can or will everything put everthing on kvm under to "outsource" the whole kernel development xD
Can you run a full version of Linux (e.g. Ubuntu 18.04) and do everything you can do with a full version? E.g. run games, music applications, web browsers? I'm wondering if this would be good for developing applications on Linux or if there would be obviously limitations.
I wonder what is the real performance difference on `/mnt/c` share in two ways.
13m characters seems like a useful metric :/
Did anyone tested this out running Docker, or Tensorflow with CUDA? Went something wrong?
I tried to launch VirtualBox hypervisor beside of Hyper-V (running docker host), it doesn't work.
Will it be a possibility to run WSL 2 and VirtualBox VMs simultaneously?
Valerii Shynkarenko No :(
I will probably wait to use WSL2 until I can do without VirtualBox. I get that only one hypervisor can run at a time, this is just unfortunate. Microsoft has been embracing Docker over the past couple of years. Wouldn't be too surprised if they bought them (no inside info, just might make sense for msft)
Just checked - VirtualBOX 6.+ already can run whith Hyper-V
"YAAAYY come on a little energy"...
In the immortal words of Lorde, "I'm kind of over gettin' told to throw my hands up in the air".
I find this belief of entitlement of praise among speakers and performers to be rather bothersome. If I am not of a mind to cheer for you perhaps it is your job to EARN a cheer with your performance. Being on stage does not entitled you to praise or welcome.
Yeah it's basically the microsoft version of "Please clap".
Thank you
Missed the part where justify breaking USB support.
Having a LOT of problems accessing nVidia API, especially CUDA.
So can it access hardware like GPU?
beware, pulse audio is still a buggy mess, and there is still no support for ALSA
do these people not do sound checks before presenting?
35:20 Plan 9 Server.... "Plan 9 from Outer Space"??
Where can I hear more about WSL2?
I wonder if mongodb works on it as well?
Now all 3 GPU vendors (Nvidia, AMD, Intel) have WSL2 support.
Wow! Remote VSCode is awsome!
Hm, and what about GUI ? Can i just open program from WSL2 ? In linux i just create some files and open it in vim, and all this in terminal, can i do it by WSL2?
Naw in Windows 10 i have vim in WSL and vim in Windows... and its 2 different programm... and its so drammaticaly
will it have usb support so I can use my yubikey with it (gnupg-card)?
Is it now possible to access USB devices from bash ?
Will docker finally run fast on windows?
It seems that if you run Docker in WSL2, it would be similar to Docker in Docker (the distro - a privileged container)!
no, this will grant linux features to windows, but not the linux performance, security or stability
27:57 I am using 3.3 gigs while on 8 webpages and 2 other applications open, so what else is Windows doing that Linux isn't?
The network traffic is also a lot less in Linux than Windows, so where is Windows going that Linux isn't?
just WOW!
WSL Architecture - 14:10
It's kinda difficult to get malware on Linux, but damn, you did it!
Nice, now do it the other way around as I will never use Windows as my main OS. 🙈
What is the future of WSL 1?
Grim, dark and full of death. What do you think?
So does this mean i don't have to buy Windows 10 pro to get access to Hyper-V, can u run docker with WSL?
From what they are saying at the moment (I tried this yesterday) wsl 1 works across the board w10 home upwards. On WSL1 you need docker for windows to run linux containers and these run in a hyperV VM (MobyLinux). Since hyper V VMs are not available on W10 home and docker. However WSL2 uses a linux kernel running directly in the base hyper visor and it's a new full kernel and will be available on W10 home. This full kernel will also mean that the docker for linux will run on this kernel in WSL2. This means, if I understand correctly, that docker for linux will run on W10 home (though other hyper V featurers like other VMs may not), and thus you should be able to run Linux containers on W10 home. I hope that helps.
THIS IS DAMN COOL!!!!!!!!!!!!🤩🤩🤩
How about a Windows subsystem IN linux? For those apps that don't play with WINE such as Adobe Creative Suite, MS Visual Studio etc.
I thought of that too.
I wonder if you can do this with running Windows Nano Server under the level 1 HyperVisor and then getting the Wine libs to splelunk there? Seems feasible. Won't have UI but will have all non ui features.
Linux kernel is not designed for that kind of multiple personality operation. Windows kernel allows completely different userlands to live together.
could wsl2 run Linux x-apps ? looks not.
those slides are avaliable for download?
For those wondering. The Microsoft maintained kernel is found on GitHub here:
github.com/microsoft/WSL2-Linux-Kernel
If I'm not mistaken, it's based on this source here:
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=v4.19
I tried WSL once, which caused a bluescreen because of Avira. Is that fixed?
That should be fixed by Avira. If your Anti Virus gives you a Bluescreen because of a Windows App, thats their error
Based on this overview it seems like it would be impossible to run windows binaries from linux envinroment in wsl2. In wsl1 I can run ipconfig /all | less, looks like that would be gone.
34:52 they said you could launch cmd.exe . I hope that means it works for all executables
Failing at sound check... bummer
that's awesome
And when will the Linux-based Windows appear..?
Can we get LSW?
damn audio level is so low
Wsl2 have support for graphics nvidia and own network ?
The talk touched on the fact that those advanced features will come in time.
It seems that we won't be able to see linux processes in Task Manager any more. Also just run a Alpine and eat 600 MiB RAM seems a little expensive.
Does it mean we can run Linux apps in future on windows ??
I would prefer the reverse: running Windows apps natively in Linux.
Those 5 dislikes are from Sun OS users
Or MacOS users.