WSL2 Ubuntu GUI

Install a graphical user interface (GUI) with Ubuntu 20.04 running within WSL 2 on a Windows 10 computer. Microsoft have announced that an RDP based GUI will be added to WSL2, but it’s not currently available. I’ll show you how to get a GUI installed and how to connect to the GUI using remote desktop so you can start using that today.

Menu:
Overview: 0:00
Prerequisites: 1:20
Install WSL: 1:46
Install Ubuntu 20.04: 4:45
Install Ubuntu GUI: 7:25
Test RDP connection to the Ubuntu VM: 10:35

WSL commands:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl –set-default-version 2

Ubuntu GUI commands:
See pinned comment as YouTube doesn’t allow all the commands.

Good links:
Microsoft GUI announcement: https://devblogs.microsoft.com/comman…
Ubuntu WSL2 GUI Install: In Ubuntu WSL:
https://dev.to/darksmile92/linux-on-windows-wsl-with-desktop-environment-via-rdp-522g
WSL 2 install: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Docker for WSL2: https://docs.docker.com/docker-for-windows/wsl/
What is WSL? https://docs.microsoft.com/en-us/windows/wsl/about
WSL documentation: https://docs.microsoft.com/en-us/windows/wsl/
WSL 2 Announcement: https://devblogs.microsoft.com/commandline/announcing-wsl-2/

WSL2
Docker
Ubuntu 20.04
Ubuntu GUI
WSL 2 Ubuntu GUI
WSL Ubuntu GUI
WSL 2
WSL 1
Ubuntu 18.04
windows subsystem for linux
wsl2 ubuntu gui

#wsl2 #ubuntu #windows

subscribe
  • David Bombal