Set a distro as default To set Ubuntu as your default WSL distro, run wsl--set-defaultubuntu wslcommand Copy Batch example docker wsldocker run ...
Now launch your Windows Remote Desktop Connection, ormstscfrom the Windows Start menu. enterlocalhost:3390and connect. You will be prompt by this screen keep the session as xorg, and enter your WSL2 username and password. That’s it, you are now connected to your WSL2 Ubuntu with a GUI ...
Windows Terminal is the most useful tool you have to run WSL2, especially when you’re running multiple distros. Each time you launch Windows Terminal, it will check and discover local WSL distros you can launch right in the same window. ...
Learn how to check the amount of disk space available, expand the size of the Virtual Hard Disk (VHD), repair a VHD mounting or read-only error, and locate the .vhdx file and disk path for Linux distributions installed with WSL 2.
If you're using Windows 11 then the Windows Terminal app will be pre-installed and it's the best way to use WSL on your PC. You can launch a distro through PowerShell using the command "wsl -d" command followed by the name, but with Windows Terminal you can access each that you ha...
Run the installer and make sure that WSL2 is preferred over Hyper-V. You might need to re-login/restart to make the changes take effect. Open the newly installedDocker Desktopapp, accept the terms, and (optional) skip the tutorial prompt. ...
Learn how to check the amount of disk space available, expand the size of the Virtual Hard Disk (VHD), repair a VHD mounting or read-only error, and locate the .vhdx file and disk path for Linux distributions installed with WSL 2.
Changing WSL version Launch in PowerShell Microsoft dropped plenty of jaws when it launched the Windows Subsystem for Linux, a way to run actual Linux inside Windows without the need to set up a virtual machine. The project has seen a ton of support, and WSL2 is the latest and greatest...
Install a Linux distribution: Choose the one you want to use and download it from the Microsoft Store. Once downloaded, launch the distribution and follow the setup wizard to install it. Install WSL2: To install WSL2, download and install the latest WSL2 kernel update package from the Micros...
Use WSL 2 on Windows 10 When you install any distribution from Store, a shortcut will be added to the Windows start menu. Please search for your distribution and click on it to launch. When you start it for the first time, it might seem a little slow, but that’s expected. It will...