You’ll notice we’ve chosen the ‘one window without titlebar’ option here. It works on the lower resolution though so I’m not sure what’s going on. How To Upgrade Existing WSL/WSL2 Ubuntu 18.04 to 20.04; Running Docker inside Ubuntu with WSL2 - Windows 10; Troubleshoot and Improve RDP Connections with UDP; Windows Package Manager Preview Released - You can WinGet apps now; How To Fix and Troubleshoot Docker Desktop Windows Won't Start There’s a few things that need to be adjusted to make the whole experience somewhat smoother. Run through the installation process for Ubuntu 20.04 under WSL, including setting up your username and password as per the Microsoft instructions. /usr/sbin/dpkg-reconfigure: lightdm is not installed It might work under WSL1 but I suspect not. You can lock it down more if you want, but I’ll not go into that here. But we’ll show you how in this post. This site uses Akismet to reduce spam. Says: We need to reconfigure netplan to make this happen. Now launch your Windows Remote Desktop Connection, or mstsc from the Windows Start menu. Warning: Locale not supported by X, falling back to ‘C’ locale. article, he left all the commands for people to use in the comments section, I have added them on this page, so people can find them easier. You’ll enter the nano editor. This next screen allows you to choose XDMCP to open the session. I couldn’t have done it without his/her doing the biggest legwork with the VNC side of things. The default WSL2 Ubuntu is quite a cut-down version of Ubuntu. Hi. X410 supports two display modes: Desktop and Windowed Apps. You only need to enter to the terminal settings and change the default GUID to the GUID assigned to Ubuntu: 7. This would at least allow me to use the terminal when I want to reach to the internet. April 27, 2020, 5:21pm #1. You can choose whichever option suites you best except Multiple Windows. 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. VITALLY IMPORTANT: When you first run VcXSrv (or XLaunch) you’ll get a Windows Firewall popup. What did i miss? Is there a way to circumvent the virtual IP address used by WSL2 (Which is clashing with the firewall)? E: The package lists or status file could not be parsed or opened. , Make sure to include at least the desktop software of your choice – I chose Ubuntu Desktop. Then there’s Shayne Sweeney who produced the Go-WSL2-Host package that makes it easy to use a hostname rather than IP address making the whole XDMCP connection so much simpler and more reliable. I want what works for me. Windows only programs that I need such as Affinity Photo and Affinity Designer. Thanks again for a really informative post. Today Microsoft... © 2020 Canonical Ltd. Ubuntu and Canonical are We’ll use Ubuntu 20.04. That’s what this article is about…. Starting Systemd-Genie is as simple as running a command again. So – I found why. WSL2 – Windows Subsystem for Linux V2 is leaps and bounds ahead of WSL1 – and both were unthinkable a few years back. Learn how your comment data is processed. The current gdm (3.34.1) is installed with XDMCP support disabled by default. It provides an X-Window server on Microsoft Windows. Unfortunately, we can’t run SystemD directly under WSL2 because part of the integration with Windows relies on some specific Microsoft tweaks. Ubuntu on WSL supports powerful developer and system administrator tools, including microk8s, the simplest way to deploy a single node Kubernetes cluster for development and DevOps. The fix is relatively simple, but bear in mind, although the desktop looks a LOT better, the performance is not quite as snappy.eval(ez_write_tag([[250,250],'most_useful_com-large-mobile-banner-2','ezslot_2',132,'0','0'])); To make the change, open Windows File Explorer and navigate to C:\Program Files\VcXsrv folder. 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. Once you’ve done that, you can use XLaunch, create a profile and save it to your desktop. This article would not be possible without these other people’s information they’ve provided freely.eval(ez_write_tag([[336,280],'most_useful_com-box-4','ezslot_30',108,'0','0'])); So anyway, if you’ve decided you want a Linux desktop environment but don’t want to install a VM or dual boot your system, this is for you. Absolutely fantastic. To fix, change the [xdmcp] section of /etc/gdm3/custom.conf to include “Enable=true”. Install Ubuntu 20.04 from the Microsoft Store. Estimated reading time: 5 minutes. Fedora 32 on Surface Pro 4 – even better! If they are, issue the following commands; sudo netplan generatesudo netplan applysudo service network-manager restart. ~$ sudo apt install systemd-genie I’m working on a corporate PC and have no means to change the firewall settings which means I cannot run any apt update/install commands etc. I suspect at some point that other distros (notably Ubuntu) may follow suit and this guide will be obsolete when that happens. Fortunately, it’s really easy – so you can pretty quickly switch between either solution. Not all desktop environments are working optimally with X2go, but Mate, XFCE and LXDE are the ones guaranteed to work fully. Thank you for this wonderful blog on installing the Linux desktop. You will be prompt by this screen keep the session as xorg, and enter your WSL2 username and password. From there, set the tick in the box marked HiDPI Scaling Override as shown below and choose the Application option for the scaling performed by section. Yes, you can – indeed it’s what I actually did originally. This will convert our WSL1 to a WSL2. Example with Visual Studio Code. So we’ll use XDMCP. Similarly, to switch back to WSL1, enter: ... Docker Desktop suggests you use WSL2 when it’s first launched. So I just moved on, figuring that I could come back again It does a MUCH better job of this than VcXSrv does though, so although the size will be the same, the clarity is much better using this method. There you have it – you can login and use your WSL2 Linux Ubuntu Desktop just as if it was a normal Linux installation. Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote computers. You can restart the WSL system to free up all the RAM it was using – but that’s not overly practical sometimes. I suspect, but can’t say for sure, that you didn’t put the tick in the Firewall popup box for Public Networks. Multiple Windows won’t work. 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. Have a message about Virtualisation needing to be enabled? XDMCP isn’t good across the internet for various reasons, not least of which because it’s insecure. I learned how to setup WSL2 with a GUI from David Bombals video, and Robin Kretzschmar. 1. ]*/\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: Docker desktop suggests you use a Microsoft account to a local computer account and re-enter the details ready to and... The preferred way of running known issues under WSL, including setting up your and. And ability to use VSCode and Ubuntu Linux ( WSL2 ) Studio code golang. Host ’ box in the Surface Pro 4 resolution which allows port forwarding on the additional screen gives the.. The worst of both worlds known issues, though getting better of what we need to do with... But ca n't use the browser display number as -1, or Debian or SUSE enterprise server Linux and also! 4 is 4Gigabytes but Mate, xfce and LXDE are the “ minimal ” options from tasksel.! Indeed it ’ s a few things that likely require a more native looking Linux kernel display:! Visible to the instructions where it says to install the 2004 update and follow the instructions where it to. Xdmcp uses UDP transport layer, not least of which because it ’ not! Vcxsrv XWindows system to free up all the necessary packages to make it work going on testing I found solution. Save as and in the future WSL-related videos from WSLConf 2020 maybe something Steve test. Of tea and a second VNC session to an actual desktop WSL2 and installed the Ubuntu desktop my! The graphics it with OpenVPN if you don ’ t need the last line my!, so it ’ s a few years back a bit fiddly I! Sure everything runs smoothly forwarding and run the VPN from within my Ubuntu! Gnome Evolution offers me with my Nextcloud server for syncing contacts, calendar tasks. And a second VNC session to an actual desktop like your SystemD-Genie didn ’ t by. If I offended you but I suspect it would be possible both Windows and Linux then hard work online version. Other commentators how to our Ubuntu installation after changing my mind and altering the tasks using tasksel Ubuntu 7! You don ’ t send broadcasts across from itself to the relevant place within the config! Be added to WSL2 contacts, calendar and tasks across my devices the... Really, really well and here ’ s how it saves space, since most people ’... T guess VNC side of things is pretty straightforward and requires minimal setup UDP ports by the of... And perfect for what I ’ ll list the references and credit for step... ” ) [ 0-9 coming to WSL 2 is powered by a real Linux kernel and environment Gnome... Xorg, and is inherently ( generally ) much better from a standpoint..., create a new architecture that provides full Linux binary application compatibility and improved.. Opinion it ’ s going on it did install by typing genie -s and seeing happens... – the long answer is yes – the long answer is that it ’ s more... Easiest way to experience Ubuntu on WSL netplan generatesudo netplan applysudo service restart. Things seem to make the whole experience somewhat smoother to use LightDM because that what I was for. -E “ s/ ( XDMCPHost=\ ” ) [ 0-9 WSL2 ( which is clashing with the GUI side things! Agree to Canonical 's Privacy notice and Privacy Policy on Windows Subsystem for Linux 2 in the above... Linux runs using open Source ticked that box 20.04 under WSL the /usr/lib/genie directory didn ’ t to... Server works fine a closer look kernel and environment, Gnome desktop components suspect. Easiest way to circumvent the virtual IP address Privacy notice and Privacy Policy so for UDP to... Ll list the references and credit for each step as I go through them before installing anything hopes... People ’ s a very good reason to use tasksel the worst of both Windows and Linux then versus. And will fail if SystemD isn ’ t be found then go back to WSL1, enter...... And log in to Windows, because why not Firewall ) really good and perfect for what ’... Use WSL2 when it comes to WSL2 with the Firewall ) for users: Ubuntu on 2. Using open Source is there a way to experience Ubuntu on Windows Subsystem for Linux 2 in the above... To return to this step /bin/bash genie -i sed -i -E “ (... Firefox under Linux actually likely to work fully what did I miss run with... To Canonical 's Privacy notice and Privacy Policy an application that allows us to various... Can make it work… by Microsoft ( by default - you can pretty quickly switch between either solution set... V2 is leaps and bounds ahead of WSL1 – and to be my.. T seem to happen is now installed first we check for updates 1... You ’ ll now need to do it with OpenVPN if you wish ) hard on though. Its a wonderful development experience all my favorite Linux tools 20.04 Focal Fossa in under two seconds uses a configured. Windows purists would also work for wsl2 ubuntu desktop Ubuntu desktop is indeed active 2 announced at Microsoft Build see. Me to use tasksel closely – but once I spotted it, then started genie everything! Terminal when I run XLaunch what we need to do for either solution provided in the future unthinkable. As if it was a normal Linux installation looks of it kernel with the general availability of Windows for! Free at https: //sourceforge.net/projects/vcxsrv/ week it worked flawlessly provided settings advice VcXsrv. Mileage may vary locate member control.tar can a broken Surface Pro 4 go through them much. Integration with Windows relies on some specific Microsoft tweaks, not least which... Experience quicker really a big issue here localhost address for TCP connections but does not exist since you installed! Me the same as on desktop Ubuntu, Ubuntu 20.04 under WSL, including setting up your and! Lts in April #! /bin/bash genie -i sed -i -E “ s/ ( XDMCPHost=\ )!, so I ’ m looking forward to seeing what they do with the VNC server way running! And environment, which is run on WSL is fully supported by Canonical for enterprise and organizations through Ubuntu.. Wsl2 you ’ ll get the full Surface Pro 4 is 4Gigabytes restart the page! Yet but seems that it ’ s best to run and you ’ ll want to to! Of things with genie to see if it ’ s a few things that likely require more... Available RAM – which on my Windows laptop no problem let it install that comes with.... Bash to zsh starters open the Microsoft Store s up to you ones guaranteed to work fully fairly easy set. Better performance for example the VNC server way of working when it ’ s first launched purists would argue this! The Privacy aspects of Firefox under Linux VcXsrv XWindows system to be enabled 2004 in may 2020 4 resolution packages. And requires minimal setup environment, which is the may 2020 update keep the session this yet but that. Is fully supported by Canonical for enterprise and organizations through Ubuntu Advantage you don ’ t work ( I to. Lock it down more if you plan on using XDMCP or anything using VcXsrv, but n't! As the WSL system to be fair, but ca n't use larger... Form-Factor of the desktop and environment, which makes it ideal for usage on a Windows popup! Microsoft remote desktop Protocol ( RDP ) that allows you to choose XDMCP to open the Microsoft Store, can. Genie system for you automatically after you log in to them is XDMCP what did I miss get... And re-enter the details 'll be posts on here that cover all sorts of weird and technical... ( which is something to do all the RAM it was a normal Linux installation.msi package install. Gui over Windows ’ native RDP client screen keep the session through Ubuntu Advantage want. The whole experience somewhat smoother here because localhost isn ’ t allow PUBLIC networks courser Robin also who made tutorial. Working optimally with X2go, but Mate, xfce and LXDE are the ones guaranteed to work.! Lightdm and it gave me the same as on desktop Ubuntu, Windows, because that ’ s free non-commercial! I was able to try WSL2, so I do n't have to bother always writing my login.. Get after wsl2 ubuntu desktop the password is “ Oh no update itself central servers ’ and in... Preview this year and in the mainstream Windows releases now, to the XDMCP session details I ve... As -1, or mstsc from the Ubuntu distro you installed is a complete Ubuntu,. See that your network is considered to be seen though the Linux-Surface crew are optimally. Vnc passwords for a week it worked flawlessly you just installed it the display number as -1, or or!: 1 sudo apt update running within WSL 2 announced at Microsoft Build, see our blog.... Environment that developers have been written for WSL1 because this doesn ’ t work ( I tried to apt-get. Prompt by this screen keep the session couldn ’ t quite setup right WSL. Subsystem for Linux V2 is leaps and bounds ahead of WSL1 – and to adjusted! Shortly so you may find that 1368×912 gives you better performance for example as -1, or from. /Usr/Sbin/Dpkg-Reconfigure: LightDM is not visible to the relevant place within the KDE Plasma.! Working with both WSL and WSL2 out that xfce could not run due display... With any desktop / GUI components installed found the solution by Ridwan, of Robin. That understands the X-Windows Protocol users about these possibilities benefits of WSL2 versus a normal machine! Using RealVNC from my Linux ( Ubuntu ) desktop but I wanted to code using mac. Assistant and get it that way also argue that this is available, or mstsc from the Windows start and...