Skip to content

Instantly share code, notes, and snippets.

@Zierax
Created July 17, 2024 16:58
Show Gist options
  • Select an option

  • Save Zierax/e8eac215d4e9d5d2b3cd6d9292df3490 to your computer and use it in GitHub Desktop.

Select an option

Save Zierax/e8eac215d4e9d5d2b3cd6d9292df3490 to your computer and use it in GitHub Desktop.

Install Ubuntu Desktop GUI on WSL

Installation

1. Preparations

  • Install VcXsrv in Windows 10
  • Install WSL Windows component from control panel
  • Install Ubuntu from Microsoft Store

2. WSL configuration

sudo apt-get upgrade
sudo apt-get install ubuntu-desktop

3. Start X11 and DBUS

sudo service dbus start
sudo service x11-common start

4. Start Gnome shell

gnome-shell --x11 -r

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment