Windows 10: confusion after WSL1 to WSL2 upgrade

Discus and support confusion after WSL1 to WSL2 upgrade in Windows 10 Network and Sharing to solve the problem; I ran through the Msft docs for updating from WSL1 to WSL2, including updating the WSL2 linux kernel. No problems, worked just like the guide.... Discussion in 'Windows 10 Network and Sharing' started by SolderFace, Jun 30, 2020.

  1. confusion after WSL1 to WSL2 upgrade


    I ran through the Msft docs for updating from WSL1 to WSL2, including updating the WSL2 linux kernel. No problems, worked just like the guide.


    Then I ran into this strangeness. If I open Powershell and type bash, and type wsl.exe -l -v, it says Ubuntu, Running 2.

    If I open the Ubuntu app from the store, it says Ubuntu, Running 1.


    Why are they different?


    And one more thing... in the wsl2 powershell/bash window, if I type explorer.exe I get the \\wsl$\Ubuntu\home\me directory. If I put files in there they do not appear in the wsl2 home directory! Talk about catch-22. I finally get a wsl2 window running and I cant put my files in it. If you look at the dates of the .bashrc and other stuff, they are different in both windows. Different locations. Explorer shows the wsl1 directory, but not the other.


    I hope you get my dilemma and can help, thanks.

    confusion after WSL1 to WSL2 upgrade [​IMG]

    :)
     
    SolderFace, Jun 30, 2020
    #1
  2. Brink Win User

    WSL2 will be generally available in Windows 10 version 2004

    Source: https://devblogs.microsoft.com/comma...-version-2004/


     
    Brink, Jun 30, 2020
    #2
  3. jimbo45 Win User
    New Windows 10 Insider Preview Fast+Skip Build 18980 (20H1) - Sept. 11 Insider

    Hi folks

    WSL2 breaks running any GUI programs you had working with WSL1 -- seen some suggestions on Google but I'll wait until some more people have played with it -- seems there's a problem with accessing the display properly due to generated IP addresses -- but I'm not fiddling with that any more.

    Running Ubuntu LTS on WSL1 with lightweight LXDE desktop works - some GUI programs run as they do if you install the KDE desktop.

    WSL2 breaks the whole kybosh -- but for running command line scripts and non GUI executables it seems fine (WSL2) . You need to install an X-server on windows and use the XLaunch icon on your desktop before starting the Linux GUI -- also you'll need to export DISPLAY=0:0 before using your command on wsl to launch the GUI e.g startlxde. (Lxde is s super dooper lightweight desktop gui which is good for testing if the thing works --you can install more heavyweight stuff once you've got the X-Server working properly.

    OK WSL isn't meant to be a complete Linux desktop distro or a fully endowed virtual machine - but what's wrong in testing these things to their limits !!!!

    What is nice is you can reset or switch your Linux distro to WSL1 or WSL2 back and forth without having to re-install your distro -- you can also set the default WSL level -- I'd keep the default at 1 until WSL2 is a bit more commonly used -- most things (non GUI) that work on WSL1 will probably work on WSL2 -- file manager is good on WSL2 and you can natively access Linux file systems (with long file names too !!!!!) over a LAN or even attached to the Windows machine. The Windows machine is simply another server as far as WSL2 is concerned.

    Cheers
    jimbo
     
    jimbo45, Jun 30, 2020
    #3
  4. confusion after WSL1 to WSL2 upgrade

    Bill Smithers, Jun 30, 2020
    #4
Thema:

confusion after WSL1 to WSL2 upgrade

Loading...
  1. confusion after WSL1 to WSL2 upgrade - Similar Threads - confusion WSL1 WSL2

  2. Can't change WSL1 to WSL2

    in Windows 10 Gaming
    Can't change WSL1 to WSL2: These past couple of days I've bene trying to install Kali Linux on Windows 10 using WSL. However, whatever I do I just get the same error: Error: 0x80041002.I've done some research on what to do and here's the full list of what I've done so far:Clearing Lxss registry key....
  3. Can't change WSL1 to WSL2

    in Windows 10 Software and Apps
    Can't change WSL1 to WSL2: These past couple of days I've bene trying to install Kali Linux on Windows 10 using WSL. However, whatever I do I just get the same error: Error: 0x80041002.I've done some research on what to do and here's the full list of what I've done so far:Clearing Lxss registry key....
  4. Can't change WSL1 to WSL2

    in Microsoft Windows 10 Store
    Can't change WSL1 to WSL2: These past couple of days I've bene trying to install Kali Linux on Windows 10 using WSL. However, whatever I do I just get the same error: Error: 0x80041002.I've done some research on what to do and here's the full list of what I've done so far:Clearing Lxss registry key....
  5. WSL2 - Upgrade / Installation

    in Windows 10 Software and Apps
    WSL2 - Upgrade / Installation: When trying to upgrade to wsl2 I get this error: ``` Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2The request is not supported. ``` When trying to install from scratch I get this error:```...
  6. WSL2 - Upgrade / Installation

    in Windows 10 Gaming
    WSL2 - Upgrade / Installation: When trying to upgrade to wsl2 I get this error: ``` Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2The request is not supported. ``` When trying to install from scratch I get this error:```...
  7. WSL2 - Upgrade / Installation

    in Windows 10 Customization
    WSL2 - Upgrade / Installation: When trying to upgrade to wsl2 I get this error: ``` Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2The request is not supported. ``` When trying to install from scratch I get this error:```...
  8. Confused after upgrading to pro

    in Windows 10 Ask Insider
    Confused after upgrading to pro: I was upgrading from home to a pro edition. After doing a clean install of windows pro from a bootable media, it seems like the license is already activated even though I did not enter a pro product key. This is on a pc that was bought new with windows home installed from the...
  9. How to set Linux Distribution version to WSL1 or WSL2 in Windows 10

    in Windows 10 News
    How to set Linux Distribution version to WSL1 or WSL2 in Windows 10: [ATTACH]When you have Windows Subsystem for Linux (WSL) enabled, you can install Linux distribution apps […] This article How to set Linux Distribution version to WSL1 or WSL2 in Windows 10 first appeared on TheWindowsClub.com. read more...
  10. Weird SSH issue with WSL2 and WSL1

    in Windows 10 Customization
    Weird SSH issue with WSL2 and WSL1: Hello all, So this is something that has been bugging me for a while now. I have this situation where I connect using SSH: My_Computer --SSH-> ServerA --SSH-> ServerB The connection to ServerA is done with public key auth, and the connection from ServerA to ServerB is...