r/bashonubuntuonwindows • • May 19 '25

WSL2 WSL is open sourced!

Thumbnail github.com
295 Upvotes

r/bashonubuntuonwindows • • Apr 26 '22

Misc. Are WSL memes allowed?

Post image
262 Upvotes

r/bashonubuntuonwindows • • Dec 04 '24

WSL2 Why is it called Windows Subsystem for Linux and not Linux Subsystem for Windows?

198 Upvotes

Because to me, the host system is Windows and the subsystem is the Linux OS because is allocated inside the host, right?


r/bashonubuntuonwindows • • Jan 18 '26

self promotion Built a GUI for WSL over Christmas (yes, I know it doesn't need one)

Post image
179 Upvotes

Before anyone says it — I know WSL doesn't really need a GUI. The command line works fine. But I had some time over the Christmas break and wanted to learn Tauri/Rust, so I built one anyway.

What it does:

  • Lists your distros with status/memory usage

  • Start/stop/terminate with a click

  • Export/import distributions

  • Browse and install from Linuxcontainers.org or OCI registries

  • Rename distros - no export/import needed

What it's not:

  • Essential software you can't live without

  • A replacement for knowing wsl --help

It's built with Tauri (not Electron) so it's around 4MB, uses the system WebView, and won't eat your RAM.

If anyone's interested:

Free, open source, useful sometimes maybe. Happy to answer questions or take feedback (be gentle, it's a side project).


r/bashonubuntuonwindows • • May 19 '20

Huge WSL news breaking at Build2020 - Linux GUI apps and GPU Compute coming to WSL

169 Upvotes

Happy Build 2020 day WSL Redditors :)

We're dropping HUGE news at Build2020 that we thought you'd find interesting:

WSL will preview GPU Compute this summer, and preview Linux GUI apps later this year.

Both of these features have been some of the earliest and most popular requests of WSL since we first unveiled WSL at Build 2016. There's a lot of active conversation going on over on Twitter right now, but thought I'd invite you all to the conversation too 😜

Read more about these and other WSL announcements here: https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-build-2020-summary/


r/bashonubuntuonwindows • • Oct 15 '26 Bravo

self promotion Run GPU accelerated Desktop on WSL

149 Upvotes

Weaselway provides a way to run a fully GPU accelerated Wayland compositor in WSL2. This means KDE, Gnome, Hyprland and all the other ones.

https://github.com/weaselway/weaselway#weaselway

By hacking mesa and having a kernel module that implements the necessary parts of drm and kms, we can get the compositor to belive that a monitor exists and we can get the application to transfer their rendered gpu surfaces directly to the compositor. The updated regions from the monitor are then read back to cpu memory and transfered to a patched freerdp client via shared memory. Similar to how WSLg does it.

You can download and try a NixOS based GNOME and KDE image directly from the github releases.

Before someone screams slop: it works perfectly fine, I now know more than before I started the project and it might even reduce the entry hurdle for people to try out a Linux Desktop.


r/bashonubuntuonwindows • • Sep 21 '22

WSL now has built in systemd support

Thumbnail
devblogs.microsoft.com
133 Upvotes

r/bashonubuntuonwindows • • Jun 12 '19

WSL 2 is now available in Windows Insiders

Thumbnail
devblogs.microsoft.com
133 Upvotes

r/bashonubuntuonwindows • • May 06 '19

Microsoft unveils Windows Terminal, a new command line app for Windows

Thumbnail
theverge.com
127 Upvotes

r/bashonubuntuonwindows • • Jan 24 '21

self promotion Anyone interested in an app like this?

Post image
123 Upvotes

r/bashonubuntuonwindows • • Apr 08 '20

WSL News Windows 10 build 19603 adds File Explorer Integration to WSL

Thumbnail
twitter.com
108 Upvotes

r/bashonubuntuonwindows • • Dec 26 '20

Misc. Scott Hanselman's 2021 Ultimate Developer and Power Users Tool List for Windows

Thumbnail
hanselman.com
107 Upvotes

r/bashonubuntuonwindows • • Nov 16 '22

WSL2 WSL 1.0.0 - released, out of preview.

Thumbnail
github.com
104 Upvotes

r/bashonubuntuonwindows • • Mar 22 '21

Misc. I made a CRT shader for the Windows Terminal

Thumbnail
gallery
104 Upvotes

r/bashonubuntuonwindows • • Oct 22 '21

WSA Develop React Native app inside WSL2 with WSA

Post image
103 Upvotes

r/bashonubuntuonwindows • • Apr 12 '17

Windows 10 Creators Update: What’s new in Bash/WSL & Windows Console

Thumbnail
blogs.msdn.microsoft.com
100 Upvotes

r/bashonubuntuonwindows • • Sep 22 '20

WSL2 Updated on the upcoming Linux GUI support via gif

Thumbnail
twitter.com
99 Upvotes

r/bashonubuntuonwindows • • Feb 26 '21

WSL2 The Sims 2 on Wine-Staging on XFCE4 on Ubuntu on WSL2

Post image
98 Upvotes

r/bashonubuntuonwindows • • Oct 23 '21

Misc. I got Windows Subsystem for Android running on windows 10

96 Upvotes

Testing gplay n other stuffs (arknights) now :3


r/bashonubuntuonwindows • • Sep 30 '20

WSL2 Fully Working KDE on Bash on Ubuntu 20.04!!!

96 Upvotes

KDE on Ubuntu on Windows!!!

That's right, you heard me correctly, and the proof lies right here before your very eyes, absolutely no GIMPing necessary! All those who wish to pay for Windows just so they can bypass it and run free Linux distributions and apps non-natively, rejoice!

I have KDE (from the kubuntu-desktop package) working pretty much 100% just like on a native setup! No need for fancy custom Linux kernels, no flashy custom WSL distributions, just good old Ubuntu from the Windows store and a bunch of free downloads to supplement it. Obviously it doesn't have direct bluetooth access and whatnot, but I think I've got just about everything I could need for now and everything WSL 2 currently permits. As you can see, I've got high resolution graphical output with VcXsrv and working audio with Pulseaudio, the microphone works too (many setup guides recommend disabling the Pulseaudio microphone capability, but it appears that some recent Windows update fixed this issue).

There's no software rendering warning in the KDE system tray because I disabled the Windows native OpenGL rendering option and allow WSL 2 to perform its own direct hardware rendering, also the authentication system in KDE works properly and allows me to change system settings or install apps and updates because I'm using Genie to run a fake SystemD environment (without this you would have to run it as root). With SystemD running, you need to set up NetPlan to manage your internet connection, there's all sorts of fantastic tips on this and other WSL issues found here.

To get Muon Package Manager running and authenticating properly without undesirable workarounds, I had to edit the file org.kubuntu.qaptworker3.policy in the PolicyKit actions folder and add in "allow_any" flags for all the actions, because it appears that WSL doesn't log you in as an active or inactive user (try the "w" or "who" commands, I get empty output), but apparently you do get counted under the "any" category. I might possibly need to do a similar fix for other apps, but I haven't noticed any similar such issues yet.

If you follow the high DPI graphics tips in the second link I posted, I recommend adding GDK_SCALE=2 to your /etc/environment file to compensate. You could set it in your own .bashrc, but then it won't be picked up by programs that run in their own environments. Edit: Upon further testing, it’s actually best to set it in both files. Add “GDK_SCALE=2” to etc/environment and “export GDK_SCALE=2” to your .bashrc.

There's also a GDK_DPI_SCALE variable you can set, but I didn't personally find any need or benefit to doing so in my case. If you find the KDE system tray icons to be ridiculously tiny because of the high DPI settings, you can fix that by first resizing and re-docking the associated panel, then editing the appropriate config file as detailed here.

This more or less covers my basic setup, there might be a tweak or two I'm forgetting. A last couple of tips, if you find Pulseaudio refusing to start up again after shutting it down, go to your Windows user home directory, enter the .pulse directory and the daughter directory beneath it, then delete the little pid file you see there (it's normally supposed to be deleted by Pulseaudio on exit, but won't be if you shut it down by closing its command window). You can avoid this issue altogether by shutting down pulseaudio.exe with the ctrl+C key combo. Also make sure to run VcXsrv in one of the single window modes when running the Plasma desktop, if that's what you choose for graphics output as I did. Conversely, run in multi-window mode outside the Plasma environment. You could start two X-servers on channels 0 and 1 and have a WSL session running with each one to get the best of both worlds.

Special thanks to Arkane Systems for making Genie, Steve Brown for his amazingly useful tips, and all the countless others who took the time and effort to put important info out there on the web for stoners like myself to muck around with.

Edit: Also my apologies, if possible could the mods please edit my post title to read "Fully Working KDE on Bash on Ubuntu 20.04 on Windows 10!!!"

Edit 2: Another big tip: to run KDE apps outside Plasma that require authentication without running as root, you will need a graphical authentication agent such as polkit-kde-agent-1 to be loaded in the background. Plasma does this automatically when you start it up, but outside that environment you must do it manually. I can’t speak for other authenticators, but the one provided by KDE requires SystemD to be running, which I accomplish as mentioned above using Genie. I believe you will also need to run it with genie -s to start a fake SystemD login, but I haven’t fully tested the effects of genie -c.

Edit 3: I personally recommend installing the mesa-utils package if you don't already have it. This will provide you with the llvmpipe graphics driver, which has some limited capabilities within WSL for leveraging your graphics card to speed things up (Correction! It's entirely CPU based). Once installed, and with your X-server loaded and set to allow direct OpenGL rendering as opposed to indirect rendering through Windows, run the graphical program "glxgears" and verify that the gears are turning smoothly. It appears that WSL doesn't currently have much if any support for hardware acceleration with OpenGL, so you should set your KDE Plasma window compositor to run on the Xrender backend rather than OpenGL 2 or 3.1.

