Installation:
Start a CMD or PowerShell as Administrator.
PS C:\> wsl --list --online The following is a list of valid distributions that can be installed. Install using 'wsl.exe --install <Distro>'. NAME FRIENDLY NAME Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling SLES-12 SUSE Linux Enterprise Server v12 SLES-15 SUSE Linux Enterprise Server v15 Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS OracleLinux_8_5 Oracle Linux 8.5 OracleLinux_7_9 Oracle Linux 7.9
Install your preferred distro.
PS C:\> wsl --install -d Ubuntu-20.04 Installing: Ubuntu 20.04 LTS [=================== 33,0% ]
After a reboot you will find a shortcut on your start menu. At first startup you will have to create a username and password. Your C:\ drive is mounted under /mnt.
Windows Subsystem for Linux (WSL) now supports running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop experience.
Run Linux GUI apps on the Windows Subsystem for Linux
This means you can use x-forwarding to start GUI applications on mimi:
kjetba@UIO-Win-Laptop$ ssh -X mimi.uio.no [kjetba@mimi ~]$ module load ParaView/5.11.1-foss-2022a-mpi [kjetba@mimi ~]$ paraview
Some other useful links:
How to install Linux on Windows with WSL
GPU in Windows Subsystem for Linux (WSL) | NVIDIA Developer