wslg
WSL2-Linux-Kernel
wslg | WSL2-Linux-Kernel | |
---|---|---|
146 | 56 | |
11,167 | 9,801 | |
0.6% | 0.8% | |
3.9 | 9.9 | |
7 days ago | 3 months ago | |
C++ | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wslg
-
The Windows Subsystem for Linux is now open source
> It's an absolute delight to use, out of the box, on a desktop or laptop, with no configuration required.
I have been using it since the beginning of WSL 1 with a very terminal heavy set up but it has some issues.
For example WSLg's clipboard sharing is buggy compared to VcXsrv. It doesn't handle pasting into Linux apps without introducing Windows CRs. I opened an issue for this https://github.com/microsoft/wslg/issues/1326 but it hasn't gotten a reply.
Also, systemd is still pretty sketchy. It takes over 2 minutes for systemd services to start and if you close a WSL 2 terminal for just a few minutes systemd will delay a new terminal from opening for quite some time. This basically means disabling systemd to use WSL 2 in your day to day.
-
Ghostty 1.0
Related issues:
https://github.com/microsoft/wslg/issues/1008
-
X11 Forwarding and Windows Subsystem for Linux 2 (2021)
WSLg[1] is Microsoft's first-party solution. It's interesting because it uses RDP as the display layer.
[1] https://github.com/microsoft/wslg
-
A Review of Linux on Surface Pro 4
As far as I know it only supports basic tapping/clicking for GUI applications and not multi-touch or gestures.
https://github.com/microsoft/wslg/issues/737
- Microsoft's official Minesweeper app has ads, pay-to-win, and is hundreds of MBs
-
FreeRDP: A Remote Desktop Protocol Implementation
WSLg(Windows Subsystem for Linux GUI) uses RDP and FreeRDP to work: https://github.com/microsoft/wslg
I haven't tried it yet, but I'm hopeful the experience is better than last time I tried Hyper-V enhanced linux experience. I imagine this use case is getting FreeRDP way more attention.
For years I've developed in a Linux VM on a Windows host via VirtualBox. The typing lag on this, particularly in IDEs like VSCode and Rider, finally got to me. So, I moved over to WSL and have to say; the experience is amazing.
-
Wayland Is Pretty Good
This is running in WSL?
Microsoft has some wayland stuff already for WSL, though I think internally there's RDP involved: https://github.com/microsoft/wslg
-
Need help getting Linux GUI applications to run on Windows through WSL 2
That said. Graphical apps will just run on WSL without needing to install anything. Check: https://github.com/microsoft/wslg
-
I tried
What are you talking about? Its free forever https://github.com/microsoft/wslg
-
The world if Windows was POSIX compliant
Actually, you can https://github.com/microsoft/wslg
WSL2-Linux-Kernel
-
Unleash the Forbidden - Enabling eBPF/XDP for Kernel Tinkering on WSL2
git clone https://github.com/microsoft/WSL2-Linux-Kernel.git cd WSL2-Linux-Kernel
- Installer Cilium sur WSL2
-
GPL or Apache license for an upcoming PySide2 project?
By the way, Microsoft publishes the WSL kernel source, under GPL, as they must: https://github.com/microsoft/WSL2-Linux-Kernel
-
LFS from WSL2 on Win10
From here on out it gets a bit hazy. For kernel builds you will have to use the Microsoft Linux Kernel (don't laugh, it's actually a thing). The USBIPD project walks through a WSL kernel build, so you can use that as a guide of sorts. Once you've done everything you need with the disk, the Gentoo project shows how to import it, but if you already have the VHDX file, I think the import-in-place option may be simpler. Take care in CH2 when making the filesystem. I'm not sure if WSL want's only one ext4 partition or if it walks the disk looking for root. There may be some .wslconfig settings for this, my first guess would be kernelCommandLine.
-
Windows Subsystem for Linux 2.0 release
This was true for WSL1, but WSL2 does contain a Linux kernel. The source code for it is available at:
https://github.com/microsoft/WSL2-Linux-Kernel
- WSL2-Linux-Kernel: Source for the Linux Kernel Used in WSL2
- Instructions for using kernel 6.3.y on WSL2 (you probably shouldn't do this)
-
Mount aes-adiantum LUKS drive on a kernel without adiantum support
git clone --branch mytag0.1 --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel use tag for your version
-
Is it possible to manually replace WSL kernel by custom one?
But if you need a custom kernel then build it by taking Microsoft's kernel config as your base and then set the following up accordingly in your %USERPROFILE%\.wslconfig file:
-
WSL - Microsoft Linux
It uses a customized version of the Linux kernel (repo) that integrates with the host Windows OS. You can build any distro on top of that kernel, as people have done with (of course) Arch. The distro isn't any less "real" than a distro that it run on QEMU (and with a level 1 hypervisor, all systems that uses one are technically virtualized already).
What are some alternatives?
GWSL-Source - The actual code for GWSL. And some prebuilt releases.
scrcpy - Display and control your Android device
WSL - Windows Subsystem for Linux
azurelinux - Linux OS for Azure 1P services and edge appliances
sway - i3-compatible Wayland compositor
wsl-distrod - Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.