wslg
WSL2-Linux-Kernel
Our great sponsors
wslg | WSL2-Linux-Kernel | |
---|---|---|
141 | 54 | |
9,700 | 7,522 | |
1.2% | 2.0% | |
6.1 | 10.0 | |
21 days ago | about 1 month 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
-
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
- better window management for GUI apps?
-
Inconsistent Window Theme on GUI Apps
See: https://github.com/microsoft/wslg/issues/563 and other similar issues on wslg GitHub.
-
Ask HN: Windows 10-based devs, are you upgrading to Windows 11?
Apparently, WSLg does away with the need for a separate X server, making things "easy" to use:
https://github.com/microsoft/wslg
-
Graphics in c++ but in wsl
There's two completely different aspects to your question. 1) How to manage libraries in c++ without dying from cringe? I'd suggest you use cmake as the build system and grab library sources directly from GitHub using this tool: https://github.com/cpm-cmake/CPM.cmake 2) How to get apps that run under WSL to display windows-native windows? I'm not sure, but it's probably this: https://github.com/microsoft/wslg
-
How to access Ubuntu's stock desktop environment using wslg and D3D12?
Here’s a thread about it. You can get into the underlying RDP session instead of just apps launching. https://github.com/microsoft/wslg/issues/1019
WSL2-Linux-Kernel
-
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).
-
Gentoo on WSL? Sure!
I recompiled the kernel using sources from https://github.com/microsoft/WSL2-Linux-Kernel with experimental genpatches applied.
-
ZFS raw (passthrough) on WSL: what do you think of my plan?
KERNVER=$(uname -r | cut -f 1 -d'-') git clone --branch linux-msft-$KERNVER --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel.git ~/kern-$KERNVER zcat /proc/config.gz > ~/kern-$KERNVER/.config make -C ~/kern-$KERNVER -j 4 make -C ~/kern-$KERNVER -j 4 modules_install ln -s /lib/modules/$KERNVER-microsoft-standard-WSL2+ /lib/modules/$KERNVER-microsoft-standard-WSL2
What are some alternatives?
GWSL-Source - The actual code for GWSL. And some prebuilt releases.
scrcpy - Display and control your Android device
sway - i3-compatible Wayland compositor
azurelinux - Linux OS for Azure 1P services and edge appliances
WSL - Issues found on WSL
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.
i3 - A tiling window manager for X11
genie - A quick way into a systemd "bottle" for WSL
cmder - Lovely console emulator package for Windows
vimspector - vimspector - A multi-language debugging system for Vim
Single-GPU-Passthrough
winget-cli - WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).