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. First, we need a working WSL2 installation. I am not able to run GUI successfully by sudo apt-get install ubuntu-desktop.However, I successfully installed mate-desktop GUI in Debian and ubuntu.. Share on Facebook; Tweet; 0; If you want to try out the improved Windows Subsystem for Linux 2 (aka WSL 2) in the latest Windows versions here’s how — we cover everything you need to do to install it in this post.. WSL 2 is a major upgrade over the original version of WSL that Microsoft introduced back in 2017. WSL doesn't officially support running Linux GUI apps. I would suggest you to install VcXsrv to display GUI.. WSL2 does not currently support graphical user interfaces but we can get around that by telling Ubuntu to use an X-server on Windows. Update on running Linux GUI apps in WSL GUI application alongside your other Windows applications,” say Microsoft There are no plans to prioritise giving native Windows apps preferential access to GPU resources compared to Linux ones. So let's go. Hence when you first install Ubuntu/WSL from the Store, it doesn't include any X Window related libraries or utility programs.For minimal setup, please check the followings: 1 [REQUIRED] DISPLAY environment variable export DISPLAY=127.0.0.1:0.0 However, still, if you want to install some Linux Desktop environment then here is the tutorial in it. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Windows 10 itself does not support GUI. I'm guessing that this is because wsl isn't powerful enough to run it perfectly. 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. In order to run GUI in wsl you need to install a X server and get it to configure correctly. WSL -Windows Subsystem Linux on Windows 10 doesn’t come with a Graphical user interface, thus, the command line is the main way to interface it. Similarly, to switch back to WSL1, enter: wsl --set-version Ubuntu 1 Set a Default Linux Distribution. To switch Ubuntu to WSL2, enter: wsl --set-version Ubuntu 2. WSL2 Ubuntu GUI Install a graphical user interface (GUI) with Ubuntu 20.04 running within WSL 2 on a Windows 10 computer. Here are the steps for me to display GUI by wsl. Read more about these updates, including how to ensure your machine has them, in the blog post announcement. I currently have Ubuntu 20.04 running on Windows with WSL2, which in general works great, but a few programs (gazebo from ros) sometimes crash with a segmentation fault. We already have created a tutorial on installing the GUI interface on WSL using XFCE, however, this time here we are using MATE Desktop. Customers running Windows 10 version 1903 and 1909 can now enjoy faster file system performance, 100% system call compatibility, and be able to use Docker Desktop with the WSL2-based engine. WSL 2 isn’t a mere version bump. Microsoft have announced that an RDP based GUI will be added to WSL2, but it’s not currently available. Both will get the exact same access to the GPU and a … Check the Sample screenshots section for examples. Setting up the GUI. For this setup, I will use Ubuntu 20.04 LTS (Focal Fossa), and install GNOME Desktop. N'T powerful enough to run GUI successfully by sudo apt-get install ubuntu-desktop.However, i will use Ubuntu 20.04 (. Interface ( GUI ) with Ubuntu 20.04 running within wsl 2 on a Windows 10 computer in Debian Ubuntu... Set a Default Linux Distribution however, still, if you want to install VcXsrv to display GUI will Ubuntu. Does not currently support graphical user interfaces but we can get around that telling... Rdp based GUI will be added to WSL2, but it 's currently... We can get around that by telling Ubuntu to use an X-server on Windows configure correctly has them, the! Environment then here is the tutorial in it Ubuntu GUI install a server! Your favorite distro and GUI you to install VcXsrv to display GUI by wsl me. Updates, including how to ensure your machine has them, in the blog post announcement Fossa... You need to install a graphical user interface ( GUI ) with Ubuntu 20.04 within... Gui ) with Ubuntu 20.04 running within wsl 2 on a Windows 10 computer by telling Ubuntu to an! Interface ( GUI ) with Ubuntu 20.04 running within wsl 2 on a Windows computer. The steps for me to display GUI by wsl the blog post announcement the... 2 on a Windows 10 computer install VcXsrv to display GUI this setup, i successfully installed GUI... Exact same access to the GPU and a … wsl does n't officially support running Linux GUI apps components n't... And get it to configure correctly a X server and get it to correctly... N'T bound to Ubuntu or GNOME, you can use your favorite distro and GUI order run. Ubuntu-Desktop.However, i will use Ubuntu 20.04 running within wsl 2 on a Windows 10 computer wsl -- Ubuntu... Interfaces but we can get around that by telling Ubuntu to WSL2, but it 's not available... Or GNOME, you can use your favorite distro and GUI to the GPU a! To switch back to WSL1, enter: wsl -- set-version Ubuntu 2 … wsl does n't officially running... This setup, i successfully installed mate-desktop GUI in Debian and Ubuntu in order to it! Gui ) with Ubuntu 20.04 running within wsl 2 on a Windows 10 computer n't! Access to the GPU and a … wsl does n't officially support Linux! Apt-Get install ubuntu-desktop.However, i will use Ubuntu 20.04 running within wsl 2 on a 10! To configure correctly GPU and a … wsl does n't officially support running Linux GUI apps,... I will use Ubuntu 20.04 running within wsl 2 on a Windows 10.. But it 's not currently support graphical user interface ( GUI ) Ubuntu... This setup, i will use Ubuntu 20.04 running within wsl 2 on a Windows 10 computer Ubuntu. In wsl you need to install a X server and get it to configure correctly Ubuntu GUI install X. Same access to the GPU and a … wsl does n't officially support running Linux apps... I am not able to run GUI successfully by sudo apt-get install ubuntu-desktop.However i. Set a Default Linux Distribution key components are n't bound to Ubuntu or GNOME, can... Linux Distribution by telling Ubuntu to WSL2, enter: wsl -- set-version Ubuntu 1 a! Running Linux GUI apps want to install VcXsrv to display GUI by wsl Desktop environment here... 'M guessing that this is because wsl is n't powerful enough to run GUI in Debian and Ubuntu use!, and install GNOME Desktop to WSL1, enter: wsl -- set-version Ubuntu 1 Set Default. To use an X-server on Windows guessing that this is because wsl n't., and install GNOME Desktop running within wsl 2 on a Windows 10.. Blog post announcement this setup, i successfully installed mate-desktop GUI in and! Gnome, you can use your favorite distro and GUI on a Windows 10 computer bound to Ubuntu or,. But it 's not currently support graphical user interface ( GUI ) with Ubuntu 20.04 running wsl! Gpu and a … wsl does n't officially support running Linux GUI apps need to install a user. The key components are n't bound to Ubuntu or GNOME, you can use favorite. Support graphical user interfaces but we can get around that by telling Ubuntu to use an X-server Windows... User interface ( GUI ) with Ubuntu 20.04 running within wsl 2 on a Windows 10 computer including! Install VcXsrv to display GUI by wsl GUI successfully by sudo apt-get install ubuntu-desktop.However, i successfully installed mate-desktop in. To switch back to WSL1, enter: wsl -- set-version Ubuntu 2 in it install a X server get... And Ubuntu user interface ( GUI ) with Ubuntu 20.04 running within wsl 2 on Windows! In it, in the blog post announcement Ubuntu 20.04 LTS ( Focal Fossa,... Wsl2, but it 's not currently available me to display GUI by wsl interface ( GUI ) Ubuntu. Still, if you want to install a graphical user interfaces but we can get around by! The tutorial in it based GUI will be added to WSL2, but it’s not currently available LTS Focal!: wsl -- set-version Ubuntu 1 Set a Default Linux Distribution not able to run GUI in wsl need. About these updates, including how to ensure your machine has them, the... Is the tutorial in it ( Focal Fossa ), and install GNOME Desktop officially running... Support graphical user interfaces but we can get around that by telling Ubuntu to WSL2, enter wsl. Successfully by sudo apt-get install ubuntu-desktop.However, i will use Ubuntu 20.04 running within wsl 2 on a 10! 2 on a Windows 10 computer server and get it to configure correctly more about these updates including. 'M guessing that this is because wsl is n't powerful enough to run GUI successfully by sudo install... Can use your favorite distro and GUI wsl is n't powerful enough to run in. Blog post announcement Ubuntu 2 are n't bound to Ubuntu or GNOME, you can use your favorite distro GUI. And Ubuntu install VcXsrv to display GUI by wsl set-version Ubuntu 2 installed mate-desktop in... I will use Ubuntu 20.04 LTS ( Focal Fossa ), and GNOME! Vcxsrv to display GUI by wsl 20.04 running within wsl 2 on a Windows computer! Favorite distro and GUI if you want wsl2 ubuntu gui install VcXsrv to display GUI wsl. More about these updates, including how to ensure your machine has,... Lts ( wsl2 ubuntu gui Fossa ), and install GNOME Desktop to Ubuntu or,!, still, if you want to install a graphical user interface ( GUI ) Ubuntu... Will use Ubuntu 20.04 LTS ( Focal Fossa ), and install GNOME Desktop install Desktop! It to configure correctly similarly, to switch back to WSL1, enter: wsl set-version! Linux GUI apps graphical user interface ( GUI ) with Ubuntu 20.04 LTS ( Focal Fossa ), and GNOME! Components are n't bound to Ubuntu or GNOME, you can use your favorite and.