- Linux drivers running on Windows
- 4 Thoughts on “ Linux drivers running on Windows ”
- Leave a Reply Cancel reply
- Run Linux GUI apps on the Windows Subsystem for Linux
- Install support for Linux GUI apps
- Prerequisites
- Fresh install — No prior WSL installation
- Existing WSL install
- Run Linux GUI apps
- Update the packages in your distribution
- Install Gnome Text Editor
- Install GIMP
- Install Nautilus
- Install VLC
- Install X11 apps
- Install Google Chrome for Linux
- Install Microsoft Edge browser for Linux
- Troubleshooting
- Feedback
- Linux drivers running on Windows
- 4 Thoughts on “ Linux drivers running on Windows ”
- Leave a Reply Cancel reply
Linux drivers running on Windows
I’m surprised this has gone mostly unnoticed: two Japanese researchers wanted to port the Kernel-based Virtual Machine from Linux to Windows. In order to do that, they created a compatibility layer that allows you to run Linux drivers on Windows (in kernel, no less!). They gave a talk titled WinKVM: Windows Kernel-based Virtual Machine at last year’s KVM Forum, the KVM Developers Conference.
Given that Linux never removes support for any hardware from the kernel unless the driver breaks the kernel badly, the first use I can think of is obsolete hardware whose drivers no longer work on modern versions of Windows. That’s a often-encountered case in military and industrial environments: LAN Emulation cards, industrial devices using proprietary buses and proprietary cards to communicate to PCs, medical devices, etc. In those cases, the hardware generally outlives the computer that runs the software by decades (the software is no problem thanks to virtualization).
A second target “market” could be devices which do not have a Windows driver. Believe it or not, they exist in niche markets (and not so niche: the free Kinect driver was initially only available for Linux).
4 Thoughts on “ Linux drivers running on Windows ”
Agree wholeheartedly. I ran across the need to use a USB hardware device manufactured in 1998 which stopped being sold in 1999 and whose last win32 drivers are for Windows 2000. Needless to say, Win7 refuses to run the win2k drivers… but Linux supports this device out of the box. So why can�t I run the Linux drivers through some sort of win32-to-linux API compatibility layer? 🙂 FC
A darker and more useful use would to be able to use Linux network drivers in windows to do monitoring mode usb airpcap adapter costs about 500 bucks but alfa about 20 but only dose monitoring mode in linux 🙂 I actually do this for legit reasons but the expense is painful there open source driver for network cards that support AC and airpcap dose not even do AC yet and a lot expensive software that only runs in windows and this just made life possibly a lot easier lot less expensive. BYE BYE airpcap adapter!
JUST HAD I WONDERFUL IDEA! Window XP 64 was actually Wonderful Gaming Platform (we are talking like 30% better than windows 7) but Everyone agreed Dead OS do to there being no Drivers! 🙂 A lot people in vain tried to make Windows 7 Drivers work on Windows XP 64. Now look at what I am thinking!
Sadly, three and a half years later, nothing seems to have come out of this. I meant, user-runnable for end users… Sad FC
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Run Linux GUI apps on the Windows Subsystem for Linux
Windows Subsystem for Linux (WSL) now supports running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop experience.
WSL 2 enables Linux GUI applications to feel native and natural to use on Windows.
- Launch Linux apps from the Windows Start menu
- Pin Linux apps to the Windows task bar
- Use alt-tab to switch between Linux and Windows apps
- Cut + Paste across Windows and Linux apps
You can now integrate both Windows and Linux applications into your workflow for a seamless desktop experience.
Install support for Linux GUI apps
Prerequisites
- You will need to be on Windows 10 Build 19044+ or Windows 11 to access this feature.
- Installed driver for vGPU To run Linux GUI apps, you should first install the driver matching your system below. This will enable you to use a virtual GPU (vGPU) so you can benefit from hardware accelerated OpenGL rendering.
- Intel GPU driver
- AMD GPU driver
- NVIDIA GPU driver
Fresh install — No prior WSL installation
You can now install everything you need to run Windows Subsystem for Linux (WSL) by entering this command in an administrator PowerShell or Windows Command Prompt and then restarting your machine.
Once your machine has finished rebooting, installation will continue and you will be asked to enter a username and password. This will be your Linux credential for the Ubuntu distribution.
You’re now ready to begin using Linux GUI apps on WSL!
Existing WSL install
If you already have WSL installed on your machine, you can update to the latest version that includes Linux GUI support by running the update command from an elevated command prompt.
- Select Start, type PowerShell, right-click Windows PowerShell, and then select Run as administrator.
- Enter the WSL update command:
Linux GUI apps are only supported with WSL 2 and will not work with a Linux distribution configured for WSL 1. Read about how to change your distribution from WSL 1 to WSL 2.
Run Linux GUI apps
You can run the following commands from your Linux terminal to download and install these popular Linux applications. If you are using a different distribution than Ubuntu, it may use a different package manager than apt. Once the Linux application is installed, you can find it in your Start menu under the distribution name. For example: Ubuntu -> Microsoft Edge .
Support for GUI apps on WSL does not provide a full desktop experience. It relies on Windows desktop, so installing desktop-focused tools or apps may not be supported. To request additional support, you can file an issue in the WSLg repo on GitHub.
Update the packages in your distribution
Install Gnome Text Editor
Gnome Text Editor is the default text editor of the GNOME desktop environment.
sudo apt install gnome-text-editor -y
To launch your bashrc file in the editor, enter: gnome-text-editor ~/.bashrc
Install GIMP
GIMP is a free and open-source raster graphics editor used for image manipulation and image editing, free-form drawing, transcoding between different image file formats, and more specialized tasks.
Install Nautilus
Nautilus, also known as GNOME Files, is the file manager for the GNOME desktop. (Similar to Windows File Explorer).
sudo apt install nautilus -y
Install VLC
VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files.
Install X11 apps
X11 is the Linux windowing system and this is a miscellaneous collection of apps and tools that ship with it, such as the xclock, xcalc calculator, xclipboard for cut and paste, xev for event testing, etc. See the x.org docs for more info.
sudo apt install x11-apps -y
To launch, enter the name of the tool you would like to use. For example:
Install Google Chrome for Linux
To install the Google Chrome for Linux:
- Change directories into the temp folder: cd /tmp
- Use wget to download it: sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- Get the current stable version: sudo dpkg -i google-chrome-stable_current_amd64.deb
- Fix the package: sudo apt install —fix-broken -y
- Configure the package: sudo dpkg -i google-chrome-stable_current_amd64.deb
To launch, enter: google-chrome
Install Microsoft Edge browser for Linux
Find information on how to install the Microsoft Edge browser for Linux using the command line on the Edge Insider site. Select Get instructions under the Command line installation section of the page.
To launch, enter: microsoft-edge
Troubleshooting
If you have any problem starting GUI applications please check this guide first: Diagnosing «cannot open display» type issues with WSLg
Feedback
Submit and view feedback for
Linux drivers running on Windows
I’m surprised this has gone mostly unnoticed: two Japanese researchers wanted to port the Kernel-based Virtual Machine from Linux to Windows. In order to do that, they created a compatibility layer that allows you to run Linux drivers on Windows (in kernel, no less!). They gave a talk titled WinKVM: Windows Kernel-based Virtual Machine at last year’s KVM Forum, the KVM Developers Conference.
Given that Linux never removes support for any hardware from the kernel unless the driver breaks the kernel badly, the first use I can think of is obsolete hardware whose drivers no longer work on modern versions of Windows. That’s a often-encountered case in military and industrial environments: LAN Emulation cards, industrial devices using proprietary buses and proprietary cards to communicate to PCs, medical devices, etc. In those cases, the hardware generally outlives the computer that runs the software by decades (the software is no problem thanks to virtualization).
A second target “market” could be devices which do not have a Windows driver. Believe it or not, they exist in niche markets (and not so niche: the free Kinect driver was initially only available for Linux).
4 Thoughts on “ Linux drivers running on Windows ”
Agree wholeheartedly. I ran across the need to use a USB hardware device manufactured in 1998 which stopped being sold in 1999 and whose last win32 drivers are for Windows 2000. Needless to say, Win7 refuses to run the win2k drivers… but Linux supports this device out of the box. So why can�t I run the Linux drivers through some sort of win32-to-linux API compatibility layer? 🙂 FC
A darker and more useful use would to be able to use Linux network drivers in windows to do monitoring mode usb airpcap adapter costs about 500 bucks but alfa about 20 but only dose monitoring mode in linux 🙂 I actually do this for legit reasons but the expense is painful there open source driver for network cards that support AC and airpcap dose not even do AC yet and a lot expensive software that only runs in windows and this just made life possibly a lot easier lot less expensive. BYE BYE airpcap adapter!
JUST HAD I WONDERFUL IDEA! Window XP 64 was actually Wonderful Gaming Platform (we are talking like 30% better than windows 7) but Everyone agreed Dead OS do to there being no Drivers! 🙂 A lot people in vain tried to make Windows 7 Drivers work on Windows XP 64. Now look at what I am thinking!
Sadly, three and a half years later, nothing seems to have come out of this. I meant, user-runnable for end users… Sad FC
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.