You can find the,There’s tutorials available for this on Microsoft’s website. You can choose whichever option suites you best.This next screen allows you to choose XDMCP to open the session. Nonetheless, I created it, then started genie; everything fired up as expected. So you want to Install WSL2 and Setup a graphical user interface (GUI) with Ubuntu 20.04 using WSL 2 on a Windows 10 computer. We need to setup VNC passwords for a few users to make sure everything runs smoothly.
Unfortunately, we can’t run SystemD directly under WSL2 because part of the integration with Windows relies on some specific Microsoft tweaks. The Desktop Environment is more memory hungry than the command line system, so if you’re short on RAM this may be the best option for you.However, if you want to run the XDMCP desktop environment at startup (or more technically, when you login to Windows) then you can do that using this technique.Click File -> Save As and in the address bar at the top, type.In the filename box, type any name you like so long as it ends with .bat – I went with start-wsl-genie.bat – then click Save.This should start the Genie System for you automatically after you log in to Windows. Ubuntu 20.04 Desktop GUI on WSL 2 on Surface Pro 4; Ubuntu 20.04 Desktop GUI on WSL 2 on Surface Pro 4. You can execute the following command to remove some of the popular screen savers and lockers for Ubuntu:In case you forgot about the screen locker and get a black screen, don't panic! 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. But what host? At least for the VNC server way of running ð,I’ll not get into technical details here, but you need to adjust the config file for SystemD-Genie to enable it to run as a background process.Change whatever the contents of that file are to the contents below. Install it if that’s the case and re-run the command.
Unless you’re going to use Google Chrome for Linux it’s unlikely any data is going to get back to Microsoft or Google while you’re using Linux.
Neat eh?Starting Systemd-Genie is as simple as running a command again. A timeline for Linux GUI application support is expected later this year.A Kubernetes development environment is available today on Ubuntu on WSL 2 using.Additional features coming to WSL announced by Microsoft at Build 2020 include:Interested in running Ubuntu Desktop in your organisation?WSLConf returns this week, on September 9th and/or 10th, depending on where you are in the world. It’s interesting, I’m not sure I’d be still using Windows if it were not for WSL and with WSL2 they’ve made the process even better. While this upgrade is running, head to Sourceforge to download and install the VcXsrv Windows X Server utility. Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10 and Windows Server 2019 (from Wikipedia). It’s not particularly noticeable to my aging eyes unless I looked closely – but once I spotted it, it annoyed me.The fix is relatively simple, but bear in mind, although the desktop looks a LOT better, the performance is not quite as snappy.To make the change, open Windows File Explorer and navigate to C:\Program Files\VcXsrv folder. This is the address to put into your ‘Connect to host’ box in the picture above.Finally, the screen to the left will come up. wsl --set-version Ubuntu 1 That may be what you want, if you don’t want to use the Linux desktop all that often. The solution with XWindows provides almost native bare-metal performance in my experience.