WSL2 Ubuntu GUI
Why Ask Ubuntu recommends it
Ask Ubuntu users cite it as the setup guide they followed to get a graphical desktop running in WSL2 over RDP.
Recommended by 1 people across 1 different months, 2021 to 2022.
What it is
A 2020 tutorial by David Bombal showing how to install a desktop GUI on Ubuntu 20.04 running under WSL 2 on Windows 10. It covers enabling WSL and the Virtual Machine Platform, installing Ubuntu, setting up xrdp, and connecting through Remote Desktop.
What people said
Recommends pa4080 · 2022-02 · Ask Ubuntu · on “Cannot run Spyder on Ubuntu (windows bash)”
By default WSL doesn't have X-server [LINK] , so you need to provide one. There are different X-servers [LINK] available for Windows. Recently I read, on Windows 11 is available native application called WSLg [LINK] . Currently I'm on Windows 10 and really do like the third party app available on the Store called GWSL [LINK] . Jus install the application and launch it. Then click on its icon on the task bar, browse the list of Linux Apps and find your program - it should be Spider3. [LINK] Note on Windows 10 you must enable WSL2 [LINK] if it's not enabled yet, I think it should be enabled by default on Windows 11. In addition you could install a native X-server and entire desktop environment
Cites theastronomist · 2021-01 · Ask Ubuntu · on “WSL2 Remote Desktop Can't connect to the remote computer for one of these reasons”
I am trying to use a GUI with WSL2. I followed the instructions here [this video] and it initially worked fine. After rebooting my laptop I opened Ubuntu terminal and typed: sudo /etc/init.d/xrdp start to start xrdp on the "remote" machine. Then I checked the status: service xrdp status * xrdp-sesman is running * xrdp in running So when I go to Windows remote desktop and connect to localhost:3390 , I get this error: 1) Remote access to the server is not enables 2) The remote computer is turned off 3) The remote computer is not available on the network Within the Ubuntu terminal I check /etc/xrdp/xrdp.ini and it shows port=3390 so I know I'm pointing at the correct port. Since the ubuntu terminal
Cites Jacob Dallas · 2021-06 · Ask Ubuntu · on “Streaming Webcam from Windows 10 to Ubuntu 18.04 via WSL2 and usbip”
Background Alright so I was able to set up my Windows 10 desktop with WSL2 in order to run Ubuntu 18.04. I'm trying to get the webcam to be accessible and have picked and pieced together the following tutorials in order to get myself to where I am. [this video] [LINK] [LINK] [LINK] [LINK] The Why "Why would you go through this painstaking effort? Seems dumb." you might be telling yourself. Well I think that it's dumb that WSL2 doesn't have a USB pass-through, so there's that. But I develop on Windows traditionally, and with a recent computer vision project I'm undertaking that incorporates the Nvidia Isaac SDK (only available on Ubuntu 18.04) I was hoping to continue to use Windows to develop, an