Home Cyber Crime Running Linux GUI apps in Windows 10

Running Linux GUI apps in Windows 10

57
0


Windows 10

Home windows 10 preview builds can now run Linux apps immediately on the Home windows 10 desktop utilizing the brand new Home windows Subsystem for Linux GUI. On this article, we go palms on with the brand new WSLg characteristic to reveal the forms of graphical Linux apps now you can run.

The Home windows Subsystem for Linux GUI. (WSLg) was formally launched on the Microsoft Construct 2021 convention and comes with Home windows 10 Insider construct 21364 or later.

WSLg can launch Linux GUI apps by using the Wayland server to show the apps in Home windows 10.

WSLg begins “a companion system distro, containing a Wayland, X server, pulse audio server, and every thing else wanted to make Linux GUI apps talk with Home windows,” as Home windows Developer Platform Program Supervisor Craig Loewen explained.

Bundling WSLg with Home windows 10 is an thrilling growth because it blurs the strains between Linux and Home windows 10, and followers get the advantages of each worlds.

Putting in WSLg

Earlier than getting began with Home windows Subsystem for Linux GUI. (WSLg), you first should be working current Home windows 10 Insider builds on the ‘Dev’ channel. On the time of this writing, that construct quantity is 21390.

As soon as the most recent Home windows 10 model is put in, you may set up the Home windows Subsystem for Linux and set up a brand new Linux distribution.

For instance, to put in the Home windows Subsystem for Linux (WSL) with GUI assist and mechanically set up Ubuntu, you’d enter the wsl --install -d Ubuntu at a Windows 10 Elevated Command Prompt.

For present WSL customers, you have to replace WSL so as to add assist for the WSLg engine utilizing the wsl --update command adopted by wsl --shutdown, as proven under.

As soon as WSL is up to date, you have to make certain your put in Linux distribution is configured to make use of WSL 2 utilizing the wsl --list -v command. 

If the distribution you need to use is model 1, you have to improve it to model 2 utilizing the wsl --set-version _distro_name_ 2 command. For instance, to improve kali-linux to WSL2, we might enter wsl --set-version kali-linux 2 at a command immediate.

For higher efficiency in WSLg, Microsoft recommends that you just set up the next preview drivers: AMD GPU driver for WSLIntel GPU driver for WSL, and NVIDIA GPU driver for WSL.

As soon as your distribution is upgraded, now you can use WSLg to run Linux GUI apps.

Working Linux GUI apps in Home windows 10

With Linux gaining popularity as a desktop working over the previous decade, extra software program builders have been creating Linux variations of their applications.

As fashionable applications, akin to Microsoft Edge for Linux, Chrome for Linux, and even VLC Media Participant for Linux, all have Home windows variants, I illustrate some Linux-only GUI applications working underneath WSLG under as a substitute.

Nautilus

Nautilus is the official file supervisor for the Gnome Desktop. Whereas you’ll probably discover it simpler to make use of File Explorer in Home windows 10, Nautilus illustrates how functions of each kind work underneath WSLg.

sudo apt set up Nautilus
nautilus
Nautilus in WSLg
Nautilus in WSLg

Stacer

Stacer is an open-source system optimizer and utility monitor/process supervisor for Linux.

You’ll be able to set up and run Stacer with the next instructions:

sudo apt set up stacer
stacer
Stacer showing running WSL processes
Stacer displaying working WSL processes

Timeshift

Timeshift is a backup software program for Linux that can be utilized to create snapshots of your filesystems.

You’ll be able to set up and run Stacer with the next instructions:

sudo apt set up timeshift
sudo timeshift-gtk
Timeshift on WSLg
Timeshift on WSLg

Hedgewars

Whereas Hedgewars isn’t a Linux-only sport, I needed to incorporate it to point out that even video games can run underneath WSLg. Whereas WSLg is probably going not designed for gaming, the truth that you may play video games utilizing it exhibits the total depth of this new characteristic.

You’ll be able to set up and run Hedgewars with the next instructions:

sudo apt set up hedgewars
hedgewars
Hedgewars under WSLg
Hedgewars underneath WSLg

These three apps are just some examples of the forms of Linux applications now you can run underneath Home windows 10, with many extra accessible totally free.



Source link