The ubuntu-mate-desktop metapackage installs blueman, which is something to do with bluetooth I believe. (II) GLX: Initialized Win32 native WGL GL provider for screen 0 Thanks for sharing! XDMCP is just the most native feel though, which is why we use that. I had to revert my account to a local computer account and re-enter the details. Fatal server error: (II) AIGLX: Testing pixelFormatIndex 1 Warning: Locale not supported by X, falling back to ‘C’ locale. Also thanks to Arkane Systems for coming up with Genie to emulate a normal systemd setup for WSL2. Install it if that’s the case and re-run the command. The problem is that Network-Manager isn’t quite setup right with WSL. So we’ll use XDMCP. ]*/\1`ip -4 addr show eth0 | grep -oP ‘(?<=inet\s)\d+(\.\d+){3}'`/" /mnt/c/config.xlaunch, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\start-wsl-genie.bat: If it doesn’t error then you could try creating the directory and see how you get on. How to move ahead? , Installing the .deb directly won’t work (I tried your way too, and it gave me the same error). This will convert our WSL1 to a WSL2. Updated to reflect changes to SystemD-Genie, EDIT: 05 Oct 2020 – If you prefer KDE Plasma (and I highly recommend it, it works MUCH better on the Surface Pro 3) then have a look here – KDE Plasma on WSL 2 on Ubuntu 20.04. All of this is made possible with the recent changes to the architecture of WSL to run within a lightweight virtual machine (VM), which we talked about in an earlier blog post about WSL 2. This has the effect of sending less data across the interface of course, but unfortunately it makes the fonts and some images rather blurry and anti-aliased. So, I added: mkdir /usr/lib/genie, 3. Open Ubuntu from the start menu and and let it install. Hi Rajeev, Port 5900 is the default VNC port so you may not need to specify it. Once you have Ubuntu and X410 installed from Microsoft Store, you're ready to run Linux GUI apps. I’ve tried using RealVNC from my linux (ubuntu) desktop but I just can’t seem to make it work…. I couldn’t have done it without his/her doing the biggest legwork with the VNC side of things. To do this, open a (regular) command line, and execute the following commands: wsl -l -v wsl --set-version Ubuntu-18.04 2. If you don’t allow PUBLIC networks you will not get a connection as the WSL Virtual Network is considered to be PUBLIC. Tags: WSL2 features a Linux kernel running inside Windows 10 and is built on the core technology of Hyper-V to provide better Linux application support and improved file performance. Microsoft seems to be working on changing this behavior and planning on supporting shared loopback addresses just like WSL1 but it's not yet happened.. > sudo tasksel STEP 1 Install Xfce desktop environment. As others had commented, the /usr/lib/genie directory didn’t exist for me. Steps to reproduce the behavior. There is no need to tweak SystemD-Genie any more – the latest packages work straight out of the box. To convert an existing WSL 1 distro to WSL 2 run the following in PowerShell: To set WSL 2 as the default for installing WSL distributions in the future run the following in PowerShell: To upgrade to the latest version of Ubuntu on WSL run the following in Ubuntu: The new open source Windows Terminal recently reached 1.0 and makes an excellent companion to Ubuntu on WSL 2. Go figure… This is a great post. I recently started to used wsl2 for software development. Thanks for the very nice tutorial! This is the distribution we’re using. This is available for the Surface Pro 4 now, and might be available using Windows Update itself. But, I’m neither. Thanks for pointing it out to me, particularly in such a friendly manner…. Also… It should, it’s Microsoft’s hardware. The SystemD-Genie project has moved – I’ve updated the article. We’ll automate this later to make it happen automatically when you login to Windows, because that’s pretty neat. Do you have a post on how to VNC to the WSL Ubuntu from another machine on a local network ? Windows Firewall sees WSL2 network interfaces as public, so if you don’t allow public networks when it pops up the box when you’re installing everything then it’ll fail. Heya, Today Microsoft... © 2020 Canonical Ltd. Ubuntu and Canonical are This might seem odd, but your Windows 10 platform is considered the outside world to WSL2 – even though they’re on the same Surface Pro 4. Switching back is the reverse of the process.eval(ez_write_tag([[250,250],'most_useful_com-mobile-leaderboard-1','ezslot_8',131,'0','0'])); If you try to connect any of your online accounts (such as Nextcloud) using the Ubuntu Settings app it’ll tell you that you’re not online – even though you clearly are because you can view web pages etc. Previous tutorials I’ve read said to use broadcast and then select whichever XDMCP service pops up. I selected Mate, and installed the full desktop like this: $ sudo apt-get install ubuntu-mate-desktop $ sudo apt-get install x2gomatebindings Installing the x2go client and connecting to your new desktop I’m trying to do this on another computer and I’m getting this: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB] Multitouch is a problem under Fedora because there’s no LTS kernel and the newer kernels are annoying because you can either have single-touch or pen, but not both and not multitouch. eval(ez_write_tag([[336,280],'most_useful_com-netboard-2','ezslot_19',133,'0','0']));Interestingly, the LightDM screen will be tiny (and a bit difficult to read if you’re old) but the Ubuntu Desktop will automatically apply 200% scaling to bring the resolution back to normal. Install Ubuntu 20.04 LTS Server on Surface Pro – it’s not that hard, but if you need wireless drivers you probably want to read this, The Surface Pro 3 is not an easy beast to upgrade – this article offers an easy, affordable and efficient way to upgrade the storage space on Surface Pro 3. #!/bin/bash If you’ve not switched to LightDM using the instructions from above, I recommend you definitely do it for running your own X server on Windows. I have everything set up, using ubuntu and I switched from bash to zsh. Failing that and short of a new Ubuntu installation from scratch, what can I do to access the internet without the desktop (so no VcXsrv and no ‘genie -s’)? Suspend and resume is problematic, though getting better. I installed it on the windows laptop too – so can use chrome remote desktop to connect from there to the WSL ubuntu running on it – and my other ubuntu box. This does leave your X-Windows server vulnerable to anyone else on your network being able to open X-Window applications on your screen – but in a home environment this isn’t likely to be an issue. Reading package lists… Done (II) 467 pixel formats reported by wglGetPixelFormatAttribivARB There you have it – you can login and use your WSL2 Linux Ubuntu Desktop just as if it was a normal Linux installation. Closing log file. genie -i It might work under WSL1 but I suspect not. once you have saved off the config.xlaunch file , you can create a script in the same directory (I did it in c:\users\myuser\wsl\).. you can write a script to launch both wsl and the x terminal program in one go, After that I created a shortcut on my desktop, named it wsl, and gave it a tux icon. ... WSL2. WSL2. Starting Systemd-Genie is as simple as running a command again. The issue I am having seems to be my path. See the next step. At least that way we can know which of the tweaks broke it all . matlock. In some cases, you may want to connect to Ubuntu desktop via remote desktop using existing protocols. Hi there, I’ve come up with a workaround – not particularly pretty but quite easy to set up. Tweak SystemD-Genie for Ubuntu WSL KDE Plasma On WSL On Ubuntu 20.04 On Surface Pro 3, Upgrade The Hard Drive in the Surface Pro 4, Install Ubuntu 20.04 LTS Server on Surface Pro, Simple, Quick and (relatively) Cheap Way To Upgrade The Hard Drive In A Surface Pro 3, https://packages.microsoft.com/ubuntu/20.04/prod. If I don’t care about VNC, can I jump directly to the “Use XDMCP Instead Of VNC” section from the “Install Ubuntu Desktop Components” section? Search for "Ubuntu 20.04" and install this Linux distro. When you're running WSL2 (Windows Subsystem for Linux 2) in a version of Windows 10 greater than build 18945, a BUNCH of useful and interesting scenarios light up and stuff just works. Actually, it’s fairly easy to setup – if you know how – but until now there’s no easy guide. You’ll notice we’ve chosen the ‘one window without titlebar’ option here. Make sure to include at least the desktop software of your choice – I chose Ubuntu Desktop. 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. YAML files are extremely picky about indentation and syntax – so double check you’ve copied and pasted correctly and the indents are accurate. Finally here I found the solution by Ridwan, of courser Robin also who made the tutorial thread, as … If it’s not, you can get the Windows Update Assistant and get it that way. Ubuntu 20.04 Desktop running on Surface Pro 4 Windows 10 using WSL. (Haven’t tried yet without this file.). ... Package management on Ubuntu on WSL works the same as on desktop Ubuntu, using the apt package manager. In the end, I was still getting: tasksel: apt-get failed (100) …. WSL 2 GNOME Desktop. But what host? I’ve just updated to WSL2 and installed the Ubuntu Desktop on Ubuntu 20.04 – thanks for the detailed instructions. Run one of the commands below to install the desktop environment of your choice. I didn’t need to return to this step. I’ll give you a solution to this shortly so you don’t need to worry about it in the future. Enjoy your new WSL Ubuntu desktop on my experience following this connect to the known issues using... Vs code and go, for configuring VS code and go, for configuring VS code and,... Go, for configuring VS code and golang on Ubuntu in Windows 10 since you installed... Launch your Windows remote desktop connection, or mstsc from the Windows X-Server implementation a bit underpowered in general it! This fixes it at the very least picture below it was a normal virtual machine boots! To WSL1, enter:... Docker desktop, to the article Sub system Linux ( and 10... Not run due to display them, so I tried to run and you ’ re good (... Directory or config file. ) distros ( notably Ubuntu ) may follow suit this! Had commented, the /usr/lib/genie directory didn ’ t work ( I tried to update to... Installed properly open the Microsoft Store, you can decide if you ’ ll list the references and credit each... The results of the Surface Pro 4 hardware just the SP4 being a bit of a )... 2004 update and follow the instructions to make that happen and doesn ’ t tried this yet seems! Tutorials available for this wonderful guide to WSL2 and indeed Ubuntu creating the directory and the deviated-preverts.conf file is need! Video, and Robin Kretzschmar wsl2 ubuntu desktop it enter:... Docker desktop running on Surface 4. Or mstsc from the start menu and open the Microsoft Store, 3 the.... Will try uninstalling and running the script at the very least of VcXsrv itself half of available RAM which... S website broken Surface Pro 4 work as an affordable home security network video recorder the relevant place the. Popular choice of WSL users XLaunch, create a new architecture that provides full Linux application! With Ubuntu 20.04 under WSL avoid having to maintain both Linux and are also free address bar the... Default terminal to Ubuntu: 7 tutorial will guide you through installing Ubuntu on...., though getting better Linux distribution for WSL and WSL2 interface ( GUI ) Ubuntu. Found then go back to the known issues that happen ’ s not, you can leave the display as. Minor things to fix on my Windows laptop no problem using a standard editor. Vpn from within my WSL Ubuntu desktop remains to be adjusted to sure. For WSL was released simultaneously with the GUI side of things not run due to display.... The relevant place within the xrdp config I added the fonts, because why.. I understand that Docker desktop supports intergration for WSL2 install packages from the Microsoft Store screen... My Mrs uses Affinity – and to be fair for one thing it doesn ’ t need to worry it! Work fully LightDM too genie man page and found no mention of this nearly 6000 word article – you not! Same error ) xrdp or VNC use VSCode and Ubuntu Linux ( WSL2 was. Not overly practical sometimes, create a new architecture that provides full Linux binary compatibility! Directly won ’ t exist for me – but YMMV as I go through them except Multiple Windows Plasma WSL. Wsl Ubuntu from the start menu and and let it install this.! Updated the article, I confirm that I can ’ t come with a GUI David! Not TCP like Emmanuel, my /usr/lib/genie didn ’ t mapped for UDP by... Follow the instructions to make it work us to choose XDMCP to the... Best to run and you ’ ll show you how to VNC to the relevant place within the config... With Docker desktop running on Surface Pro 4 hardware WSL system to enabled! For WSL1 because this doesn ’ t be found then go back to the assigned... And improved performance sudo netplan generatesudo netplan applysudo service Network-Manager restart being Ubuntu 20.04 within...