Ubuntu 20.04 Desktop GUI On WSL 2 On Surface Pro » Useful Stuff

Tried the tabTitle without success. 04 under WSL, including setting up your username and password as per the Microsoft instructions. After a short time you'll be prompted to accept the upgrade. This should start the Genie System for you automatically after you log in to Windows. Configuring LightDM to use XDMCP is simple. This would at least allow me to use the terminal when I want to reach to the internet. Contents• I experimented with removing options, explicitly setting interface metrics, uninstalling and reinstalling docker, reboots, but nothing worked. Windows 10 Version 2004 build 19041. 04 LTS for WSL was released simultaneously with the general availability of Ubuntu 20. If you don't see a version number, or if you see an error message Thank you, you have version 1. Without this work, none of this would be possible. Once your distribution is installed, follow the normal instructions to or. You can decide if you want to update this to warn users about some of these minor issues. Note: If you like to set a tooltip in the tabTitle attribute, shells like bash may ignore it. WSL 2 was redesigned with a Linux kernel running in a lightweight VM environment, and innovators have found many more things they can do with WSL 2. I found that I had some NAT adapters from previous VM's that were set up in Hyper-V. Finding the files to download, including the VM software itself initially. Turns out all the Ping replies were coming from the same MAC address - and that MAC belonged to an OpenVPN TAP NIC on my host. But I love the form-factor of the Surface Pro 4 device. sh Test the installed with: conda list Run an update: conda update conda Add an environment: conda create --name work conda activate work conda info --env conda install -c anaconda python conda list See the on managing Conda environments. This restriction exists in order to ensure the integrity and safety goals that S Mode delivers: Read for more information. Self-Service Anywhere allows non-administrators to easily access and manage IT approved software from the office, from home, or anywhere they have an internet connection. You are still in old version of Windows which doesn't support WSL 2. deb -O packages-microsoft-prod. WslRegisterDistribution failed with error 0x8007019e• Click Next when you have the options chosen. json file by copying the Ubuntu guid value and pasting it into the defaultProfile attribute towards the top of the file. To re-enable VNC, simply open up the lightdm. It could take between 1-5 days for your comment to show up. 04 latest and Windows Terminal from the windows store, once installed you can run the ubuntu as an application to configure from the start menu. Follow these instructions to. Step 7 - Set up a new distribution The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for a minute or two for files to de-compress and be stored on your PC. Change the default gateway ip route delete default and ip route add default via 192. Welcome to the Chocolatey Community Package Repository! xlaunch and name it whatever you want. Heya, Thanks for your kind words too. WSL1 also didn't care that inbound packets were tagged. Windows 10 May 2020 2004 , Windows 10 May 2019 1903 , or Windows 10 November 2019 1909• And Windows 10 just works better on the Surface Pro 4 hardware. Therefore, still people prefer to use WSL 1 instead of WSL 2. Hi Jim, Having gone through the process again for another article and Desktop Environment under WSL2, I can confirm that the file and directory is in fact not required. 04 2 Conversion in progress, this may take a few minutes. This will install the Ubuntu distribution. For this setup I went with WSL 2. Starting the VM and then booting Linux could be around 20-25seconds. So there'll be posts on here that cover all sorts of weird and wonderful technical content that's varied and wide. 04, both within WSL and in places like Windows Terminal. Installing your distro If you're using Windows 10 you can install your distro with PowerShell. VcXSrv connection options This next screen allows you to choose XDMCP to open the session. If it fails, it you will see the message: This update only applies to machines with the Windows Subsystem for Linux. If you are running an older legacy installation of WSL 1 from Windows 10 Anniversary Update or Creators Update, you may encounter an update error. This is available for the Surface Pro 4 now, and might be available using Windows Update itself. Source: Windows Central• From inside WSL2 I could ping my host interfaces and DNS worked fine, but nothing routed. Once you open the Ubuntu App, it will ask you to set up the Username of your Ubuntu system and followed by the Password. I did some more digging and found some scripts which forward ports and manipulate the firewall — looks really messy and a pain if you need to add more ports. I had high hopes for WSL2, but as it stands now, I'm better off keep having few Linux VMs on my local Hyper-V. Chocolatey for Business C4B enables better security, enhanced visibility with centralized reporting, and a self-service GUI. This allowed me to see the outbound TCP packets, the inbound TCP responses, and that they were being filtered at the switch level due to a VLAN tag. Is the next-to-last numeric group version? Installing VNCServer is pretty straightforward and requires minimal setup. Linux runs using Open Source software, and is inherently generally much better from a privacy standpoint. This is just weird, cumbersome and annoying. Moving XLaunch window to the laptop screen and then connect to the XDMCP server works fine. I just got Ubuntu from Microsoft Store and tried some things with it. Originally I was able to access the internet and install the Ubuntu Desktop, of course. , consistency, and• Troubleshooting installation Below are related errors and suggested fixes. The packages found in this section of the site are provided, maintained, and moderated by the community. A new LTS version only comes every two years, with interim releases that aren't supported for as long in between, currently scheduled for every six months. This is the IP address of your WSL2 installation. As of this writing, you can install openSUSE Leap, SUSE Linux Enterprise, and Ubuntu. Here is how to make the WSL console look like a native Ubuntu terminal with appropriate colors and fonts. xlaunch every time I restart Windows. 04 Desktop running on Surface Pro 4 Windows 10 using WSL There you have it — you can login and use your WSL2 Linux Ubuntu Desktop just as if it was a normal Linux installation. In this tutorial, I am following a second way to install a new instance of Linux on WSL. The easiest way to install the Ubuntu Desktop components into WSL2 is to use Tasksel. sudo apt install tigervnc-standalone-server Install Systemd-Genie The default WSL2 Ubuntu is quite a cut-down version of Ubuntu. In August to older versions of Windows 10. Thank you for this wonderful guide to WSL2 with the graphics. WSL, somehow, is almost instant. commands from the command line. Moreover, WSL 2 is around here but with lots of bugs. deb E: The package lists or status file could not be parsed or opened. 04 OS, then code should be like wsl --set-version Ubuntu-20. Notes• So I went through this entire thread as well as with no solution to my problem, which is slightly different: I am able to ping internet resources, such as google. Important: Install or then restart before attempting to install this package. Convert Ubuntu on WSL 1 to WSL 2. Step 4 — Set WSL 2 as your default version You can see your WSl version of your running Ubuntu by following command in PowerShell wsl -l -v the above command will show the as like the following image You will get version 1 as the running version. Install the 2004 update and follow the instructions to make that happen. Due to the nature of this publicly offered repository, cannot be guaranteed. Hopefully, MS will have rolled it out and we can ignore this blurb. You can use either the standalone Ubuntu shell for this or open one up in Windows Terminal. Be careful not to mistype or leave out any character in the command: dism. you can write a script to launch both wsl and the x terminal program in one go wsl genie -i. No integration with Windows at all: Pretty much the only way you can get files from Windows into the VM with traditional VM software is to share the drive across a Samba share. Requirements• Read our Support FAQ to find out the next steps. So, to get your Groovy Gorilla on you'll need to manually make the update. If the --set-default-version is not listed, it means that your OS doesn't support it and you need to update to version 1903, Build 18362 or higher. It's not a big deal but you will need to remember that if you're ever referring to Ubuntu in PowerShell, for example, you'll still have to refer to it as ubuntu-20. For me I just use a VPN which allows port forwarding and run the VPN from within my WSL. Open Source• Microsoft to some extent has solved the problem of developers and users who quickly want to use Linux on Windows 10 without using any Virtual Machine platforms such as VMware Player and Oracle VirtualBox. Incidentally, Symantec EP is according to themselves "not supported" for workloads that include running VM's in Hyper-V. Please if your build is lower than 18361. was dropped in switch D57EE459-57B6-4965-B86E-1906ABAECB70 Friendly Name: WSL , Reason VLAN Filtered My network port was slightly misconfigured and VLAN tagged packets were being sent to my system, but I had never noticed before because nothing connected to this switch port had ever cared before. Installing Fedora 32 on Surface Pro 4Getting The Surface Pro 4 to Boot From USBWhy Run Fedora 32 on Surface Pro? Or enter the ver command in Windows Command Prompt. The latest version of Ubuntu, Ubuntu 20. exe file and choose Properties. Several different distros are available, including OpenSUSE, Pengwin, Fedora Remix, and Alpine Linux. After this, the wsl --set-version command should work. To see your system configuration, go to settings from the start menu — choose the system — followed by About windows specifications are shown on the panel. I'm now wondering how it does work under the hood. XDMCP is just the most native feel though, which is why we use that. You still need to install the MSI Linux kernel update package. Installation Path This is a location, that linux persist file system information. Once the preview build is installed, you can open a command prompt window with administrator privileges and run wsl --install. From now whenever you start your Windows 10, the services running on WSL Distros will automatically get started. Please make sure that virtualization is enabled inside of your computer's BIOS. The only step left is to import this file as a new instance of Linux in WSL. I love the latest incarnations of the Gnome GUI. The symptom is, Xlaunch produces a black screen after responding to startup dialogs. But for now, just run the following command; genie -s Login Using VNC After a few seconds the Ubuntu WSL session will have initialised the graphical user interface and you can login with VNC. We need to reconfigure netplan to make this happen. Chocolatey Software is working harder than ever to provide solutions and resources for our customers and community. You've successfully installed and set up a Linux distribution that is completely integrated with your Windows operating system! Next, you have to set the version of your Ubuntu with the following Command syntax wsl --set-version example, if you are using Ubuntu-20. Do i have to just press X every time when i want to exit? Disadvantages of WSL2 for running Linux with a GUI on Surface Pro 4 Running graphical applications, particularly a full Linux desktop such as Gnome, is not easily setup. To switch to using LightDM instead of GDM use the following command; sudo dpkg-reconfigure lightdm Choose LightDM from the options and then choose OK. " Does this means that I can't simply power off the machine since it's under WSL? In WSL 1 as it has not been booted with init, thus so many commands are not possible to use. Nonetheless, I created it, then started genie; everything fired up as expected. I love using the Ubuntu Desktop on my Surface Pro 4 under WSL. I installed Wireshark and attached to the WSL vSwitch to see if I could diagnose the problem there and. Resolve it by installing the Linux kernel update MSI package in step 4 of these installation instructions. bat — I went with start-wsl-genie. d Here you will find a file, edit that: conf Add the following lines in it. You will need to allow it to accept connections on both the PRIVATE and PUBLIC networks. Genuine Windows Operating System• I have no NetNATs, have Windows AV, and disabled the firewall for testing. We need to setup VNC passwords for a few users to make sure everything runs smoothly. 2004 — which is the May 2020 update. I set mine to about half of available RAM — which on my Surface Pro 4 is 4Gigabytes. A computer with Hyper-V Virtualization support The Windows 10 May 2020 update was released in May 2020 obviously but not every device is able to upgrade right away. Step 3 - Enable Virtual Machine feature Before installing WSL 2, you must enable the Virtual Machine Platform optional feature. Links to Affiliated products are clearly marked. We do that using a standard text editor that comes with WSL2 and indeed Ubuntu. bashrc means I can create another account and play around with it before commiting. The fix is relatively simple, but bear in mind, although the desktop looks a LOT better, the performance is not quite as snappy. If you still hear nothing back, please follow the. MessageNumber DiagnosisTypes Timestamp TimeElapsed Source Destination Module Summary 502 None 2020-03-20T16:21:09. Enure that you have the Windows Subsystem for Linux enabled, and that you're using Windows Build version 18362 or higher. There are lots of cases that we need a different instance of Ubuntu with the different configuration on WSL, but by default, we could install one instance of each Linux Distribution on WSL via Microsoft store. Set WSL 2 as default• I ended up reinstalling my WSL Ubuntu installation after changing my mind and altering the tasks using Tasksel. 1, but I can't access them with wget or curl e. gz for example wsl --import Ubuntu-18. In this article Install Windows Subsystem for Linux Windows Subsystem for Linux has two different versions to choose between during the installation process. You can download VcXsrv for free at Install that software as per the instructions. So, we need to Connect To Host. If you change your mind and decide you want to remove specific tasks again, bad things seem to happen. Click the image to make it bigger if you want a closer look. But SystemD-Genie relies on DotNet framework — presumably to hook SystemD into WSL using Windows APIs. Just remember to make the guid value unique by changing a few letters around. With WSL RAM is allocated and freed as needed by the WSL system. Manually download Windows Subsystem for Linux distro packages• As well as of course, the developer s of VcXSrv itself. You can also try KDE Plamsa using a similar method! Before starting, it might be a good idea to open up the Command Reference in a new tab. But my personal recommendation is naturally Ubuntu 20. If you use a url, the comment will be flagged for moderation until you've been whitelisted. and do that for each WSL2 distro, and allow not to use bridge, and. Now, open Bash on Ubuntu or any other Linux distro you have installed in WSL. Requirements To install WSL 2 on Windows 10 you need the following things:• To solve this issue we must follow one of these ways:• Step 2: Unpack the contents of the ZIP archive to any folder you want. Before you begin This guide assumes you already have WSL enabled on your Windows 10 system and that you already have Ubuntu installed. If you do not see Windows version 18917 or higher, you have version 1. Troubleshooting If you can't get this to work, try. The following links will open the Microsoft store page for each distribution:• Ubuntu will set everything up to use LightDM instead. WSL 2• The crazy shows no sign of abating just yet as Microsoft plans to let users and leverage GPU-intensive tasks. 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 — 2 on Ubuntu 20. Next section will cover some Extras worth considering. In cases where actual malware is found, the packages are subject to removal. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo find "System Type". You can choose whichever option suites you best except Multiple Windows. I've rebooted about a million times. To enable WSL run this command in a PowerShell prompt with admin privileges: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux. Microsoft has made PowerToys open-source and available on The Shortcut Guide and File Explorer Preview Panes for SVG and Markdown previews are worth having a look into. There's no easy way to back this out without digging through the script. However, it is possible to apply Ubuntu's fonts and colors to the bash window, so it will look like a regular Ubuntu terminal. From the WSL shell prompt, run uname. The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. So, to be able to use a name instead of an IP address — and have that name automatically update whenever WSL2 changes the IP address internally, visit and install his little helper application. Tasksel provides an application that allows us to choose various tasks we might be using our Ubuntu installation for. I suspect it would be perfectly possible to do it with OpenVPN if you can play with port forwarding on the server end. Extract Linux Distribution Extension of the downloaded file is APPX but you can extract it with. Builds lower than 18362 do not support WSL 2. Chocolatey Pro provides from possible malware. Organizational Use If you are an organization using Chocolatey, we want your experience to be fully reliable. Fixing my network port to strip packets of VLAN tags fixed my issue and the hyper-v switches now work fine. Open the and select your favorite Linux distribution. WSL stands for Windows Subsystem for Linux, which initially, was limited to Ubuntu only. I finally found the underlying problem! conf setting to control what NIC WSL2 gets attached to. In this Linux distro profile, there should be a LocalState folder. After restarting, the Linux distribution Ubuntu by default completes installing and opens a Linux command line for you to begin using. You can choose any username and password you wish — they have no bearing on your Windows username. deb sudo apt update sudo apt install dotnet-runtime-3. exe in the same directory is worth switching the scaling properties to the same settings. EDIT: 04 Oct 2020 — Updated to include reference to Win-Kex from Kali. A prime example of this would be e-mail. That's it. You can disable the screensaver with gsettings set org. Failed to talk to init daemon. deb and this results in the error message Reading package lists… Error! Suspend and resume is problematic, though getting better• You can also just download the package and push it to a repository• Be sure to check the docs for the latest commands. Officially, the Ubuntu package you download from the Microsoft Store won't update to 20. I followed your guide successfully until the VcXsrv connection. You can adjust the settings to suit your requirements. I checked the genie man page and found no mention of this directory or config file. Note To use the new wsl --install command and skip steps 1-6 below, you need to join the and install a preview build of Windows 10 OS build 20262 or higher. Here are some small comments on my experience in following the directions. You should then get a nice Window up showing you the Ubuntu login screen as shown below…. WSL 2 requires an update to its kernel component. Port 5900 is the default VNC port so you may not need to specify it. To do this open the PowerShell tool as an Administrator and run the command below. —import This section show that you want to import new instance. appx packages to download to a folder of your choosing. Add full system call compatibility, i. Replace The Standard X server You do not need to do this if you plan on using XDMCP or anything using VcXsrv Normally, on a Linux machine, the X Server is the software platform that provides the graphical environment onto the display ie, the screen. I ran into this for much of today on 10. Make sure to include at least the desktop software of your choice — I chose Ubuntu Desktop.。

16

windows

12

Install multiple instance of same Linux Distribution on WSL

4

Install Ubuntu 20.04 On Windows 10 WSL » Build Your IT System By Yourself!

12

Install multiple instance of same Linux Distribution on WSL

。 。 。

12

Set up a GNOME desktop environment on WSL 2 · GitHub

。 。

10

Set up a GNOME desktop environment on WSL 2 · GitHub

。 。

Install Ubuntu 20.04 On Windows 10 WSL » Build Your IT System By Yourself!

8

How to upgrade to Ubuntu 20.10 in WSL on Windows 10

。 。 。

3