How to Install WSL2 & Ubuntu Linux GUI (XFCE Desktop) on Windows 10
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.
______________________________________________________________
Great Amazon Items!
Below contains affiliate links, this means I may receive a small commission if you click one. This helps support and grow the channel. If you do use a link thank you for supporting the channel!
My Store Front:
https://www.amazon.com/shop/savvynik
💾 💾 USB Disks and SD Cards 💾 💾
2.0 SanDisk 32GB USB – https://amzn.to/3dvkHPd
3.0 PNY Turbo 32GB USB – https://amzn.to/2y7vjDT
3.1 Samsung FIT 128GB USB – https://amzn.to/2WGJp9j
SanDisk 128 GB micro SD – https://amzn.to/3c7DzCn
📚📚 Learn more about Linux 📚📚
Linux: Installation, Config, and Cmd Basics – https://amzn.to/34sT8Ck
Linux Cmd Line a Complete Intro – https://amzn.to/2ViHXrx
Linux Basics for Hackers – https://amzn.to/2JTSZyj
Linux Pocket Guide – https://amzn.to/2Xpnyni
How Linux Works – https://amzn.to/2RrQEOW
Linux Bible – https://amzn.to/2XugXrJ
Linux for Dummies – https://amzn.to/3e9VlXy
Kali Linux Hacking – https://amzn.to/2y2F7io
🖥🖥 MISC Electronics that are Great! 🖥🖥
TP-Link AC1750 Smart WiFi Router (powerful) – https://amzn.to/3aZZI5E
NETGEAR Nighthawk Smart WiFi Router (fast) – https://amzn.to/2RsKQ8d
Streaming Media Player 4K/HD/HDR (entertaining) – https://amzn.to/2JVdlXL
Acer Aspire 5 Slim Laptop, 15.6” HD (cheap) – https://amzn.to/2xbYAxc
OHill Cable Clips, 16 Pack Black (organization) – https://amzn.to/2JV9iuC
Smart Plug Power Adapter (automation) – https://amzn.to/2xabbRx
Outdoor/Indoor Smart Security Camera (security) – https://amzn.to/3e90A9T
_______________________________________________________________
📺Playlists:
Linux Installation Tutorials: https://www.youtube.com/playlist?list=PLKMOdY6Bhga79HzhzEV0pSx5asSXogalI
Linux Help & Talks: https://www.youtube.com/playlist?list=PLKMOdY6Bhga73aciZtlZgLmiKRdrQzyu0
Linux Reviews & Updates – https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fAJjr4ItXN09KXf4dd0zz
C/C++ Linux Programming Series – https://www.youtube.com/playlist?list=PLKMOdY6Bhga7BUgPca5EX1J-JYQIbX5fn
Bash Shell Scripting for Beginners – https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fmUcQQwhfL9thR_Yp1hZ7
Linux Virtual Machine Installs – https://www.youtube.com/playlist?list=PLKMOdY6Bhga6P1N38oD63-uKe4a6M5vsZ
📺Latest Videos:
Expensive! Linux PC Build – https://youtu.be/QKrqUoF2STk
Beating a World Record (Fastest Typing) – https://youtu.be/JeE_U-6cQvY
Top 10! Absolute Beginner Commands on Linux – https://youtu.be/n9_tZKKzAHw
tmux Basics Tutorial on Linux – https://youtu.be/4PcVzGYNqqA
Linux Mint Install Tutorial – https://youtu.be/UU4a17j_ezU
Making Updates on Ubuntu – https://youtu.be/a9s5NUIh42Q
C/C++ 4hr Programming Tutorial – https://youtu.be/FcYs8wtzjVE
Windows SSH Client in CMD Setup – https://youtu.be/JbMgOKlj5fE
Linux Mint 20 Updates – https://youtu.be/SDgFvaAF8-E
Setup Webserver Using CentOS 8 – https://youtu.be/v9lKiunQOxc
Install CentOS 8 – https://youtu.be/4viTo4gulQk
Python Tutorial – https://youtu.be/GgHf4Xi5M80
Using Linux Manual Pages – https://youtu.be/AjnObRn1XMw
Ubuntu Server Install – https://youtu.be/xUH256WAWt0
_______________________________________________________________
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
source
ubuntu