WSL: Run Linux GUI Apps

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2024
  • You can now run Linux apps that use a graphic user interface (or GUI) on Windows using WSL. In this episode, Craig Loewen will explain what this means, what you can do with it, show us some demos, and tell us about a few additional new features for the Windows Subsystem for Linux. I'll also hit him with a list of rapid-fire questions that I've been wondering about.
    This episode will cover:
    00:00 - Craig Loewen, PM for WSL, introduces us to WSLg
    00:40 - Linux GUI apps running on Windows?
    01:49 - What can I do with this?
    02:39 - Demo: Running Linux GUI apps with WSL
    05:50 - Demo: Audio Support
    06:55 - Demo: GPU Acceleration
    08:30 - How does this work? How is it architected?
    09:56 - What else is new for WSL? (--install, --mount)
    10:58 - Rapid-Fire Questions (Identifying Windows vs WSL, pinning Linux apps, compat with VirtualBox & VMWare, limiting RAM consumption, WSL + Git, WSL + Docker, Cut + Paste, Linux user space, file access, open-source WSLg, Mariner distro, updates)
    16:31 - Where can I learn more?
    Learn more:
    Run Linux GUI apps on the Windows Subsystem for Linux (preview):
    docs.microsoft.com/windows/ws...
    WSLg open-source repo: github.com/microsoft/wslg
    Craig Loewen: / craigaloewen
    Windows Docs: / windowsdocs
    Windows Command Line Blog: devblogs.microsoft.com/comman...
    Craig's WSL Tips and Tricks website: craigloewen-msft.github.io/WS...
    More Tabs vs Spaces episodes: channel9.msdn.com/Shows/Tabs-...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 528

  • @utsavpoudyal4421
    @utsavpoudyal4421 3 ปีที่แล้ว +233

    Can I install WINE to run my Windows apps from within WSL? Just curious

    • @agenttank
      @agenttank 3 ปีที่แล้ว +65

      i guess it is :-D but can you install WSL in WINE then?

    • @saqibshafin
      @saqibshafin 3 ปีที่แล้ว +15

      @@agenttank lol trolls. add a Recursive function basecase for the WSL or WINE.

    •  3 ปีที่แล้ว +14

      You probably can. And since WINE can run 16bit apps even on 64bit systems, you can play some good old Win3.1 MS Entertainment Pack games on your Win10 box :) (or just some other old games which now became obsolete with Win10 but still runs under WINE).

    • @kevinportillo1971
      @kevinportillo1971 3 ปีที่แล้ว +6

      @@agenttank how about running Hyper V under WINE in WSL.... just to run Ubuntu for the heck of it. LOL

    • @natetolbert3671
      @natetolbert3671 3 ปีที่แล้ว

      That will only work if you do the following:
      1.) Create a virtual machine using a Linux based image.
      2.) From within that virtual machine, install a VM manager. Use this to create a VM with a Windows 10 image.
      3.) Boot up this Windows VM, and from within windows..
      4.) ... Install and enable WSL 2 (you're going to need this in order to run the docker container for your next step...)🤔😏🤬🤬🤬

  • @windmaple
    @windmaple 3 ปีที่แล้ว +709

    Windows is now officially the biggest Linux distro

    • @arduous222
      @arduous222 3 ปีที่แล้ว +45

      Does this mean that 2021 is the year of the Linux desktop?

    • @mactalk2871
      @mactalk2871 3 ปีที่แล้ว +38

      No, the Linux Kernel is not the one controlling all the processes, its nothing but a Linux VM.

    • @obinator9065
      @obinator9065 3 ปีที่แล้ว +33

      @@mactalk2871 it's an integrated Linux kernel. It should run less laggy than a VM with way less overhead.

    • @mikepeterson443
      @mikepeterson443 3 ปีที่แล้ว +10

      Winlux

    • @FahriDevZ
      @FahriDevZ 3 ปีที่แล้ว +1

      @@mikepeterson443 😅

  • @KwanLowe
    @KwanLowe 3 ปีที่แล้ว +125

    I'm a longtime Linux user and have to say that WSL is the most useful software I've ever used on Windows. I'm not saying this in a back-handed way that Windows is finally useful to me, but because it works so well. VSCode integrates cleanly, all the tools I expect on a native Linux system works as expected, even Podman. I no longer need PuTTY and WinSCP. I can compile Go for Windows or Linux easily versus using klunky VMs. My only wishes are support for more distributions (CentOS/RHEL especially), optimized disk (no hard numbers, but disk intensive operations seem to bog), and rare, but occasional crashes under load (not sure of the cause, but has occurred a couple times over the past few months when grepping through mass logs).

    • @nyashachiroro2531
      @nyashachiroro2531 3 ปีที่แล้ว +3

      I hope official support for Arch arrives soon. I don't like ubuntu on WSL.... Or outside of WSL... Lol I miss yay

    • @NoOne-sc3fz
      @NoOne-sc3fz 3 ปีที่แล้ว +3

      Hasn't Windows natively supported SSH for a really long time now?

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว +10

      Just a note that you can import any distributions you want to use... we use CentOS as the example of how to do it in the docs: docs.microsoft.com/en-us/windows/wsl/use-custom-distro?WT.mc_id=windows-c9-niner

    • @GordonTyler
      @GordonTyler 3 ปีที่แล้ว +1

      @@nyashachiroro2531 I was able to manually create an Arch distro in WSL2 in an evening. It’s a fairly manual process with a few quirky spots but not too bad. Official support would of course be very welcome.

    • @sam_mitschiro
      @sam_mitschiro 3 ปีที่แล้ว +1

      I'm not sure if its out already or not, since i'm not tracking it. But the wsl team said a while back, they will make it possible to mount linux filesystems to your wsl distro. I think that will resolve a lot of your I/O issues. And prop a lot more since there is no proxy layer anymore between the windows and linux filesystems, except when you explicitly tap into the windows filesystem from wsl.

  • @buzz1ebee
    @buzz1ebee 3 ปีที่แล้ว +264

    You can tell he's a dev because he had a billion tabs open.

    • @q.w.e.r.t.y
      @q.w.e.r.t.y 3 ปีที่แล้ว +24

      Yup, and some of them are StackOverflow

    • @thearchibaldtuttle
      @thearchibaldtuttle 3 ปีที่แล้ว +4

      @@q.w.e.r.t.y Is a must!

    • @MrinmoyHaloi
      @MrinmoyHaloi 3 ปีที่แล้ว

      also bing

    • @q.w.e.r.t.y
      @q.w.e.r.t.y 3 ปีที่แล้ว +10

      @@MrinmoyHaloi I wouldn't say developers use Bing

    • @MrinmoyHaloi
      @MrinmoyHaloi 3 ปีที่แล้ว +2

      @@q.w.e.r.t.y but i saw he has bing tabs opened

  • @act.13.41
    @act.13.41 3 ปีที่แล้ว +6

    This is some cool stuff. I already had the setup working with WSL running openSUSE Leap 15.3 on a test laptop. I put it into the Dev channel and let it upgrade to Windows 11. After letting it upgrade, it then upgraded the WSL and I was able to install KATE. I opened KATE and the menus had no working fonts. I installed the KDE Base system and it all works flawlessly. I am impressed.

  • @nameundefined6265
    @nameundefined6265 3 ปีที่แล้ว +152

    Next: The Linux Subsystem for Windows (LSW)

    • @vifvrTtb0vmFtbyrM_Q
      @vifvrTtb0vmFtbyrM_Q 3 ปีที่แล้ว +15

      The Linux Subsystem for Desktop (LSD)

    • @AXYGaming
      @AXYGaming 3 ปีที่แล้ว +25

      Already exists, it's called WINE

    • @soham7510
      @soham7510 3 ปีที่แล้ว +2

      @@AXYGaming and will now be able to run almost all windows games 🥳🥳🥳

    • @classicallemur1190
      @classicallemur1190 3 ปีที่แล้ว

      Lol

    • @classicallemur1190
      @classicallemur1190 3 ปีที่แล้ว +1

      @@soham7510 proton

  • @vaisakhkm783
    @vaisakhkm783 3 ปีที่แล้ว +105

    The irony is that most of views of this channel might be Linux lovers...

    • @codeman99-dev
      @codeman99-dev 3 ปีที่แล้ว +5

      Might be? WSL2 is 100% for us linux lovers.

    • @droidcelestial
      @droidcelestial 3 ปีที่แล้ว +4

      well thats the point ig.. to make linux lovers fall in love with windows eventually

    • @edhalferty
      @edhalferty 3 ปีที่แล้ว +4

      If by Linux lovers you mean the type who will never use WSL because it's on Windows... I think you're right haha

    • @vaisakhkm783
      @vaisakhkm783 3 ปีที่แล้ว

      Hey I meant these whole channel 😅
      1)Linux lovers will be "techii"
      2) so most of them work on a eval company which uses windows...
      3)so they might be interested in technical channels than other non- technical people,
      (Also they might have Microsoft 365 paid account by there company)

    • @Nick-lx4fo
      @Nick-lx4fo 3 ปีที่แล้ว +1

      Linux users forced to use Windows in some capacity

  • @darkyelox
    @darkyelox 3 ปีที่แล้ว +5

    This is great! I have been testing this through windows insiders and I actually installed a MAC os using qemu on Windows and runs as well as on Linux

    • @ntindle
      @ntindle 3 ปีที่แล้ว +1

      Did you follow a guide for this or just do it by hand

  • @kamalzubairov2344
    @kamalzubairov2344 3 ปีที่แล้ว +12

    Is UI being rendered by OpenGL? After last update Nvidia Experience's window pops up when I open terminal as if I open a game

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว

      yes it seems like it is opengl

  • @ziggyspaz
    @ziggyspaz 3 ปีที่แล้ว

    Great demo, thank you :)

  • @adarshaeth
    @adarshaeth 3 ปีที่แล้ว +3

    how to setup static ip for wsl2 ubuntu distro?

  • @wingwing2683
    @wingwing2683 3 ปีที่แล้ว +1

    Great! Thanks for sharing

  • @wiretracecompany
    @wiretracecompany 4 หลายเดือนก่อน

    Great work!

  • @jorgemarquez2729
    @jorgemarquez2729 2 ปีที่แล้ว +1

    Thank you! How could I get to display the camera through WSL2, if possible?

  • @KevinSheppard
    @KevinSheppard 3 ปีที่แล้ว +53

    Oh to have all the power of Linux with the commercial app support of Windows (and without dual booting!) I think I'll give WSL2 a try this year.

    • @mauriciogonzalezgordillo
      @mauriciogonzalezgordillo 3 ปีที่แล้ว +3

      Better to dich windows

    • @KevinSheppard
      @KevinSheppard 3 ปีที่แล้ว +16

      @@mauriciogonzalezgordillo Can't. Not when the org I work for is deep in Microsoft Enterprise agreements.

    • @GroudFrank
      @GroudFrank 3 ปีที่แล้ว +6

      Do it! I've been a desktop Linux user for 8+ years. Up until a week ago I never thought I'd make the switch. Tbh, Windows 10 is still unpleasant from a DE l, UX, and UI perspective and I hate it but Windows 11 has been a joy to use, even with the usual bugs of pre-beta software.

    • @serignesaalihoumbackendiay1922
      @serignesaalihoumbackendiay1922 3 ปีที่แล้ว +2

      I've switched recently after another graphics driver bug on my Linux machine that would keep disturbing my workflow. No regrets so far. It really feels like an almost zero latency development server that integrates well with your windows system.

    • @codeman99-dev
      @codeman99-dev 3 ปีที่แล้ว +1

      Use WSL2 daily now. Using docker for postgres, pgadmin4, and datalust's Seq.
      I wish that VS Code was better, but that really has nothing to do with WSL2 itself.

  • @omegaz1124
    @omegaz1124 3 ปีที่แล้ว +4

    As linux user, I feel this is definitely a welcome move, since many apps are not available on linux, this is a great feature.

    • @LinuxClassroom
      @LinuxClassroom 3 ปีที่แล้ว

      I think you have this wrong. For me it is, as a Linux user, I feel this is welcome move, since many of my Linux apps are not available on Windows. This is a great feature.

  • @finnaerix9837
    @finnaerix9837 3 ปีที่แล้ว +2

    Will it be possible to mount sftp network shares?

  • @jogiji
    @jogiji 3 ปีที่แล้ว +2

    Doing some deeplearning training stuff on WSL2.. seeing it work from get go is so cool... although there are still some issues to be resolved in terms of GPU feature support..

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      Please be sure to file any issues that you find on the WSL repo - that team is actively working to prioritize and resolve any bugs: github.com/microsoft/WSL/issues

  • @tinkot
    @tinkot 2 ปีที่แล้ว +1

    My system meets all the requirements, i followed the tutorial and did the exact same installation but whatever i do i can't open any application with a GUI

  • @bunnxr
    @bunnxr 3 ปีที่แล้ว

    Dang dude. This is called improvement.

  • @user-xz8pm9nj8m
    @user-xz8pm9nj8m 3 ปีที่แล้ว

    vim-gtk3 doesn't wotk properly. when I open a gvim window, even though I didn't stroke any keys, the cursor goes down to the bottom line. please fix it.

  • @anders940
    @anders940 2 ปีที่แล้ว

    Can I run my own custom linux apps, which use Qt or SDL2 to present a GUI, using WSLG on win11? Or will they need some configuration?

  • @kennarnett8220
    @kennarnett8220 2 ปีที่แล้ว +1

    Greetings. I am attempting to install WSL on my Windows machine that has Windows 10 Pro installed Version 20H2 (OS Build 19042.1415) and I cannot get the Microsoft App store to download Ubuntu. Ive enabled the Windows/Linux connection. The App Store says "The thing that you are looking for isn't here." What gives? I can find this app on the store with my slightly newer laptop

  • @muhammadusmankhan6761
    @muhammadusmankhan6761 3 ปีที่แล้ว

    What about adb and Android Studio in WSL...and can we connect Android Device for debugging while using Android studio in WSL?

  • @harinisrinivas2889
    @harinisrinivas2889 3 ปีที่แล้ว

    Can you help me how to update to windows build to specific version where I can use wsl with GUI

  • @youmeandeveryone5893
    @youmeandeveryone5893 3 ปีที่แล้ว

    So which software instance is better? Software instance of windows or linux?

  • @xuxusito
    @xuxusito 3 ปีที่แล้ว +9

    When will this be released for non windows insiders users?

    •  3 ปีที่แล้ว +4

      Windows 10 21H2 (Sun Valley), around the end of the year. I don't know what is the situation with Windows 11, but since that also comes out around the same time, It'll probably have it too.

  • @BatkhuuByambajav
    @BatkhuuByambajav 3 ปีที่แล้ว +1

    How about Nvidia Docker support in Windows 11 WSL2?
    Which is required for deep learning. I couldn't run any deep learning models on WSL2 GPU (eGPU)...

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      The WindowsML docs explain how to set up GPU acceleration with Nvidia: docs.microsoft.com/windows/wsl/tutorials/gpu-compute
      Here's the Nvidia doc: docs.microsoft.com/windows/win32/direct3d12/gpu-cuda-in-wsl

  • @ksatya2753
    @ksatya2753 2 ปีที่แล้ว

    Hello, can you tell me how we can check apps developed in Linux and test its compatibility of Windows browser

  • @groundzero3055
    @groundzero3055 3 ปีที่แล้ว +85

    What is the best Linux desktop environment?
    Microsoft: I think it is windows.

  • @tassamuakhsannugroho8264
    @tassamuakhsannugroho8264 3 ปีที่แล้ว +2

    it would be nice if I can run android studio with WSL since the win version of it is kinda heavy :))

  • @cem_kaya
    @cem_kaya 3 ปีที่แล้ว +1

    Thanks for mentioning the magnifier working

  • @BobHannent
    @BobHannent 3 ปีที่แล้ว +1

    I love having WSL on my laptop, one of the great things is that it doesn't cause me the same issues as cygwin on an admin restricted machine.
    Question: Does WSG-G support acceleration of video encoding/decoding such as QSV and NVEnc along with the 3D acceleration?

  • @sebastijanp3
    @sebastijanp3 ปีที่แล้ว

    Can I ask why would you be running for ex. Intellij IDEA on WSL2 Ubuntu? What kind of problem would you be solving?

  • @riskirills
    @riskirills 3 ปีที่แล้ว

    can i replace the windows shell completely and run it with gnome-shell?

  • @danielkrause1273
    @danielkrause1273 3 ปีที่แล้ว

    What is the timeframe like for having a WSL environment to share the same network as the windows host ie host-only instead of bridge

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว +1

      i think you mean the other way around at the end. what you're asking for is in fact the NIC in bridge mode.
      i understand why it's behind NAT by default, and it probably should be that way for security reasons, but i don't see why not allow users to change that.

  • @brunofunnie
    @brunofunnie 2 ปีที่แล้ว +4

    It's been two months since I replaced my Linux environment for a WSL environment and everything works just fine, no lag, no slowness while compiling gcc and other things, I use asdf to manage versions and everything works perfectly fine.

    • @MattWojo
      @MattWojo 2 ปีที่แล้ว

      Glad to hear that!

    • @Jaburu
      @Jaburu 2 ปีที่แล้ว

      after 13 years with a pure liux system, I am thinking about doing the same. what about security? can I run my email program via Linux and WSL and it will be as secure as opening emails on a pure Linux system for example?

    • @Jaburu
      @Jaburu 2 ปีที่แล้ว

      @OriginalFake what about a malicious keylogger, for example? it managed to install itself to Windows. now you are putting a password into a browser using Linux via WSL. it still would log, right?

  • @dossen
    @dossen 3 ปีที่แล้ว

    It's been a while since I messed with X stuff, so sorry if this is obvious, but does the X support also do remote X programs, like forwarding over ssh?

    • @craigo8938
      @craigo8938 3 ปีที่แล้ว

      You can already do that (if you can ssh in and out). And already run GUI apps by installing a windows X server (and setting them as the DISPLAY). I'm sticking to that way, as the dev channel is NASTY (see my other comment), there is no way out of it without a "clean install"..

  • @Mempler
    @Mempler 3 ปีที่แล้ว +1

    So, what about vulkan? You only said OpenGL is supported.

  • @AgentZeroNine1
    @AgentZeroNine1 3 ปีที่แล้ว +11

    The most important question wasn't asked; when will it release officially?

    • @sdstorm
      @sdstorm 3 ปีที่แล้ว +3

      Good question. Probably with Windows 11.

    • @marc-io
      @marc-io 3 ปีที่แล้ว +2

      This one is taking forever.

    • @sphericalcow2762
      @sphericalcow2762 3 ปีที่แล้ว

      docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps?WT.mc_id=windows-c9-niner#install-support-for-linux-gui-apps (check description)
      "Support for Linux GUI apps via WSL will become generally available in the next major release of Windows. " I wish they said more, though

    • @WindowsDevelopers
      @WindowsDevelopers 3 ปีที่แล้ว +1

      Yes- confirming that support for Linux GUI apps with WSL will be generally available in Windows 11. 😊👍

  • @memeplex1
    @memeplex1 3 ปีที่แล้ว

    Will be the task bar icon the same for all apps?

  • @Alex-un5tl
    @Alex-un5tl 2 ปีที่แล้ว

    what about the mouse cursor style to match the Windows one?

  • @BakrAli10
    @BakrAli10 3 ปีที่แล้ว +5

    Can a “regular” non-dev user benefit from GUI (or the whole WSL thing) support? I see it is marketed to dev people but was wondering if i can benefit from it as a regular user.

    • @serignesaalihoumbackendiay1922
      @serignesaalihoumbackendiay1922 3 ปีที่แล้ว +6

      If you are using Linux based tools, had to dual boot in the past or connect remotely to a Linux based server then yes. Otherwise probably not.
      But if you are looking to get into Linux it's probably a good way to start without having to figure out how to dual boot Linux.

    • @jwenting
      @jwenting 3 ปีที่แล้ว +1

      if you have a Linux GUI application for which you have or can't get a Windows version, sure.
      It's maybe a limited set of applications for which that is a thing, but say you're working in a company with some custom software written for Linux it may well be for you.

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      You can run Linux apps integrated with your Windows apps. Is there something specific that you are hoping to do?

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว

      bash itself (linux version of cmd) is already plenty useful for the average user, the catch is that you need to learn what you could do with it in the first place as there is no graphical interface. for example, grep is extremely useful, as is being able to bulk edit file names for people that have a folder with thousands of photos or videos without having to go at it one by one. others like mtr are very useful to diagnose general network problems, though again you need to have some basic knowledge to know how exactly to interpret the data.
      as for the contents of this video itself... i'm not sure. anything you could do in linux you probably already could in windows, as having GUI support is pretty much the whole point of windows.

  • @zoloftian
    @zoloftian 3 ปีที่แล้ว +5

    that transition sound...killed me. i am dead

    • @SlazeM7
      @SlazeM7 3 ปีที่แล้ว

      Good

  • @peetairsh
    @peetairsh 2 ปีที่แล้ว +1

    As I see this feature is now in Win 11. Is there a way to get it on Win 10?

  • @okpalindrome
    @okpalindrome 3 ปีที่แล้ว +1

    This is all good, but what about the nmap issue?

  • @adamm8067
    @adamm8067 2 ปีที่แล้ว +2

    I am looking at leaving macOS now that x86 support is being ditched. I have been torn trying to decide if I go down the Windows or Linux path. This looks like it could provide the best of both worlds. Very promising.

    • @MattWojo
      @MattWojo 2 ปีที่แล้ว +1

      Hope you give it a try!

  • @amans6504
    @amans6504 ปีที่แล้ว

    I would line to know the performance benchmarks of those linux GUI apps compared to native linux

  • @DmitrySV
    @DmitrySV 3 ปีที่แล้ว +5

    are all cpu cores are inherited by wsl?

    •  3 ปีที่แล้ว

      It's configurable together with the RAM and VHD limit docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig

  • @beer_goggler
    @beer_goggler 3 ปีที่แล้ว +1

    Has anyone managed to mount a zfs filesystem with wslg?

  • @craigo8938
    @craigo8938 3 ปีที่แล้ว +4

    This looks great. Any idea when this is coming to something more friendly than the "dev" channel of the insider program? (you can't downgrade from dev, it hammers downloads, isn't that stable, and the only way out is a full system re-install, ouch, learned the hard way, and now with my freshly wiped (to get off dev) windows lappy, I'm certainly never going back to the dev channel). Hence this is not useful to me till on a better channel or fully released.. (The dev channel lock in and wipe was a very ugly outcome for a linux person, with little or no warning of what I was getting myself into).

    • @sutirk
      @sutirk 3 ปีที่แล้ว +2

      Yeah, i went down the same rabbit hole to test WSL GUI
      The dev build worked fine for a few weeks, but then it became completely unstable and i would get a GSOD in under 10 minutes unless i had virtualization turned off, which made it impossible to use WSL
      Only when i tried to switch to the beta channel or even get out of windows insider program i discovered that i had to make a clean installation

  • @Rhidayah
    @Rhidayah 3 ปีที่แล้ว

    Is this support adapter wifi. I want to use monitor mode

  • @OmarChida
    @OmarChida 3 ปีที่แล้ว

    Can we get vulkan support in WSL, please?

  • @hjf3022
    @hjf3022 ปีที่แล้ว +2

    With the GPU support does that mean I can run the Linux version of steam, then play my favourite Windows games using Proton?

    • @oliver8156
      @oliver8156 ปีที่แล้ว +1

      🤦‍♂

    • @amdelarosapaf6243
      @amdelarosapaf6243 4 หลายเดือนก่อน

      Hahahaha 😂
      Just install steam natively on windows dude. Wth?

  • @ehza
    @ehza 10 หลายเดือนก่อน

    This is so cool!

  • @BP-qy2pb
    @BP-qy2pb 3 ปีที่แล้ว +1

    Which win10 build version should I upgrade to?

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      To run WSL with GUI app support, you currently need to join the Windows Insider program: insider.windows.com/ ..then run any build over 21362 to support WSLg. Here's the documentation about it: docs.microsoft.com/windows/wsl/tutorials/gui-apps

  • @DiegoAguilera
    @DiegoAguilera 3 ปีที่แล้ว

    Will this be available at launch for windows 11?

  • @juanodicio7716
    @juanodicio7716 3 ปีที่แล้ว +3

    Excelent news! WSL keeps getting better!

  • @bernardamofah4524
    @bernardamofah4524 2 ปีที่แล้ว

    will this be available with windows 11 release coming in October?

  • @SinanAkkoyun
    @SinanAkkoyun 2 ปีที่แล้ว +1

    But does it support high refresh rate?

  • @roaridse
    @roaridse 3 ปีที่แล้ว +8

    Will wine run even better in wsl ? :-D

    • @serang
      @serang 3 ปีที่แล้ว +4

      Run WSL inside Wine inside WSL inside Wine inside WSL

  • @IBITZEE
    @IBITZEE 3 ปีที่แล้ว

    hummm... and the auxiliar vm that is serving X and Wayland via RDP is always on?
    or is automagically activated when we use a WSL console??

    • @kanishkachakraborty
      @kanishkachakraborty 3 ปีที่แล้ว

      Automagically activated.

    • @souradchOSS
      @souradchOSS 3 ปีที่แล้ว

      its not a vm, but another distro, which is just like an container using separate namespace.

    • @kanishkachakraborty
      @kanishkachakraborty 3 ปีที่แล้ว

      @@souradchOSS the WSLg system distro is a separate VM, from your "user" distros, which is what OP referenced.

  • @AdamsTaiwan
    @AdamsTaiwan 3 ปีที่แล้ว +3

    When will we get the Linux icon in Explorer? I thought we would have it 2 versions ago? I'm on 21H1.

    • @agenttank
      @agenttank 3 ปีที่แล้ว

      ah, that's still not even in the Windows Releases? and I was always wondering why I dont have it...

  • @ulisesgarcia8960
    @ulisesgarcia8960 3 ปีที่แล้ว

    I can't show the GUI to run cv2 app (open cv)

  • @javiercorral5916
    @javiercorral5916 3 ปีที่แล้ว

    And we still don't get opacity on the new terminal :(

  • @sieyk
    @sieyk 3 ปีที่แล้ว +1

    When will the GUI and GPU support come to slow ring?

    • @MattWojo
      @MattWojo 2 ปีที่แล้ว

      I pretty rarely here dates for this sort of thing... guessing the devs working on it just move things through as soon as theyre satisfied that adequate testing is done. (All speculation on my part though).

  • @spy.catcher
    @spy.catcher 3 ปีที่แล้ว

    is it possible to run Linux GUI apps in dark mode?

  • @pudgystump
    @pudgystump 3 ปีที่แล้ว

    So, if I were to run Unreal Engine this way from Linux and I made a build. It would then be a Linux based build?

    • @codeman99-dev
      @codeman99-dev 3 ปีที่แล้ว

      Yup! There a decent list of official Linux distros or if you really need to you can import anything you like from an .iso or .tar archive. Use the linux package manager of your choice to install whatever the heck you feel like. Use it the same exact way as if you were running linux natively. The whole reason WSL2 exists is so that there's a real linux kernel involved.
      Only thing I'm not sure is if you can load your own kernel modules. There's a single, shared kernel for all of the WSL2 containers you run (including docker containers).
      Oh! And Microsoft even created a really amazing terminal. Search the MS store for "Windows Terminal". Seriously, really freaking awesome.
      Ref video, though slightly outdated: /watch?v=-atblwgc63E

  • @joeyreinhart8820
    @joeyreinhart8820 3 ปีที่แล้ว +3

    USB passthrough?

  • @tordjarv3802
    @tordjarv3802 2 ปีที่แล้ว

    Which one of the three E:s is this, looks like embrace to me

  • @napomokoetle
    @napomokoetle 3 ปีที่แล้ว

    Why not fix the networking first for WSL2 so it simply works after upgrading from WSL1? What's the point of running GUI when you can't get the system easily working on the network!

  • @MarthinusBosman
    @MarthinusBosman 3 ปีที่แล้ว +2

    Hope you guys are getting decent bonuses for this

  • @eliezerben
    @eliezerben 3 ปีที่แล้ว +1

    When will the issue with internet access when using VPN be fixed?

    • @eilders
      @eilders 3 ปีที่แล้ว

      How has this not been fixed yet?

  • @kaihendry
    @kaihendry 3 ปีที่แล้ว +1

    How about running Windows apps like Excel under (Arch)Linux?

    • @xxmountaindewxx7893
      @xxmountaindewxx7893 3 ปีที่แล้ว

      Put it in a winebottle

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว

      what would be the use case here, as opposed to just running it from windows?

    • @xxmountaindewxx7893
      @xxmountaindewxx7893 2 ปีที่แล้ว

      @@BattousaiHBr Linux doesnt spy on you and its free

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว

      @@xxmountaindewxx7893 but... if you're running it from WSL, you're already running windows anyway?

    • @xxmountaindewxx7893
      @xxmountaindewxx7893 2 ปีที่แล้ว

      @@BattousaiHBr Nah but we talking about an actual Linux install and running Windows programs on that machine

  • @justanobody2347
    @justanobody2347 3 ปีที่แล้ว

    Or how about I js remove windows and js run Linux? Wud that work too?

  • @davidrmn5180
    @davidrmn5180 3 ปีที่แล้ว +1

    What a time to be alive, great :D

  • @PhorDath
    @PhorDath 2 ปีที่แล้ว

    Will It be released for windows 10 or it will be windows 11 only? If it's going to be w11 exclusive I'm gonna be very disappointed.

  • @Handy-Handy
    @Handy-Handy 3 ปีที่แล้ว +16

    You Mr.WSL :) are my moste favorite employee at Microsoft!!!

  • @PankajRai
    @PankajRai 3 ปีที่แล้ว

    Just let me know when usb pass through works 🙏

  • @bulelanibotman
    @bulelanibotman 3 ปีที่แล้ว +7

    this is so great

  • @muktiprasadbehera5539
    @muktiprasadbehera5539 3 ปีที่แล้ว

    My screen is blinking after installing wsl.
    After uninstall the wsl my computer is working fine.

  • @FajriSiddiq
    @FajriSiddiq 3 ปีที่แล้ว +6

    when its gonna go on stable updates?

    • @hendsetiawan7741
      @hendsetiawan7741 3 ปีที่แล้ว

      I dunno exactly ,it's probably several months later.
      "Support for Linux GUI apps via WSL will become generally available in the next major release of Windows. To access to the preview build of Windows and try running Linux GUI apps now, you'll need to join the Windows Insider Program and run a Windows 10 Insider Preview build from the dev channel."
      docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps?WT.mc_id=windows-c9-niner#install-support-for-linux-gui-apps

    • @hendsetiawan7741
      @hendsetiawan7741 3 ปีที่แล้ว

      But yeah, we can assume that will be in windows 11 update

  • @nonetrix3066
    @nonetrix3066 3 ปีที่แล้ว +7

    Thanks, now I can run Windows on Linux with GPU pass-through, then run Linux on that Windows with GPU pass-through, then do it again

  • @cikupin
    @cikupin 3 ปีที่แล้ว

    we need opensuse tumbleweed. So we don't need to worry about linux app support. Please add rolling release distro to wsl

    • @act.13.41
      @act.13.41 3 ปีที่แล้ว

      That is up to openSUSE. They created the light weight kernel for Leap 15.3 that I am using. I too, would prefer Tumbleweed, but we get what we get.

  • @Alicontigo
    @Alicontigo 3 ปีที่แล้ว +1

    What about installing/runing the whole WSL2 from a secondary HardDrive instead of C:?

    • @nikolausmoll9201
      @nikolausmoll9201 3 ปีที่แล้ว +2

      You already can do this. But maybe you mean to run it on a dedicated ext4 partition instead of a VHDX?

  • @thogameskanaal
    @thogameskanaal 3 ปีที่แล้ว

    But can it display 3D-modelled donuts? :3

  • @osamabinladennitdgp9564
    @osamabinladennitdgp9564 2 ปีที่แล้ว

    That Arnold picture in background tho 🔥🔥

  • @SzTz100
    @SzTz100 2 ปีที่แล้ว

    Very awesome

  • @mohit.kunjir
    @mohit.kunjir 3 ปีที่แล้ว

    please fix the networking of WSL 2. Networking of WSL 1 was as one would have expected, but 2 introduces a software NAT bridge and makes things unnecessarily complicated. GUI apps can be worked upon later.

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      What exactly are you having trouble with?

  • @pitcher1716
    @pitcher1716 2 ปีที่แล้ว

    Not sure how you have blender working here since Nvidia drivers for WSL do not currently support openGL.

  • @Silails
    @Silails 2 ปีที่แล้ว +1

    Why is it only available for Windows 11 now?

    • @MattWojo
      @MattWojo 2 ปีที่แล้ว

      It's the future! Gotta have some reasons to keep upgrading. 😋

  • @trungthanhbp
    @trungthanhbp 3 ปีที่แล้ว

    So Microsoft new distro run inside the windows

  • @andyk84hl
    @andyk84hl 3 ปีที่แล้ว

    i love it!!

  • @michellonneberga3148
    @michellonneberga3148 3 ปีที่แล้ว

    NIce, but first the WSL2 has to work within Windows. There were so many error messages I cancelled it. I think it is probably easier to do it with vmware and add an Linux distro or stg.

    • @MattWojo
      @MattWojo 3 ปีที่แล้ว

      What errors were you running into? You can totally run your own vmware, but I belive that you'll have a better time integrating Linux and Windows via WSL. Were your errors related to installation? If so, there is a troubleshooting section in the docs: docs.microsoft.com/windows/wsl/install-win10#troubleshooting-installation

  • @RED75xtx
    @RED75xtx ปีที่แล้ว

    That's pure magic! Thanks a lot Microsoft.

  • @lashlarue59
    @lashlarue59 3 ปีที่แล้ว

    Does this mean that you can run Nvidia CUDA GUI applications and do CUDA development under Linux on WSL?

    • @manishjhamaster
      @manishjhamaster 3 ปีที่แล้ว

      yes

    • @lashlarue59
      @lashlarue59 3 ปีที่แล้ว

      @@manishjhamaster Were you able to get this to work? The Nvidia CUDA environment under WSL2 I mean.

    • @manishjhamaster
      @manishjhamaster 3 ปีที่แล้ว

      @@lashlarue59 Haven't personally tried. docs.nvidia.com/cuda/wsl-user-guide/index.html

  • @tirthachatterjee
    @tirthachatterjee 3 ปีที่แล้ว

    WSL don’t support x86 32-bit at this time. Due to this reason building 32bit application (specially for embedded system) is not possible on WSL.

    • @raymundhofmann7661
      @raymundhofmann7661 3 ปีที่แล้ว +4

      Embedded development usually is cross compiling.

    • @souradchOSS
      @souradchOSS 3 ปีที่แล้ว

      You can use yocto to build any embedded system under wsl2 , even on windows host. All depends on how yocto sysroot is configured for host vs target system.

  • @amitchauhan274
    @amitchauhan274 2 ปีที่แล้ว

    why some of folders are not showing icons

    • @MattWojo
      @MattWojo 2 ปีที่แล้ว

      If you mean icons for the WSL distributions, you may need to download them yourself and set the path if you want them displayed. Here's how to do it in Windows Terminal: docs.microsoft.com/windows/terminal/customize-settings/profile-appearance#icons

  • @swiftarrow9
    @swiftarrow9 ปีที่แล้ว

    So basically, I no longer need to dual boot. Love it.

  • @krtirtho
    @krtirtho 3 ปีที่แล้ว

    Can I run Wine in WSL to run/play Windows apps/games?

    • @BattousaiHBr
      @BattousaiHBr 2 ปีที่แล้ว

      probably, but wouldn't you just rather run it directly from windows instead?

    • @krtirtho
      @krtirtho 2 ปีที่แล้ว

      @@BattousaiHBr Just curiosity