News: 1617283871

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Canonical releases Ubuntu on Windows Preview with early builds, new tools for the brave

(2021/04/01)


Canonical has released a Community Preview of Ubuntu on Windows as "a sandbox for experimenting with new features and functionality" on Windows Subsystem for Linux (WSL) 2.

Ubuntu on Windows is normally installed via the Microsoft Store, and only LTS (Long Term Support) releases are available.

[1]

By contrast, the new preview, which is only available by a special link given in Canonical's post [2]here , is a frequently updated build, currently based on "Hirsute Hippo", the codename for Ubuntu 21.04 for which the stable release is expected on 22 April.

Users who risk installing the preview, which is not as stable as the normal version ("It is not recommended as a 'daily driver' unless you are OK handling the occasional hiccup"), will also get the benefit of new tools.

[3]

[4]

The new installer for Ubuntu includes an option for 'Legacy GUI Integration' but it is not full official support yet

The setup is more user-friendly thanks to the [5]Subiquity installer, and a utility called ubuntuwsl, many features of which are "experimental", allows tinkering with settings such as how Windows drivers are mounted. There is even a text-based GUI of sorts.

[6]

The ubuntuwsl utility, for conjuring various options, has a text-based GUI option

Canonical said that the preview is important "to match the speed of innovation in open-source and test new features with the community at a faster pace."

One feature that is awaited with interest is official support for a GUI on WSL 2. At the Build event in May last year, Microsoft program manager Craig Loewen [7]said that adding Linux GUI app support to WSL is "on our roadmap" and that "our goal is for you to be able to run Linux GUI apps on your desktop seamlessly alongside your Windows apps."

We have heard little since; perhaps there will be more at the Build expected at the end of May this year. Microsoft's implementation will communicate with "a RDP client on the Windows host," according to Loewen.

Sadly there is no sign of this in the new Windows Community Preview, though there is an intriguing option to include "Legacy GUI Integration," though it "requires a third-party X server."

[8]

The GIMP image editor running on Linux on Windows

We installed [9]VcXsrv , enabled the legacy GUI integration, and then typed sudo apt install gedit . This pulled down a bunch of dependencies. Running gedit, the GNOME text editor, then worked immediately with no need for any additional configuration. Getting more ambitious we tried GIMP, the popular cross-platform image editor.

This crashed our X server, but worked if VcXsrv was reconfigured as a single window, rather than multiple windows. We could open and edit images from the Windows file system as well as within the WSL 2 VM – though we cannot promise that this kind of setup will be stable.

[10]

The original thinking behind WSL was to improve Windows 10 for developers, many of whom are building and debugging applications which run in production on Linux servers. GUI support is not so important in this context, though it can still be useful. Official GUI support, when it comes, has the potential to broaden the appeal of WSL and make Windows 10 into a fully hybrid Windows/Linux system, for those who want it. ®

Get our [11]Tech Resources



[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YGXuFaOo1YVGDRU5ChiUIQAAAE8&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[2] https://ubuntu.com/blog/announcing-ubuntu-on-windows-community-preview-wsl-2

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YGXuFaOo1YVGDRU5ChiUIQAAAE8&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[4] https://regmedia.co.uk/2021/04/01/gui.png

[5] https://github.com/canonical/subiquity

[6] https://regmedia.co.uk/2021/04/01/visual.png

[7] https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-build-2020-summary/#wsl-gui

[8] https://regmedia.co.uk/2021/04/01/gimp.png

[9] https://sourceforge.net/projects/vcxsrv/

[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YGXuFaOo1YVGDRU5ChiUIQAAAE8&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[11] https://whitepapers.theregister.com/

Canonical said that the preview is important

Anonymous Coward

"to match the speed of innovation in open-source and test new features with the community at a faster pace."

Am I the only one smelling a big pile of BS here ?

Can anyone help me see the point

Anonymous Coward

of runnig Gimp on Linux in WSL on Windows instead of just runnig it on Windows ? I'm expecting something beyond the 'just because we can'.

Re: Can anyone help me see the point

disgruntled yank

I infer the author did this to test the Ubuntu window management.

Oh the irony

Yet Another Anonymous coward

A couple of years ago, a story about running Linux on Windows in an officially supported way - published on April 1st

Hirsute Hippo?

WolfFan

Who names these things? Hippos aren’t exactly known for having lots of hair. Or for being friendly or cuddly, despite what certain Disney films may imply. More like a tonne and a half of fast-moving, large tusked, death. They’re more dangerous than lions and crocodiles. Combined.

Admittedly there are those who think that lions are cute, and some who will play silly buggers with crocs, but Charlie Darwin usually takes care of them.

Re: Hirsute Hippo?

Yet Another Anonymous coward

And are Unicorns Utopic? or Werewolves Wily ?

karlkarl

No GUI support?

We have had Win32 Xservers since the early 90's.

XVision, VcXsrv, Xwin, Xmin, X-win32

Take your pick.

https://linux-hardware.org/?view=os_display_server

Wayland is around 7.1% market share. Somehow I doubt Microsoft is such a fan of Wayland that it refuses to use current X11 technology unlike the rest of the IT community.

Facts, apart from their relationships, are like labels on empty bottles.
-- Sven Italla