Microsoft loves Linux – as in, it loves Linux users running Linux desktop apps on Windows PCs

Come inside, penguinistas, install that WSL GUI preview, yes, open source is totally winning here


Video Microsoft this week released a preview version of Windows Subsystem for Linux GUI, or WSLg, which provides a way to run Linux applications with graphic interfaces on Windows devices.

Foretold last year at the software titan's virtual Build 2020 conference, WSLg takes the previously released WSL 2 beyond Linux command line tools and apps and makes it the foundation of a functional Windows/Linux desktop chimera.

"You can use this feature to run any GUI application that might only exist in Linux, or to run your own applications or testing in a Linux environment," explained Craig Loewen, program manager for the Windows Developer Platform at Microsoft, in a blog post.

Microsoft Windows and 'Tux' Linux logos next to each

More Linux love for Windows Insiders with a kernel update

READ MORE

Loewen highlights the utility of WSLg by noting that it will let developers test their cross-platform apps in both Windows 10 and Linux without switching hardware or managing virtual machines.

By offering a hybrid development environment, Microsoft may encourage Linux developers to see its software and hardware as tools of the trade. At the very least, it presents an alternative to WINE, which runs Windows software on Linux and other Unix-like operating systems.

Loewen also points to WSLg's built-in audio and microphone support, which allows, for example, the Linux version of Audacity to record and playback sound on a Windows machine. What's more, WSLg offers support for GPU accelerated 3D graphics, via OpenGL, and the convenience of being able to launch Linux apps from the Windows Start menu should not be overlooked.

Youtube Video

All this works without having to fire up X11 forwarding and an X11 server because WSLg launches a companion Linux system distro, Microsoft’s CBL-Mariner, with Wayland, X server, pulse audio server, and other components necessary for connecting Linux GUI apps to Windows.

WSL 2 is not without issues that still need to be resolved. For example, it may consume half your memory or more, a tendency that last year prompted Loewen to recommend that users explicitly set their preferred value in the .wslconfig file. But that's to be expected from preview software.

Those looking to try out WSLg should download the Windows 10 Insider build 21364 via the Dev Channel. GPU compute support is advised and the GitHub repo contains more detailed instructions. ®


Other stories you might like

  • Lonestar plans to put datacenters in the Moon's lava tubes
    How? Founder tells The Register 'Robots… lots of robots'

    Imagine a future where racks of computer servers hum quietly in darkness below the surface of the Moon.

    Here is where some of the most important data is stored, to be left untouched for as long as can be. The idea sounds like something from science-fiction, but one startup that recently emerged from stealth is trying to turn it into a reality. Lonestar Data Holdings has a unique mission unlike any other cloud provider: to build datacenters on the Moon backing up the world's data.

    "It's inconceivable to me that we are keeping our most precious assets, our knowledge and our data, on Earth, where we're setting off bombs and burning things," Christopher Stott, founder and CEO of Lonestar, told The Register. "We need to put our assets in place off our planet, where we can keep it safe."

    Continue reading
  • Conti: Russian-backed rulers of Costa Rican hacktocracy?
    Also, Chinese IT admin jailed for deleting database, and the NSA promises no more backdoors

    In brief The notorious Russian-aligned Conti ransomware gang has upped the ante in its attack against Costa Rica, threatening to overthrow the government if it doesn't pay a $20 million ransom. 

    Costa Rican president Rodrigo Chaves said that the country is effectively at war with the gang, who in April infiltrated the government's computer systems, gaining a foothold in 27 agencies at various government levels. The US State Department has offered a $15 million reward leading to the capture of Conti's leaders, who it said have made more than $150 million from 1,000+ victims.

    Conti claimed this week that it has insiders in the Costa Rican government, the AP reported, warning that "We are determined to overthrow the government by means of a cyber attack, we have already shown you all the strength and power, you have introduced an emergency." 

    Continue reading
  • China-linked Twisted Panda caught spying on Russian defense R&D
    Because Beijing isn't above covert ops to accomplish its five-year goals

    Chinese cyberspies targeted two Russian defense institutes and possibly another research facility in Belarus, according to Check Point Research.

    The new campaign, dubbed Twisted Panda, is part of a larger, state-sponsored espionage operation that has been ongoing for several months, if not nearly a year, according to the security shop.

    In a technical analysis, the researchers detail the various malicious stages and payloads of the campaign that used sanctions-related phishing emails to attack Russian entities, which are part of the state-owned defense conglomerate Rostec Corporation.

    Continue reading

Biting the hand that feeds IT © 1998–2022