Windows 10: WSL problem

Discus and support WSL problem in Windows 10 Network and Sharing to solve the problem; Hi , I have a particular situation with my WSL installation: I have a windows 10 machine with WSl2 installed , in the WSL I have a webserver Now I... Discussion in 'Windows 10 Network and Sharing' started by Mahdi2020, Apr 14, 2021.

  1. Mahdi2020 Win User

    WSL problem


    Hi , I have a particular situation with my WSL installation:


    I have a windows 10 machine with WSl2 installed , in the WSL I have a webserver

    Now I connect to the machine with my account and startup the webserver in wsl and let my session open in order to let the webserver continue working.

    I know that wsl2 is per user installation and we cant share it with other windows users.

    Do you know a method to let this webserver in wsl continue working?

    I am in an environment with Active directory ,


    Thank you

    :)
     
    Mahdi2020, Apr 14, 2021
    #1

  2. WSL

    Version 2 of WSL uses a new lightweight utility virtual machine capability. To enable the lightweight virtual machine and WSL, you need to enable two Windows features: Virtual Machine Platform and Windows Subsystem for Linux.

    To enable these features via the user interface (UI), press the Windows key and enter Windows Features, then click on Turn Windows features on or off.
    When the Windows Features dialog appears, check the boxes for Virtual Machine Platform and Windows Subsystem for Linux.




    If you want to make version 2 the default for any Linux distros you install then run the following command:


    Code:
    Now you can install Linux distro from Microsoft Store it will be running version 2 of WSL.

    A distro can be converted between versions of WSL after installation. To achieve this, you use the wsl --set-version command.

    This command takes two arguments:

    • The name of the distro to update
    • The version to convert it to

    An example of converting the Ubuntu distro to version 2 is shown here:

    Code:
    Execute wsl --list --verbose versions of WSL installed distro.
     
    FreeBooter, Apr 14, 2021
    #2
  3. WSL in windows Store

    Actually, this is a consumer-oriented forum for general Windows 10 questions.

    As WSL concerns mostly developers and Enterprise, I suggest asking there.
     
    Sumit Dhiman2, Apr 14, 2021
    #3
  4. WSL problem

    WSL 2

    I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling
    etc etc lags...Please suggest me something to fix that so that i could use the new virtualization feature.
     
    Legend Hunter 3, Apr 14, 2021
    #4
Thema:

WSL problem

Loading...
  1. WSL problem - Similar Threads - WSL problem

  2. Wsl installation problem and msiexec problem on windows

    in Windows 10 Gaming
    Wsl installation problem and msiexec problem on windows: Iam not able to execute the any files or run the files on visual studios and ubuntu , showing castrotrophic failure https://answers.microsoft.com/en-us/windows/forum/all/wsl-installation-problem-and-msiexec-problem-on/dc6d9266-e940-4323-8cc7-e863731007ed
  3. Wsl installation problem and msiexec problem on windows

    in Windows 10 Software and Apps
    Wsl installation problem and msiexec problem on windows: Iam not able to execute the any files or run the files on visual studios and ubuntu , showing castrotrophic failure https://answers.microsoft.com/en-us/windows/forum/all/wsl-installation-problem-and-msiexec-problem-on/dc6d9266-e940-4323-8cc7-e863731007ed
  4. Having problems using WSL gui apps and GPU related stuff.

    in Windows 10 Gaming
    Having problems using WSL gui apps and GPU related stuff.: I have just installed and updated my WSL2. I am using windows 11 and i was just going through the documentation provided. Despite doing the same exact things i am gettin various errors and disfunctionalities. I have installed Ubuntu-24.04 distro and update&upgraded it...
  5. Having problems using WSL gui apps and GPU related stuff.

    in Windows 10 Software and Apps
    Having problems using WSL gui apps and GPU related stuff.: I have just installed and updated my WSL2. I am using windows 11 and i was just going through the documentation provided. Despite doing the same exact things i am gettin various errors and disfunctionalities. I have installed Ubuntu-24.04 distro and update&upgraded it...
  6. When I run WSL commant on PowerShell, then returns this problem, how I can resolve this

    in Windows 10 Network and Sharing
    When I run WSL commant on PowerShell, then returns this problem, how I can resolve this: Here is screenshot, when I run wsl https://answers.microsoft.com/en-us/windows/forum/all/when-i-run-wsl-commant-on-powershell-then-returns/d58b1eb2-d635-4511-b8e2-de60e53776af
  7. When I run WSL commant on PowerShell, then returns this problem, how I can resolve this

    in Windows 10 Gaming
    When I run WSL commant on PowerShell, then returns this problem, how I can resolve this: Here is screenshot, when I run wsl https://answers.microsoft.com/en-us/windows/forum/all/when-i-run-wsl-commant-on-powershell-then-returns/d58b1eb2-d635-4511-b8e2-de60e53776af
  8. When I run WSL commant on PowerShell, then returns this problem, how I can resolve this

    in Windows 10 Software and Apps
    When I run WSL commant on PowerShell, then returns this problem, how I can resolve this: Here is screenshot, when I run wsl https://answers.microsoft.com/en-us/windows/forum/all/when-i-run-wsl-commant-on-powershell-then-returns/d58b1eb2-d635-4511-b8e2-de60e53776af
  9. Problem on changing WSL directory

    in Windows 10 Gaming
    Problem on changing WSL directory: here are the commands i used.I don't know why i'm getting this error https://answers.microsoft.com/en-us/windows/forum/all/problem-on-changing-wsl-directory/c2b9998a-2378-451e-8ff1-67208dae625c
  10. Problem on changing WSL directory

    in Windows 10 Software and Apps
    Problem on changing WSL directory: here are the commands i used.I don't know why i'm getting this error https://answers.microsoft.com/en-us/windows/forum/all/problem-on-changing-wsl-directory/c2b9998a-2378-451e-8ff1-67208dae625c