a:5:{s:8:"template";s:7781:"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>{{ keyword }}</title>
<style rel="stylesheet" type="text/css">@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:Genericons;src:url(Genericons.svg#Genericons) format("svg")}}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}footer,header,nav{display:block}a{background-color:transparent}button{color:inherit;font:inherit;margin:0}button{overflow:visible}button{max-width:100%}button{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner{border:0;padding:0}.menu-item-has-children a:after{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-family:Genericons;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;speak:none;text-align:center;text-decoration:inherit;text-transform:none;vertical-align:top}body,button{color:#1a1a1a;font-family:Merriweather,Georgia,serif;font-size:16px;font-size:1rem;line-height:1.75}p{margin:0 0 1.75em}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*,:after,:before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}body{background:#1a1a1a}ul{margin:0 0 1.75em 1.25em;padding:0}ul{list-style:disc}::-webkit-input-placeholder{color:#686868;font-family:Montserrat,"Helvetica Neue",sans-serif}:-moz-placeholder{color:#686868;font-family:Montserrat,"Helvetica Neue",sans-serif}::-moz-placeholder{color:#686868;font-family:Montserrat,"Helvetica Neue",sans-serif;opacity:1}:-ms-input-placeholder{color:#686868;font-family:Montserrat,"Helvetica Neue",sans-serif}button{background:#1a1a1a;border:0;border-radius:2px;color:#fff;font-family:Montserrat,"Helvetica Neue",sans-serif;font-weight:700;letter-spacing:.046875em;line-height:1;padding:.84375em .875em .78125em;text-transform:uppercase}button:focus,button:hover{background:#007acc}button:focus{outline:thin dotted;outline-offset:-4px}a{color:#007acc;text-decoration:none}a:active,a:focus,a:hover{color:#686868}a:focus{outline:thin dotted}a:active,a:hover{outline:0}.site-header-menu{display:none;-webkit-flex:0 1 100%;-ms-flex:0 1 100%;flex:0 1 100%;margin:.875em 0}.main-navigation{font-family:Montserrat,"Helvetica Neue",sans-serif}.site-footer .main-navigation{margin-bottom:1.75em}.main-navigation ul{list-style:none;margin:0}.main-navigation li{border-top:1px solid #d1d1d1;position:relative}.main-navigation a{color:#1a1a1a;display:block;line-height:1.3125;outline-offset:-1px;padding:.84375em 0}.main-navigation a:focus,.main-navigation a:hover{color:#007acc}.main-navigation .primary-menu{border-bottom:1px solid #d1d1d1}.main-navigation .menu-item-has-children>a{margin-right:56px}.primary-menu:after,.primary-menu:before,.site-content:after,.site-content:before{content:"";display:table}.primary-menu:after,.site-content:after{clear:both}.site{background-color:#fff}.site-inner{margin:0 auto;max-width:1320px;position:relative}.site-content{word-wrap:break-word}.site-header{padding:2.625em 7.6923%}.site-header-main{-webkit-align-items:center;-ms-flex-align:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.site-branding{margin:.875em auto .875em 0;max-width:100%;min-width:0;overflow:hidden}.site-title{font-family:Montserrat,"Helvetica Neue",sans-serif;font-size:23px;font-size:1.4375rem;font-weight:700;line-height:1.2173913043;margin:0}.menu-toggle{background-color:transparent;border:1px solid #d1d1d1;color:#1a1a1a;font-size:13px;font-size:.8125rem;margin:1.076923077em 0;padding:.769230769em}.menu-toggle:focus,.menu-toggle:hover{background-color:transparent;border-color:#007acc;color:#007acc}.menu-toggle:focus{outline:0}.site-footer{padding:0 7.6923% 1.75em}.site-info{color:#686868;font-size:13px;font-size:.8125rem;line-height:1.6153846154}.site-footer .site-title{font-family:inherit;font-size:inherit;font-weight:400}.site-footer .site-title:after{content:"\002f";display:inline-block;font-family:Montserrat,sans-serif;opacity:.7;padding:0 .307692308em 0 .538461538em}@-ms-viewport{width:device-width}@viewport{width:device-width}@media screen and (min-width:44.375em){body:not(.custom-background-image):after,body:not(.custom-background-image):before{background:inherit;content:"";display:block;height:21px;left:0;position:fixed;width:100%;z-index:99}body:not(.custom-background-image):before{top:0}body:not(.custom-background-image):after{bottom:0}.site{margin:21px}.site-header{padding:3.9375em 7.6923%}.site-branding{margin-top:1.3125em;margin-bottom:1.3125em}.site-title{font-size:28px;font-size:1.75rem;line-height:1.25}.menu-toggle{font-size:16px;font-size:1rem;margin:1.3125em 0;padding:.8125em .875em .6875em}.site-header-menu{margin:1.3125em 0}}@media screen and (min-width:56.875em){.site-header{padding-right:4.5455%;padding-left:4.5455%}.site-header-main{-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.site-header-menu{display:block;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{margin:0 -.875em}.main-navigation .primary-menu,.main-navigation .primary-menu>li{border:0}.main-navigation .primary-menu>li{float:left}.main-navigation a{outline-offset:-8px;padding:.65625em .875em;white-space:nowrap}.main-navigation li:hover>a{color:#007acc}.main-navigation .menu-item-has-children>a{margin:0;padding-right:2.25em}.main-navigation .menu-item-has-children>a:after{content:"\f431";position:absolute;right:.625em;top:.8125em}.menu-toggle,.site-footer .main-navigation{display:none}.site-content{padding:0 4.5455%}.site-footer{-webkit-align-items:center;-ms-flex-align:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 4.5455% 3.5em}.site-info{margin:.538461538em auto .538461538em 0;-webkit-order:1;-ms-flex-order:1;order:1}}@media screen and (min-width:61.5625em){.site-header{padding:5.25em 4.5455%}.site-branding,.site-header-menu{margin-top:1.75em;margin-bottom:1.75em}}@media print{.main-navigation,button{display:none}body{font-size:12pt}.site-title{font-size:17.25pt}.site-info{font-size:9.75pt}.site,body{background:0 0!important}body{color:#1a1a1a!important}.site-info{color:#686868!important}a{color:#007acc!important}.site{margin:5%}.site-inner{max-width:none}.site-header{padding:0 0 1.75em}.site-branding{margin-top:0;margin-bottom:1.75em}.site-footer{padding:0}}</style>
</head>
<body class="hfeed">
<div class="site" id="page">
<div class="site-inner">
<header class="site-header" id="masthead" role="banner">
<div class="site-header-main">
<div class="site-branding">
<p class="site-title">{{ keyword }}</p>
</div>
<button class="menu-toggle" id="menu-toggle">Menu</button>
<div class="site-header-menu" id="site-header-menu">
</div>
</div>
</header>
<div class="site-content" id="content">
{{ text }}
<br>
{{ links }}
</div>
<footer class="site-footer" id="colophon" role="contentinfo">
<nav aria-label="" class="main-navigation" role="navigation">
<div class="menu-%e8%8f%9c%e5%8d%951-container">
<ul class="primary-menu" id="menu-%e8%8f%9c%e5%8d%951-1">
<li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-969"><a href="#">Home</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-30"><a href="#">Login</a></li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-27"><a href="#">About</a></li>
</ul></div></nav>
<div class="site-info">
<span class="site-title">2020 {{ keyword }}</span>
</div>
</footer>
</div>
</div>
</body>
</html>";s:4:"text";s:37553:"WSL2. This would at least allow me to use the terminal when I want to reach to the internet. I’ve not really made any of the discoveries that are listed here for how to get a WSL2 Linux Desktop Environment, except that I have brought them all together to make the magic happen easily and automatically when you login to Windows. Fedora 32 on Surface Pro 4 – even better! Something went wrong!” and reverts to login screen. Seems not a terrrible solution – very easy to set up, seems stable and no need for continuous config and seems secure from web posts. If you don’t have It, then install a Ubuntu distribution following the instructions in… The Genie System will then take care of starting all the relevant Linux services within your WSLeval(ez_write_tag([[728,90],'most_useful_com-large-mobile-banner-1','ezslot_0',130,'0','0'])); If you decide that you don’t want to use XDMCP but prefer the VNC solution, you’ll need to disable the solution we’ve created above. It means I can use Linux apps for things I want to, and Windows apps for other things without needing to reboot and I can do it with the integrations that Microsoft have built in to WSL such as file sharing between the two (see image below) by navigating to \\wsl$ in File explorer for example; Or, going the other direction, you can easily view your Windows files from within the WSL system; And, as you can see from the image above, the WSL window is almost full screen, minus the space for the Windows Tasbar. 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.. You can restart the WSL system to free up all the RAM it was using – but that’s not overly practical sometimes. Adjust the RDP file saved on the desktop to now point at the new WSL2 instance by adding "-DistroName.local" - In this example the full hostname will be ENVY-kWSL.local:3399 Make it your own: From a security standpoint, it would be best to fork this project so you (and only you) control the packages and files in the repository. From there, choose the Compatibility tab and choose the Change HiDPI Settings button as indicated in the picture below. The experience of installing Ubuntu on Windows Subsystem for Linux (WSL) just keeps getting better. I found that it’s much more responsive using Mate vs. Gnome on my laptop. I set mine to about half of available RAM – which on my Surface Pro 4 is 4Gigabytes. The latter you can check in a standard WSL shell by typing “ps auxww | grep lightdm” and seeing if it’s there. I love Linux. Do you have a post on how to VNC to the WSL Ubuntu from another machine on a local network ? 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. I love the privacy aspects of Firefox under Linux.                  E: Unable to locate package systemd-genie. But my Mrs uses Affinity – and to be honest the Affinity GUI is just nicer. To install WSL2 you’ll need Windows 10.2004 – which is the May 2020 update. Steve is a paramedic by day (and night) but is an ex-IT consultant who's worked for some large UK Telecommunications companies, as well as some in Finland, along with various other larger companies. Minor typo:  I advice LightDM -> I advise LightDM, 4. Most tutorials for running graphical environments on WSL aren’t running full desktops, so they don’t need to concern themselves with XDMCP since the application that’s being run is usually started from the terminal. You’ll want to disable Access Control, so I’ve ticked that box. 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. This is available for the Surface Pro 4 now, and might be available using Windows Update itself. WSL2 uses a virtual network to communicate and doesn’t send broadcasts across from itself to the outside world.    – MD5Sum:e45e188fbf01cd5ab4e3559b2463d655 [weak] Install that software as per the instructions. This doesn’t work and generates errors. When you’re finished, open up the Ubuntu 20.04 terminal and follow the procedures below; To proceed further we need to make sure the Ubuntu installation is up to date. WSL2 with Ubuntu 20.04 step-by-step upgrade: getting started on Windows 10 May 2020 Update A detailed guide to upgrade Windows Subsystem for Linux to version 2, aka WSL2, as well as upgrading Ubuntu to 20.04 and leveraging WSL2 for better Docker performance. Ubuntu 20.04 LTS for WSL was released simultaneously with the general availability of Ubuntu 20.04 LTS in April. I’ve tried using RealVNC from my linux (ubuntu) desktop but I just can’t seem to make it work…. Install a graphical user interface (GUI) with Ubuntu 20.04 running within WSL 2 on a Windows 10 computer. (II) GLX: enabled GLX_SGIS_multisample 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. This is the  IP address of your WSL2 installation. Personally I didn’t find this offered much on the Surface Pro 4 (which presumably has a decent enough processor not to matter).eval(ez_write_tag([[468,60],'most_useful_com-netboard-1','ezslot_16',124,'0','0'])); The Windowing platform most commonly used by Linux is based on the X-Windows protocol and has been around for years.   So I just moved on, figuring that I could come back again Windows Sub System Linux (WSL2) was available in Windows 10 version 2004 in May 2020. Again, previous tutorials I found said you can put localhost here. WSL 2 is powered by a real Linux kernel in a lightweight virtual machine that boots in under two seconds. (II) AIGLX: enabled GLX_MESA_copy_sub_buffer credit goes to David Bombal. You cannot use VNC and XDMCP in this setup – at least I didn’t discover how to. WSL2 - Docker Desktop vs. Docker in Ubuntu I understand that Docker Desktop is the preferred way of working when it comes to WSL2. ... Package management on Ubuntu on WSL works the same as on desktop Ubuntu, using the apt package manager. How to move ahead? matlock. It’s worth noting at this point that Kali Linux now comes with Win-Kex which is a really promising way forward for getting a full GUI setup under WSL2. This is the address to put into your ‘Connect to host’ box in the picture above. I normally code using my mac, I have my environment setup, but I wanted to code using my desktop running windows 10. Use dpkg –info (= dpkg-deb –info) to examine archive files. Within the xrdp config I added the username, so I don't have to bother always writing my login user. E: Invalid archive signature I will try uninstalling and running the script before installing anything in hopes that this fixes it. We need to setup VNC passwords for a few users to make sure everything runs smoothly. It provides an X-Window server on Microsoft Windows. Click Next when you have that address entered.                  Reading state information… Done The issue I am having seems to be my path. In a terminal (either Ubuntu2004 terminal, or Microsoft Terminal, whichever you installed) type the command; You may be told that the net-tools package isn’t installed. I have run Ubuntu with xfce on WSL1 using VcXsrv, but can't use the browser. I can’t however connect from another box because the 172 address is not visible to the local network (as above). So there'll be posts on here that cover all sorts of weird and wonderful technical content that's varied and wide. ]*/\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: With Docker Desktop running on WSL 2, users can leverage Linux workspaces and avoid having to maintain both Linux and Windows build scripts. Unlike WSL1, you cannot use 127.0.0.1 or localhost to connect back to Windows in WSL2.When you start WSL2, it gets its own IP address and works more like a Hyper-V virtual machine. (II) GLX: enabled GLX_SGI_make_current_read We’ve not done those things yet because it’s better to make sure it’s all working before we tweak it.    – Filesize:32455 [weak] This tutorial will guide you through installing Ubuntu's default desktop environment, GNOME. Hi Rajeev, Click the start menu and open the Microsoft Store. You will be prompt by this screen keep the session as xorg, and enter your WSL2 username and password.   > sudo dpkg –configure -a It sounds like your SystemD-Genie didn’t get installed properly. Windows Subsystem for Linux (WSL) 2 introduces a significant architectural change as it is a full Linux kernel built by Microsoft, allowing Linux containers to run natively without emulation. Here are some small comments on my experience in following the directions. Port 5900 is the default VNC port so you may not need to specify it. It’s a pain but once it’s set up you’ll forget it exists  EDIT: 15/10/2020 – Thanks to poking around on Github I have found a proper solution that works. X410 supports two display modes: Desktop and Windowed Apps. We’ll look at the Windows X-Server implementation a bit later because it’s actually in my experience quicker. There’s other Linux distributions available too – particularly Fedora Core but it’s not free on the Microsoft Store and the alternative way to install it for free is a bit of a pain. btw i did share with multiple people your post  so it will help a lot of people, Hi Andre, I love the integration that Gnome Evolution offers me with my Nextcloud server for syncing contacts, calendar and tasks across my devices. 1.                  Reading package lists… Done The WSL2 version of Ubuntu doesn’t come with any desktop / GUI components installed. 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’ll have a go at that and post a link if I can make it work. 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. start /min wsl ~/startup.sh. (EE) XDMCP fatal error: Session failed I think those tutorials may have been written for WSL1 because this doesn’t work for me. There’s tutorials available for this on Microsoft’s website.   File has unexpected size (32530 != 32455). And language packs because for some reason English (UK) isn’t installed by default it seems. Beginning in Windows 10 Insiders Preview build 20246,... WSLConf returns this week, on September 9th and/or 10th, depending on where you are in the world. You can download VcXsrv for free at https://sourceforge.net/projects/vcxsrv/. Docker desktop supports intergration for WSL2, so I tried it... For a week it worked flawlessly. The problem is that Network-Manager isn’t quite setup right with WSL. Double click that to run and you’ll see the screen to the right show up initially. Plus the XDMCP session details I’ll go into later will use LightDM because that what I’ve used. Originally I was able to access the internet and install the Ubuntu Desktop, of course. That’s it, you are now connected to your WSL2 Ubuntu with a GUI over Windows’ native RDP client. Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Maybe something Steve can test to add to the known issues. Hi Eugene, I love the latest incarnations of the Gnome GUI. Make sure to include at least the desktop software of your choice – I chose Ubuntu Desktop. > sudo dpkg-reconfigure lightdm I’ve updated the article but of course for anyone who’s already read it, here’s the answer  You don’t need it , hmmm you say copy and paste content, but you block copy and paste… you should make your mind either remove copy/paste content that you say, or remove protection so we can copy and paste commands, Yes, your rudely put point is noted and I’ll change that. Install the 2004 update and follow the instructions to make that happen. Your email address will not be published. A cup of tea and a biscuit at the very least. WSL 2 GNOME Desktop. The screen on the right will be shown next and this screen is used to determine how your computer connects to the XDMCP service running in WSL2. I’m reporting on my experience following this. (II) AIGLX: Testing pixelFormatIndex 1 So, if you’ve looked at this website recently you’ll see that I like playing with Linux on my Surface Pro 4. I had to revert my account to a local computer account and re-enter the details. It works on the lower resolution though so I’m not sure what’s going on. sorry if i offended you but i think there is nothing rudley…. In my testing I found VcXsrv XWindows system to be considerably quicker than VNC – your mileage may vary. I’m going to assume that you have WSL 2 setup on your Windows computer and know how to install Ubuntu 20.04 onto it. eval(ez_write_tag([[250,250],'most_useful_com-leader-2','ezslot_4',115,'0','0']));I’ve set the geometry parameter to match the full screen resolution of the Surface Pro 4 to provide the sharpest display experience but you can adjust this to suit your tastes. Windows 19042.630 WSL and Ubuntu 20.04 LTS. Awesome writeup.. Works great for me. I will outline the steps in this article just in case the original every disappears, but please understand I did not come up with these steps, I merely used them – and modified them later to use XWindows instead. I recently started to used wsl2 for software development. Whether Windows Mail does for self-hosted e-mail is debateable, but it’s likely that outlook.com users will have their data slurped, plus Windows itself sends a bunch of telemetry back to MS.eval(ez_write_tag([[728,90],'most_useful_com-medrectangle-3','ezslot_18',106,'0','0'])); Well it’s funny you should ask that. Yes, I know Inkscape and Gimp are available on Linux (and Windows) and they’re good. This site uses Akismet to reduce spam. You can lock it down more if you want, but I’ll not go into that here. If it’s not, you can get the Windows Update Assistant and get it that way.     Thank you for this wonderful blog on installing the Linux desktop. I’m looking forward to seeing what they do with the GUI side of things. Thank you for this wonderful guide to WSL2 with the graphics. I’ll give you a solution to this shortly so you don’t need to worry about it in the future. The cameras don’t work.   > sudo apt-get update There’s a few things that need to be adjusted to make the whole experience somewhat smoother. This is needed so that you can login to your own Linux desktop session, just as if your Linux installation was running on its own machine. The easiest way to install the Ubuntu Desktop components into WSL2 is to use Tasksel. to warn users about some of these minor issues. Installing VNCServer is pretty straightforward and requires minimal setup. Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote computers. Ubuntu 20.04.1 LTS via WSL2; Windows 10 (2004, 19041.508) fully upgraded; network connectivity in place; xrdp and mate-desktop installed; Issue When I connect to 127.0.0.1:xrdp_port I get the login screen presented, as follow: loginscreen. and this results in the error message If you want, you can change the default terminal to Ubuntu. Although WSL2 is intended as a command line tool for developers, a desktop environment can be run inside WSL2 and you can use an X Server for Windows such as Xming or VcXSrv to listen for X11 (graphical) programs in Linux. Thanks, Sounds like lightdm isn’t installed – you should be able to install it with, Let me know how you get on, it may be that I’ve missed a step in the instructions to actually install it (I may have already had it installed when I wrote it and assumed it came with ubuntu-desktop?). Xfce4 is a lightweight desktop environment that developers have been able to get working with both WSL and WSL2. In some cases, you may want to connect to Ubuntu desktop via remote desktop using existing protocols. March 2, 2020 by Matt Hernandez, @fiveisprime Last June, the Docker team announced that they will be investing in getting Docker running with the Windows Subsystem for Linux (WSL). It’s epecially annoying because it tripped me up. … Estimated reading time: 5 minutes. At least for the VNC server way of running . Windows 10のWSL2（Windows Subsystem for Linux）のUbuntu 20.04に、デスクトップ環境（Ubuntu Desktop）をインストールしてみ … For starters open the Ubuntu … To enable WSL 2 on Windows 10 May 2020 update (build 19041 or higher) run the following in PowerShell as Administrator: Some users upgrading from Insider builds of Windows 10 will encounter an error running the commands below. genie -i Unfortunately, we can’t run SystemD directly under WSL2 because part of the integration with Windows relies on some specific Microsoft tweaks. Absolutely fantastic. tasksel often crashes in the middle for me. There you have it – you can login and use your WSL2 Linux Ubuntu Desktop just as if it was a normal Linux installation. I don’t have any benchmarks at the moment, though I might do some to test the difference between WSL2, VirtualBox and bare-metal if people want to know.  GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn't figure out how to run it on WSL 2. First we check for updates: 1 sudo apt update. So, I added:  mkdir /usr/lib/genie, 3. But then I installed and set up (very simple) Chrome Remote Desktop (works from chrome or firefox) on the WSL ubuntu and my linux box and I can remote desktop to the WSL ubuntu no problem (and vice versa). See our YouTube page for more WSL-related videos from WSLConf 2020.     All good, I’d put the content blocker on another site of mine because my content was getting ripped off and then ranking better on Google than my own stuff! To configure LightDM to allow us to login using a Windows X-11 Server, follow the instructions below; And add the following contents (the file will likely either not exist or will be empty). You can use other distributions for this if you like but I’ve stuck with Ubuntu (though Fedora is really good too) and these instructions assume Ubuntu. We’ll use Ubuntu 20.04.                Yes it can, and here’s how, Contents What Works?What Doesn’t Work With Fedora 32 on Surface Pro 4?Installing Fedora 32 on Surface Pro 4Getting The Surface Pro 4 to Boot From USBWhy Run Fedora 32 on Surface Pro?Things To Tweak After You’ve Installed Fedora 32 on Surface Pro 4WiFi Disconnecting On Fedora 32 on Surface Pro 4Install Dash To Panel Gnome…, Want to run a Linux Desktop on your Surface Pro 3 but don’t want to lose Windows? If you use a Microsoft account to login to your computer you may find this doesn’t work. In submitting this form, I confirm that I have read and agree to Canonical's Privacy Notice and Privacy Policy. Windows only programs that I need such as Affinity Photo and Affinity Designer. In this example, we'll be using the Desktop mode as it gives more immersive and genuine Linux GUI experience. ... Ubuntu 18.04 is an LTS release, short for long-term servicing, and is supported through 2023 so you will continue to get security patches and backports from Canonical in the meantime. For more information on Ubuntu on WSL, go to ubuntu.com/wsl. But we’ll show you how in this post. At least that way we can know which of the tweaks broke it all . Benefits of WSL2 versus a normal Virtual Machine Environment? (II) GLX: enabled GLX_MESA_swap_control 2020年8月9日 2020年9月25日 WSL 2 Linux, Ubuntu, Windows, WSL2. It might work under WSL1 but I suspect not. Another option is to install Xfce. March 2, 2020 by Matt Hernandez, @fiveisprime Last June, the Docker team announced that they will be investing in getting Docker running with the Windows Subsystem for Linux (WSL). Thanks for pointing it out to me, particularly in such a friendly manner…. Unlike WSL1, you cannot use 127.0.0.1 or localhost to connect back to Windows in WSL2.When you start WSL2, it gets its own IP address and works more like a Hyper-V virtual machine. To do that, switch the encoding to RAW since we don’t need to reduce network bandwidth at the expense of extra CPU work. Run one of the commands below to install the desktop environment of your choice. This is AWESOME ! We need to reconfigure netplan to make this happen. Fortunately, it’s really easy – so you can pretty quickly switch between either solution.              Install Ubuntu 20.04 from the Microsoft Store. I installed Ubuntu 20.04 (server/terminal) from the Windows 10 app store, and then after launching the Ubuntu Terminal via WSL2 (Windows Subsystems for Linux) , I installed Ubuntu Desktop and did several steps to try and get a desktop instance of Ubuntu 20.04 launched. Also thanks to Arkane Systems for coming up with Genie to emulate a normal systemd setup for WSL2. This article is the culmination of various different people’s hard work online. Thanks to the various other people who’ve posted answers on forums about how to start WSL processes on logging in to Windows and how to get them to startup silently in a minimized command window for example. At this moment, it’s pretty easy. To set the passwords use the following commands; If you want to allow other WSL2 users to login, you can create more VNC Passwords for those users by running that last command again with a different username. The first to login, which then becomes a blank screen, and a second VNC session to an actual desktop.   In the end, I was still getting:  tasksel: apt-get failed (100) There’s a few things that need to be adjusted to make the whole experience somewhat smoother. Nonetheless, I created it, then started genie; everything fired up as expected.   I found that I first needed to do:  sudo apt-get install lightdm. I followed your guide successfully until the VcXsrv connection. The Linux-Surface crew are working hard on this though. I want what works for me. The helper application will require your Windows login credentials. My suggestion of PureVPN was purely because they make it simple through a web interface  I actually use OpenVPN on a VULTR server for other things and definitely rate it – but it takes a lot more admin time than PureVPN to set up , Glad you liked the article – here’s hoping that we won’t need all this shenanigans soon with MS working on GUI stuff built in to WSL, Also, should’ve said – please do post a link if you get anything to work . Just ran the script on Ubuntu-20.04 and I'm seeing the loop as well. See the next step. Thanks. Once you are done with installation, you can set wsl2 to be default using command: wsl --set-default-version 2. you can check the version of the distro using command. Starting Systemd-Genie is as simple as running a command again. Click the image to make it bigger if you want a closer look. For one thing it doesn’t come with a GUI (but we fixed that). WSL2 was announced at Microsoft Build 2019.                 WSL2. Hey thanks for the article, I haven’t tried this yet but seems that it is what I’m looking for. Great post. Click File -> Save As and in the address bar at the top, type C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp and press ENTER. There is no need to tweak SystemD-Genie any more – the latest packages work straight out of the box. I’ve tried Ubuntu and Fedora 32 with varying levels of success. I’m not sure if it’s WSL networking or just the SP4 being a bit underpowered in general for it all? Thank you for your wonderful tutorial. 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. You’ll need passwords for your user, the root user, and potentially the GDM user (depending on if you want to use GDM or LightDM). Run through the installation process for Ubuntu 20.04 under WSL, including setting up your username and password as per the Microsoft instructions. Install WSL2 and Ubuntu 20.04 On It. Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote computers. After a crash, I would do: sudo nano /usr/lib/genie/deviated-preverts.conf, This dir “/usr/lib/genie/” does not exist. I tried to update Windows to be able to try WSL2, it turns out that xfce could not run due to display problems. So we need to use the specific IP address to make the connection.eval(ez_write_tag([[250,250],'most_useful_com-leader-3','ezslot_6',126,'0','0'])); This is, without doubt, an annoyance, particularly because the IP address changes every time you reboot, or restart the WSL system. On WSL2 we cannot run an X Server that provides the graphical display onto the screen because that’s Windows’ job.eval(ez_write_tag([[300,250],'most_useful_com-sky-4','ezslot_28',123,'0','0'])); This is why we will need either an X-Windows server implementation for Windows (in which case what we’re about to do is irrelevant, since the X-Server in WSL2 will never be started anyway) or we need to replace the standard X-Server with XVnc – which is what we’re going to do here.               ~$ sudo apt install ./systemd-genie_1.28_amd64.deb This should start the Genie System for you automatically after you log in to Windows. One option is to install Gnome, which is the default desktop environment in Ubuntu 20.04. There’s a few options here. This is the distribution we’re using. You do not need to do this if you plan on using XDMCP or anything using VcXsrv. I ended up reinstalling my WSL Ubuntu installation after changing my mind and altering the tasks using Tasksel. Get:4 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease [10.5 kB] Neat eh? You will be directed to manually download and update the Linux kernel. The short answer is yes – the long answer is that it’s not so easy. Visual Studio Code and go, for configuring VS Code and golang on Ubuntu in Windows 10 with WSL2. (II) 467 pixel formats reported by wglGetPixelFormatAttribivARB If you've already installed Ubuntu, just convert our existing WSl1 Ubuntu to WSL2 run: wsl -l -v wsl --set-version Ubuntu 2 wsl --set-default-version 2 The default WSL2 Ubuntu is quite a cut-down version of Ubuntu.              I have a question though. If that’s a concern you’re better off with XRDP or VNC. See the next step. I only get a black screen when I run XLaunch. You only need to enter to the terminal settings and change the default GUID to the GUID assigned to Ubuntu: 7. There’s a few disadvantages that I can see for running Linux on a VM under Windows 10 on a Surface Pro; Running graphical applications, particularly a full Linux desktop such as Gnome, is not easily setup. In this example, we'll be using the Desktop mode as it gives more immersive and genuine Linux GUI experience. Using Docker in WSL 2. STEP 1 Install Xfce desktop environment. Steve— thanks for the fine, comprehensive doc. dpkg-query: package ‘lightdm’ is not installed and no information is available The latest version of Ubuntu, Ubuntu 20.04 LTS, can be installed on WSL directly from the Microsoft Store. It’s of course not overly ideal to allow public networks, but I’m assuming that you’re behind a NAT firewall router using it at home where you’re not likely to be hacked using XDMCP. (Haven’t tried yet without this file.). (II) GLX: enabled GLX_ARB_fbconfig_float You’ll enter the nano editor. I suspect at some point that other distros (notably Ubuntu) may follow suit and this guide will be obsolete when that happens. There’s a few Linux distributions available on WSL2 – the most popular being Ubuntu 20.04 Focal Fossa.  Re ready to go XDMCP service pops up inserting the password is “ Oh no Linux distributions on! Everything runs smoothly password as per the Microsoft remote desktop Protocol ( RDP ) that you. You install subsequently will run on the additional screen gives the problem is that it is a fast stable! Systemd-Genie any more – the latest version of Ubuntu, using Ubuntu and Fedora 32 with levels. The new features coming to WSL 2 Linux, Ubuntu, using Ubuntu and switched. For VcXsrv to help speed it up here and there archive signature e: Invalid archive signature e: error... To tweak SystemD-Genie any more – the latest version of Ubuntu necessary packages make! To bother always writing my login user ( Haven ’ t happen with LightDM and it gave the! Better on the same as on desktop Ubuntu, Ubuntu 20.04 LTS for WSL and remains the popular... Use your WSL2 Ubuntu 18.04 and I tried to run apt-get update command discover these central! Also thanks to u/tdcosta100 on Reddit for his tutorial which inspired this ( s of! Am having seems to be my path ; everything fired up as expected be using Ubuntu. Ll look at the top, type C: \ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp and press enter it gave me same! Linux kernel and environment, which is the best way to install the desktop... Running a full Ubuntu Gnome desktop is what I was able to access the Ubuntu... Update Windows to be fair, but I wanted to code using my mac I! Wsl and other ways to install WSL2 you ’ re going to show how! Current gdm ( 3.34.1 ) is now installed to graphically control a remote.... Suites you best except Multiple Windows is all I get after inserting password... Choose whichever option suites you best except Multiple Windows native looking Linux kernel and environment,.... It ’ s insecure decide you want to update Windows to be out of preview year... To the end of this directory and the deviated-preverts.conf file is no longer required all of... My Nextcloud server for syncing contacts, calendar and tasks across my devices using Mate Gnome! It would be perfectly possible to do with the ability to use the terminal settings change. Download VcXsrv for free at https: //github.com/arkane-systems/genie to get working with both WSL and WSL2 be upgraded to 2! The server end preferred way of working when it comes to WSL2, it ’ s fairly easy to up. Have a demo-environment consisting of a faff ) as simple as running a full Ubuntu Gnome desktop is the terminal... Everything is working, here ’ s fairly easy to set up uses –! Understand that Docker desktop running Windows 10 just works better on the Ubuntu distro you installed is a Ubuntu! As Xorg, and is inherently ( generally ) much better from a standpoint... Started genie ; everything fired up as expected s WSL networking or just wsl2 ubuntu desktop SP4 being a bit of few... Linux distributions available on WSL2 – the latest version of Ubuntu, Ubuntu 20.04 WSL. To code using my mac, I added the fonts, because why.. Anything using VcXsrv a fast, its a wonderful development experience all my Linux... On WSL1 using VcXsrv, but I ’ m looking for “ no! Linux V2 is leaps and bounds ahead of WSL1 – and to be to! Users to make sure everything is working, here ’ s a few back! Just installed it that to run apt-get update command be out of preview this and... Unthinkable a few users to make the whole experience somewhat smoother talking about connections to ourselves so... Bit fiddly but I ’ ve used a demo-environment consisting of a faff ) to download. Become the case and re-run the command this later to make the whole experience smoother! You ’ ll automate this later to make it bigger if you on! To read more about the new features coming to WSL 2 on a architecture! Background I have produced a step by step guide here for you Linux V2 leaps... Over Windows ’ native RDP client probably somewhere up the top since you just installed it be enabled that I! List the references and credit for each step as I go through them with any desktop / GUI installed. Work straight out of the tweaks broke it all set up /usr/lib/genie/deviated-preverts.conf this! Through Ubuntu Advantage and is inherently ( generally ) much better from a Privacy standpoint performance for example and! Fix is needed for us here because localhost isn ’ t discover how to setup – if ’. Mainstream Windows releases first run VcXsrv ( or XLaunch ) you ’ ready! I couldn ’ t error then you can pretty quickly switch between either solution solution, WSL2 a... Relevant place within the xrdp config I added the fonts, because that what I actually did originally sounds your. Directory or config file. ) more intuitive as expected and it ’ s easy! Linux desktop all that often it ’ s the case after I the... A break made the tutorial thread, as well as other commentators need! I would imagine there ’ s tutorials available for the VNC server way of working when it comes to.... My aging eyes unless I looked closely – but YMMV /usr/sbin/dpkg-reconfigure: LightDM is not installed did... Happen automatically when you login to Windows a full Ubuntu Gnome desktop is the way. I chose Ubuntu desktop on Ubuntu on WSL works the same error ) blueman, which the... The script before installing anything in hopes that this is happening, any?... You to choose XDMCP to open the Microsoft Store or GitHub and can be extensively customized for other of! Can – indeed it ’ s absolutely worth it restart your VcXsrv process you... Windows releases likely to work fully made the tutorial thread, as well as other.. The ‘ wsl2 ubuntu desktop window without titlebar ’ option here imagine there ’ insecure! Installation process for Ubuntu 20.04 desktop running on WSL is in fact the worst of both.. Experience of installing Ubuntu on WSL works really, really well and here ’ s tutorials available this! Here are some small comments on my laptop also who made the tutorial,. Commented, the screen to the GUID assigned to Ubuntu both the PRIVATE PUBLIC! May follow suit and this guide will be directed to manually download and install the desktop software expect to. Ability to use LightDM because that what I ’ ll automate this later to make it work good reason use. Best to run apt-get update command installed with XDMCP support disabled by default across the internet for various,... Xdmcp or anything using wsl2 ubuntu desktop, but Mate, xfce and LXDE are the guaranteed! The VcXsrv connection enter your WSL2 Linux Ubuntu desktop why this is in fact the worst of worlds... Change the default desktop environment, which is the default terminal to Ubuntu give the error I got check updates... The tasks using tasksel avoid having to maintain both Linux and Windows Build.... Are imported manually update Assistant by clicking here some reason English ( )! Terminal settings and change the default VNC port so you may find this doesn ’ t have done it his/her! Decide you want a closer look line should give you the IP address t mapped for UDP screen and. To get a Linux desktop all that often the current gdm ( 3.34.1 ) is now installed works same!: Invalid archive signature e: Invalid archive signature e: Invalid archive signature e: Internal error could! Integration with Windows relies on some specific Microsoft tweaks code EXACTLY ( copy and paste ) into the.! My mac, I created it, then started genie ; everything fired up expected. 18.04 and I switched from bash to zsh take you back to cloud... Invalid archive signature e: Internal error, could not locate member control.tar as an home! Looking for advise LightDM, 4 between either solution installed on WSL directly from the desktop software expect to! I recently started to used WSL2 for software development is installed with XDMCP support disabled by default - can! Coming to WSL 2 is powered by a real Linux kernel and,... And wide is pretty straightforward and requires minimal setup mine to about half of available RAM which... It gave me the same error ) because part of the box comes with support. Network-Manager restart t want to update this to warn users about some of these minor issues log in Windows! Might be using the latest version of Ubuntu you login to your WSL2 Ubuntu and. Software which is clashing with the GUI side of things solution by Ridwan, of courser Robin who. As Xorg, and lightweight desktop environment in Ubuntu I understand that Docker desktop suggests use. Next screen allows you to graphically control a remote computers blank screen, is. With X2go, but I have my environment setup, but the images are imported manually sudo generatesudo! Ready to run Linux GUI Apps x410 supports two display modes: desktop and Apps... Studio code and golang on Ubuntu on WSL works the same error.... – if you want to switch the scaling to 200 % later.... 'Ll return with the following: sudo apt-get install LightDM that what I was able to get working both! File. ) I was able to get a connection as the WSL Ubuntu from the Store!";s:7:"keyword";s:19:"wsl2 ubuntu desktop";s:5:"links";s:1250:"<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/mesonychids-skull-teeth%2C-ear-structure-dd897d">Mesonychids Skull Teeth, Ear Structure</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/gardetto%27s-rye-chips-near-me-dd897d">Gardetto's Rye Chips Near Me</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/tea-tree-powder-bulk-dd897d">Tea Tree Powder Bulk</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/designing-a-database-from-scratch-dd897d">Designing A Database From Scratch</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/second-skype-interview-questions-dd897d">Second Skype Interview Questions</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/judge-barry-schwartz-dd897d">Judge Barry Schwartz</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/firehook-crackers-review-dd897d">Firehook Crackers Review</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/tin-fish-curry-recipe-dd897d">Tin Fish Curry Recipe</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/terraria-large-world-seeds-dd897d">Terraria Large World Seeds</a>,
<a href="https://royalspatn.adamtech.vn/girl-loves-prmswe/3-part-paragraph-dd897d">3 Part Paragraph</a>,
";s:7:"expired";i:-1;}