How to Install WSL2 & Ubuntu Linux GUI (XFCE Desktop) on Windows 10

Channel:
Subscribers:
72,300
Published on ● Video Link: https://www.youtube.com/watch?v=8SuERIEJJUA



Category:
Guide
Duration: 14:53
93,460 views
1,945


We go through How to Install WSL2 & Ubuntu Linux GUI (XFCE Desktop) on Windows 10. We first install WSL2 and make sure we have the latest update of Windows 10 before installing the container for Ubuntu Linux 20.04 and then we follow it up with installing a GUI (XFCE DE) for Ubuntu Linux 20.04. This then helps us use a GUI / Desktop with WSL2 & Ubuntu Linux 20.04

We'll use vcxsrv to connect to our desktop environment that we end up installing on Ubuntu using WSL2 and Windows 10. If you've every wanted to try Linux on Windows today we'll go through how. This is a system to use Linux designed by Microsoft and helps you leverage a subsystem of Windows in order to run Linux on your computer. This is a fairly new feature at least the second update (WSL2) and helps give better support for your Linux container.

IF you run into any issues trying to restart your xfce server running on Ubuntu use the following command: export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

There's a known bug that prevents you from running "startxfce4" over and over again because it seems like there's a locked file in the background.

My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com

Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)

Want more info/content?
https://savvynik.com

Useful Links/Commands:
Discord Link - https://discord.gg/zZD5q92
Ubuntu Container - https://www.microsoft.com/en-us/p/ubuntu-2004-lts/9n6svws3rx71?rtc=1&activetab=pivot:overviewtab
VcXsrv - https://sourceforge.net/projects/vcxsrv/
WSL2 Win Kernel - https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

#linux #wsl2 #howto




Other Videos By SavvyNik


2020-08-15Veloren Online on Linux! Talking & Playing with the Admins (Linux Q&A)
2020-08-13Windows Hypervisor is causing issues using Virtual Box on Windows 10. How to Fix?? (WSL2 Hyper-V)
2020-08-11C/C++ Tutorial for Beginners - Install GNU (GCC/G++) Compiler Tools on Windows 10 - MinGW
2020-08-09Lets Play Veloren on Linux! Using PopOS! (Linux Q&A)
2020-08-08DWM Customization - Swallow Patch - Linux/Programming Q&A | [Part 3] (Ubuntu Minimal)
2020-08-07BunsenLabs Linux Lithium - Review & Walkthrough
2020-08-06How to Install a Minimal Version of Ubuntu Linux on Virtual Box (Non Bloated!)
2020-08-04DWM Install on Minimal Version of Ubuntu Linux - No Bloat! Dynamic Window Manager
2020-08-02DWM Customization for the First Time - Linux/Programming Q&A | [Part 2] (Ubuntu Minimal)
2020-08-02DWM Customization for the First Time - Linux/Programming Q&A | [Part 1] (Ubuntu Minimal)
2020-07-30How to Install WSL2 & Ubuntu Linux GUI (XFCE Desktop) on Windows 10
2020-07-28Expensive! Linux PC Build | System 76 | PopOS! Linux ($30K+ Build Online)
2020-07-26Linux/Programming Q&A - Lets Play Super Tux Cart on Linux [PART 5]! (Ask Linux & Programming Q's)
2020-07-26Linux/Programming Q&A - Lets Play Super Tux Cart on Linux [PART4]! (Ask Linux & Programming Q's)
2020-07-23Beating the World Record for Fastest Typing Speed on Linux!!
2020-07-21Top 10 - Linux Absolute Beginner Commands for Linux Terminal Users!
2020-07-20Linux Talk Q&A - Playing Super Tux Cart on Linux [PART 3]! (Linux, Programming, Engineering)
2020-07-18Linux Talk Q&A - Playing Super Tux 2 on Linux [PART 2]! (Linux, Programming, Engineering)
2020-07-14How to use TMUX on Linux | A Tutorial for Linux Beginners Guide in Terminal
2020-07-13Linux Talk Q&A - Playing Super Tux for Some Fun on Linux! (Linux, Programming, Engineering)
2020-06-30Linux Mint Install 20 Ulyana | Tutorial for Beginners