You'll miss out a few OpenGL desktop window transition effects, but the MASSIVE boost in performance should be well worth it. Sadly using indirect rendering via Windows isn't an option here because X11 forwarding only supports OpenGL 1.4 and lower; if you try to go for that option with Plasma's windows compositor set to run on OpenGL, you'll most likely just cause your X-server to crash and shut down. I'm about to start experimenting with X2Go as a substitute for X11 forwarding and see what kind of OpenGL support and other capabilities it provides, if anyone else has tips or suggestions on how to get optimal hardware acceleration, please don't hesitate to let me know!

Update: Steve Brown has posted another excellent guide which covers many of the steps I've recommended in this post, you can find it here, covering instructions for getting Plasma running beautifully on a Surface Pro 3 and of course Windows 10 devices in general. I personally recommend further security precautions when setting up your firewall rather than opening it up to all public networks, and if you want any advice on this matter then please feel free to contact me or look for the many existing guides on setting up a secure firewall with WSL.


r/bashonubuntuonwindows • • May 06 '19

Announcing WSL 2 | Windows Command Line Tools For Developers

Thumbnail
devblogs.microsoft.com
96 Upvotes

r/bashonubuntuonwindows • • Jun 17 '19

Docker ❤️ WSL 2 - The Future of Docker Desktop for Windows - Docker Engineering Blog

Thumbnail
engineering.docker.com
92 Upvotes

r/bashonubuntuonwindows • • May 02 '19

Remote Development with VS Code

91 Upvotes

TL;DR

Today we're excited to announce the preview of three new extensions for Visual Studio Code that enable seamless development in Containers, remotely on physical or virtual machines, and with the Windows Subsystem for Linux (WSL). You can get started right away by installing the Remote Development Extension Pack.

https://code.visualstudio.com/blogs/2019/05/02/remote-development


r/bashonubuntuonwindows • • Jul 15 '19

Official Announcement When Linux Came to Windows - my experience working on WSL + Linux at Microsoft

Thumbnail
medium.com
89 Upvotes