Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Windows Linux

Latest Windows Preview Build Adds Support For Linux GUI Apps (windows.com) 94

jonesy16 writes: While users have long been able to run Linux GUI apps on Windows by installing a separate X Server, this marks the first time that native support is available through the Windows Subsystem for Linux (WSL). Audio support and hardware acceleration are also provided, seemingly enabling a limitless set of use cases for those wishing to live the dual OS life. The change is identified in the recent preview build release along with a more in-depth discussion of the graphical subsystem now called WSLg.
This discussion has been archived. No new comments can be posted.

Latest Windows Preview Build Adds Support For Linux GUI Apps

Comments Filter:
  • Embrace
    Extend
    Extinguish
    • My first thought, this looks like the beginning of step 2.

      • My first thought, this looks like the beginning of step 2.

        What's the market share percentage for Desktop Linux? After twenty years of The Year of Linux on The Desktop just how much extending is really necessary here? Of course the real threat is the OSS apps being embraced, not the Linux kernel, that owns the server space and likely Scientic applications I would think. This bit is akin to what linux did with ZFS, something they've been lusting for for a long time. They extended it. This is just Microsoft showing how it's done. Plain as day but, historically, seemi

        • What's the market share percentage for Desktop Linux?

          2%... which is about quadruple what it was 15 years ago. Double that if you include ChromeOS.

          2% of Microsoft's annual revenue is about three billion dollars. Seems like that might be worth some effort to keep people in their software ecosystem.

      • Comment removed (Score:4, Interesting)

        by account_deleted ( 4530225 ) on Thursday April 22, 2021 @04:40PM (#61302234)
        Comment removed based on user account deletion
        • by tlhIngan ( 30335 )

          Exactly. It's just running a Linux application with X support. The user still has to supply the Z server, it's just that WSL now supports all the finicky business of network connections internally.

          I wouldn't even call it an "extend". It's more like "Windows can now run GUI Linux apps, something Linux has done for decades now".

          One thing I'd like to know is how the third E will be accomplished. Because considering that Ballmer tried his hardest to do it and failed. And I really cannot see how Microsoft can ex

          • I wouldn't even call it an "extend". It's more like "Windows can now run GUI Linux apps, something Linux has done for decades now".

            Linux can run Linux GUI apps shocker. Not really comparing apples to apples is it? How long has Linux been able to run GUI Windows apps in the same manner as Windows now can on Linux? And no, WINE doesn't count as that's a third party app.

            • by caseih ( 160668 )

              Linux has been able to run Windows apps in a virtual machine but showing only individual app windows on the Linux desktop ever since the early days of VMware. VirtualBox can do it also.

        • I think it's possible it's the other way, that MS will simplify their own OS by adopting various free software stacks.

          Here they have X11 and Wayland interfacing with Win32 glue code. If they transitioned their own graphics stack to Mesa then they'd get all the benefits of Vulkan, LLVMPipe, Zink etc without spending a dime on implementing cross platform standards. And there are already cleanroom efforts to reproduce shaders for Direct3D.

          MS want to lock you into Win 10, sure, but it won't be long before some

      • My first thought, this looks like the beginning of step 2.

        But how? How do you extinguish open source software?

        • By retaining or taking market share, the same way Microsoft has dominated desktop OSes.

          • By retaining or taking market share, the same way Microsoft has dominated desktop OSes.

            But that demonstratably didn't extinguish Linux, it's more prevalent than ever before. Same goes for proprietary software like Apple's Mac operating system that itself is more popular than ever and even evolved into iOS. The desktop is the last bastion of Microsoft's operating system dominance having failed in server, embedded and mobile.

            • Re: (Score:2, Interesting)

              by postbigbang ( 761081 )

              Microsoft has so many barnacles in its code that it has to shift to Linux. Of a handful of barnacles (going back to Unix), many Linux distros no include systemd instead of initd. Microsoft has much legacy insanity, that you simply cannot get away with for long with Linux because of its open source nature.

              Microsoft used much BSD code over the years, which is legal. They didn't publish that code because they didn't have to do so.

              The latest generation of coders doesn't remember Ballmer, doesn't remember the di

              • Microsoft has so many barnacles in its code that it has to shift to Linux. Of a handful of barnacles (going back to Unix), many Linux distros no include systemd instead of initd. Microsoft has much legacy insanity, that you simply cannot get away with for long with Linux because of its open source nature.

                Well yes but that's why Microsoft has such extensive backwards compatibility, the Win32 API is very much still supported. Though I do prefer the strategy of Apple (and Linux) of just recompiling your old code and making the necessary changes to keep things up to date.

                The latest generation of coders doesn't remember Ballmer, doesn't remember the diatribe and FUD campaigns, doesn't remember the business slime that Microsoft spread and so is more willing to go, fine, I'll just execute as a VM-ish installation within my WIndows desktop, where all my xbox stuff is, anyway.

                That illustrates how long ago it was, it was a different company under different leadership at a different time. The world of computing is so much different today, much more diverse and Microsoft seems to be acknowledging that, while Windows is

    • by Anonymous Coward on Thursday April 22, 2021 @04:27PM (#61302186)

      Fucking hell, you lot are like the conspiracy theorists waiting for the end of the world according to the Mayan calendar. It's the same fucking dull boring irrelevant incorrect posts every time the word "Microsoft" comes up for 20 years.

      Will you ever give it up? We've had two decades, two CEOs, and a complete change of staff and mentality at Microsoft since then.

      You're literally living in the 90s, I've no idea how the fuck you even survive in IT if you're so incapable of updating your knowledge of the market, or is that the problem? you don't? you sit at home bitter and failed thinking it's everyone else's but yours? Can we really not have a sensible discussion about this somewhat interesting new technology without you bitter turds harping on about something that happened so long ago and is irrelevant to the Microsoft of today?

      • It's the same nonsense we saw with SecureBoot, oh what a giant conspiracy that was going to be! It was going to extinguish Linux on the desktop and all manufacturers would be bowing to Microsoft with secret backdoor deals to lock down systems so that you could never install anything but Windows. But they were forcing manufacturers to have the option to turn it off? Oh no that was the genius of the whole conspiracy...somehow. Of course it all turned out to be nothing, but then they removed the requirement fo

      • If Microsoft were this radically changed company, some of their software would actually work in Linux. At least their web browser (I know they have an Alpha that hasn't been making any progress for a year, but all it does for me is say "Error: cannot satisfy dependenies" and seems designed to pretend Linux doesn't work).

        Their goal of having Windows "embrace" Linux is to make everything Linux work on Windows so they can extend that by having Microsoft's own software only work on Windows and not Linux. Their

        • by Anonymous Coward

          If Microsoft were this radically changed company, some of their software would actually work in Linux.

          VSCode for example works perfectly well as does Teams and even their flagship MSSQL server product.

          Their goal of having Windows "embrace" Linux is to make everything Linux work on Windows so they can extend that by having Microsoft's own software only work on Windows and not Linux.

          But they have quite a lot of software that does work on Linux, Android, iOS and macOS, they even have quite a lot of w

        • If Microsoft were this radically changed company, some of their software would actually work in Linux.

          Fuck you're dumb. Have you actually crawled out of your cave and had a look around?

      • by EvilSS ( 557649 )

        You're literally living in the 90s

        That's the minimum prerequisite for a /. account.

    • This comment makes as much sense as the underpants gnomes. I’d love to hear it elaborated.

    • by r_naked ( 150044 ) on Thursday April 22, 2021 @05:16PM (#61302360) Homepage

      Fuck you. Let it fucking die already. This is not the god damn 90s.

      • Those whom do not learn from history are doomed to repeat it.

        Microsoft has a long history of abusing their monopoly.

        Only a fool would not be suspicious of their current actions.

    • by thegarbz ( 1787294 ) on Thursday April 22, 2021 @05:41PM (#61302438)

      Embrace
      Extend
      Extinguish

      Indeed they did. ... In a different time, in a different market, facing a different competition, with different leadership, and against a different profit motive. Assuming the actions of the past are relevant in the present without considering if they are even possible or if they even make sense is silly. There are many reasons why this isn't EEE:
      - It makes no sense for MS to go after the Linux desktop, a market which frankly is infinitesimally small and not profitable enough to justify the effort.
      - It's not possible to go after the Linux desktop like this. What "incompatibility" can MS introduce to the rest of the Linux ecosystem that would make Linux people think "eeh fuck it I'll stick with MS" rather than just giving the the middle finger and going back to Linux?
      - It's not at all in line with their recent (past 15 years) history of actually putting zero effort into making their software incompatible with Linux.
      - It doesn't remotely make sense in a world where MS profits directly from Linux. Why extinguish the system which costs you nothing but makes you 55% of your Azure profits? Why extinguish a system that costs you nothing but you can easily repackage with your OS bringing users and developers with you? Why put effort into releasing actual Linux versions of several of your more killer programs if your goal is to extinguish?

      Another poster said "Fuck you let it die", but it's worth putting some analysis into why this "everything MS does is EEE" meme is actually incredibly stupid on the face of it.

      • This new feature of running Linux GUI programs on windows removes an argument you can have with a manger to use Linux desktop. It would go something like this:
        Me: I need to use Linux on my desktop because I have to run program XYZ and that is the only way of running XYZ.
        Manager: You can now run program XYZ under windows, so you don't need Linux as your desktop.

        • Are you living in a world where Cygwin and all of those UNIX compatibility layers for Windows didn't exist?
          • I live in the world where I want to use Linux as my desktop OS and my manger does not know about Cygwin.

        • This new feature of running Linux GUI programs on windows removes an argument you can have with a manger to use Linux desktop.

          In what world do you remotely think MS thinks this is a threat to its revenue? If you're having these arguments with a manager then I highly suspect you're a Windows shop with Windows infrastructure and a per seat license for ever PC you have.

          Again your individual case may be relevant to you, but it has zero impact to MS's bottom line and isn't remotely a threat to them. It makes no sense to engage in a many million dollar long term campaign to keep you from having a linux PC at your work, to say nothing of

      • Another poster said "Fuck you let it die", but it's worth putting some analysis into why this "everything MS does is EEE" meme is actually incredibly stupid on the face of it.

        And yet here we are in 2021 using Windows 10 which reports everything you do to Microsoft and comes pre-rooted for your government's convenience. Don't ask what Windows Defender is reporting to Microsoft concerning your personal files.

        Yes. I agree with you. The Microsoft of the 90s is dead and gone. What has replaced it is on level with the STASI.

        TL;DR, the reasons for hating Microsoft may have changed but the need for rejection is stronger than ever.

        • Cool story. Go rant in someone else's thread. This thread is about the ability for MS to successfully implement an EEE strategy in the 2020s. Do you have an opinion on the matter or can I ask you to kindly GTFO?

    • Embrace
      Extend
      Extinguish

      How does that apply to what they are doing with Linux? If they actually did extend it such that things only worked on Windows the only thing they would be extinguishing is the value proposition of WSL:

      Hey developers, build and test your apps on Windows, oh but they won't work when you actually want to deploy them.

      What would be the point of that?

    • What is about to be extinguished here is Win32.

    • Microsoft's new Big Thing is Azure. Much of Azure runs Linux. Microsoft wants that Linux development to be a comfortable experience for people with Windows on their desktop. So Extend, yes, but not extinguish. Interestingly they are including Wayland in this, which could, along with Ubuntu having another go with 21.04, be the push it needs. And with how Linux dominates much of computing away from the desktop, it isn't worth Microsoft fighting against Linux, rather make Windows worth spending $100 extra on y

  • Year of the LInux Destop!
  • by Wolfier ( 94144 )

    Does it allow me to run Overwatch on WINE?

  • Can Windoze run OS/2 apps?

    That would be irony.

    • The original Windows NT had the concept of protected mode subsystems, so it could handle NT, DOS and OS/2 binaries. Similarly, it should be able to handle POSIX as an equal partner to any of the other subsystems. I suspect that OS/2 is no longer supported.

      It was a pretty cool idea and I think they could have taken it a lot further.

      A.

      • I stand enlightened. Ty.

      • by kriston ( 7886 )

        Unfortunately, WSL 2 is not a protected mode subsystem. While it was originally intended to be one (in WSL 1), MSFT decided to make it a virtual machine running under Hyper-V for WSL2, totally ignoring the concept of Windows NT subsystems.

  • Sounds Interesting (Score:4, Interesting)

    by malus ( 6786 ) * on Thursday April 22, 2021 @04:22PM (#61302174) Journal

    Having been forced into a Windows environment for the first time since 1998, I look forward to seeing this in action.

  • All that telemetry and other private data will still get sent off to MS if you run the Linux subsystem. They get none of it if you just run Linux. My experience is that Linux Blender renders are about 15-20% faster when running on bare metal compared to Windows. Not that Linux is perfect. If I could buy Affinity Photo for Linux, I'd do so as soon as it was released. The FOSS alternatives are... lacking.

    • My experience is that Linux Blender renders are about 15-20% faster when running on bare metal compared to Windows.

      Wait... You as a Linux fan and telemetry hater are running a fast ring Insider build with all the normal Windows + extra telemetry and even less stability, and were so mad keen on the content that you even bothered to jump in and benchmark Blender all within the day of the release of a system you hate?

      Why does your post smell like complete bullshit?

      • by maynard ( 3337 )

        Believe it or not, I've got a TR build running Ubuntu 20.04 with Blender, Davinci Resolve Studio, and Scrivener under Wine. I do keep a win10 partition around for the occasional foray into Office. Sometimes I run an old copy of Adobe CS6 that's long since paid for, mostly for Ps. Have I benchmarked Blender on Win10 vs Linux? Oh yeah. I have. On CPU renders, it's a good 15-20% faster on Linux for the same render. For GPU (VEGA FE), it's a wash. Though I think the Win10 OpenCL drivers have an edge over AMD's

        • Bangs on about privacy, uses AWS. Couldn't make it up.
          • by maynard ( 3337 )

            For a job to a client? Yup. No problem! I'll even use the spot market to save a few bucks.

        • Have I benchmarked Blender on Win10 vs Linux? Oh yeah. I have. On CPU renders, it's a good 15-20% faster on Linux for the same render.

          I think I understand you now. In the future when you use the phrase [OS] [Software] runs better bear metal than on [Other OS] the only sane interpretation is that you're comparing native vs emulated version, in this case Windows vs WSL, reinforced by the fact we're talking about emulation.

          You should be clearer what you're comparing next time. Yes Blender does run faster on Linux than Windows. Why you think that is relevant to this topic on emulation is beyond me.

          • by maynard ( 3337 )

            You should be clearer what you're comparing next time.

            Such pleasant people at /. I wonder what you're like after you loosen up with a few beers. Do you eat children raw?

            My comparison was of Linux apps running on the Windows subsystem vs running Linux apps on bare metal. Which strikes me as on topic. But hey, if you don't think so, fine by me.

  • I'm running WSL, and when I need to I launch an Xserver. How will this be different?

    • by Junta ( 36770 )

      You wouldn't have to run the X server, first and foremost.

      Further I don't know about how you might be doing audio, but it looks like they put some effort into that. I've previously played with RDP-to-local system and the latency has been noticeably irritating, but maybe this incarnation does it better?

      For me, it's not too interesting, as most graphical linux apps have adequate native Windows versions (except Terminal, even Microsoft's new Terminal isn't as good as Gnome Terminal or Konsole), and what I woul

    • If you install a Windows driver that supports it, and are running Mesa 21 or later, you get GPU acceleration. Plus there is the fact that it just works .. no need for an X server or Pulseaudio.

  • If you want linux GUI software, or cli software, use linux.
  • does it run Linux?

  • Most graphical programs that are available on a Linux platform are also available as a native Windows’s platform. Third party software gives us most of the eye candy that KDE has, and Windows has overcome most of the problems that made us long for Linux.

    As to using Linux GUI for development, notepad++ and VS Studio and VS Code easier to use than the Linux tools.

    For those of us that are comfortable with PowerShell and using *nix binaries within the command line and prefer MS windows terminal to GN

    • People who want to develop for both OS and try to maintain some uniformity in presentation between platforms. No more need for VMs, no need to boot into one or the other and this works a whole lot better than trying to do the same but in reverse, trying to develop Windows GUI apps under Linux.
  • Is it using hardware accelerated graphics?

    The reason I ask is because Hyper-V VGA is not yet accelerated.

  • by biggaijin ( 126513 ) on Thursday April 22, 2021 @07:05PM (#61302778)

    With actual Linux instead of Microsoft's imitation Linux, I get the real experience without the intrusive spyware and monitoring, No thanks, Micro$oft.

    • Don't forget less reliability, need for more memory and slower performance. I've had blue screen with windows 10. My PC sure is sad booted into Win 10 for once a month things than it is running Linux Mint

      • Don't forget less reliability, need for more memory and slower performance. I've had blue screen with windows 10. My PC sure is sad booted into Win 10 for once a month things than it is running Linux Mint

        I've not had a blue screen on Windows for years so I don't know what you're doing wrong. I have however had nothing but a shitload of problems in Linux with audio being passed over HDMI every time I update graphics drivers. Update drivers, oh no audio - set to null device. Dig out list of fixes that usually work, try various ones until we get the sound back, rinse and repeat. I'd take an occassional BSOD from Windows over the shitshow that is audio on Linux any day of the week.

    • With actual Linux instead of Microsoft's imitation Linux, I get the real experience without the intrusive spyware and monitoring, No thanks, Micro$oft.

      You must have a short memory and forgotten the whole Canonical debacle where Ubuntu did exactly that.

  • WSL always sounds good but is never really there. I'll just take Linux, thank you.
  • The Year of the Windows desktop! :P
  • MS are manoeuvring in case they are split along product lines - their OS will be able to run Windows and Linux apps, and their Office (subscription) software can run on Windows / Apple / Linux (if not now, then soon) operating systems.pAdd in their move to provide IaaS/Paas/SaaS and that gives enterprise the ability to chose, mix and match.
  • Some more: DRM kernel (Vista base), telemetry, forced updates/reboots, no customizability, no way to patch anything, or contact the deveopers (for mortals), and nothing to offer over Linuy that isn't the result of monopolism.

    Sorry, MS. You lost the driver battle with Linux. And you are currently losing the application battle with ... well... literally everyone else.
    Boo-hoo... lol.

    I'm now going to chat up the developer of my open-source app and tell him a joke about user-friendliness and support. :)

    • Sorry, MS. You lost the driver battle with Linux. And you are currently losing the application battle with ... well... literally everyone else. Boo-hoo... lol.

      I'm now going to chat up the developer of my open-source app and tell him a joke about user-friendliness and support. :)

      And yet they're the second largest tech company in the world and Linux has finally increased it's desktop market share in 2020 to just about where Windows XP is in 2020...an OS superceded a decade and a half ago and EOL support 9 years ago. As for user-friendliness Linux and OSS, the vast majority of it is pretty much a shining example of how not to do it as it's full of people who have no clue how to do user interfaces and assholes with attitudes like yours.

  • Win-KeX provides already a solution that doesn't require any X-Server on the Windows system. Simple and efficient!
    https://www.kali.org/docs/wsl/... [kali.org]

It's currently a problem of access to gigabits through punybaud. -- J. C. R. Licklider

Working...