Skip to content

WSL2 hangs on launch #5756

Closed
Closed

Description

Environment

# Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]

~ $ [Environment]::OSVersion

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.20185.0 Microsoft Windows NT 10.0.20185.0


# Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]

can't launch wsl

Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

can't launch wsl

Steps to reproduce

Expected behavior

launch wsl2 without drama or ceremony. make it just work.

Actual behavior

doesn't work. hangs. wastes my time.

~ $ wsl -l
Windows Subsystem for Linux Distributions:
Alpine (Default)
Ubuntu-20.04
Debian

Suggestion [4,General]: The most similar commands are: h, H:, %, ?, cp, cd, md, ll, fl, ft.
~ $ alpine
The I/O operation has been aborted because of either a thread exit or an application request.

image

Activity

  1. therealkenc commented on Aug 14, 2020

    @therealkenc

    What does wsl -l -v return.

  2. airtonix commented on Aug 14, 2020

    @airtonix
    Author
    ~ $ wsl -l -v
      NAME            STATE           VERSION
    * Alpine          Stopped         1
      Ubuntu-20.04    Stopped         1
      Debian          Stopped         1
    
  3. airtonix commented on Aug 14, 2020

    @airtonix
    Author

    i think this has to do with my $env:Path is too long. if i reduce it to the wsl.exe path then i can launch. i can't test it now because i forget where the wsl.exe is in order to accurately reduce the $env:Path to just where wsl.exe is

  4. therealkenc commented on Aug 14, 2020

    @therealkenc

    /dupe #5633. You'll be good next roll.

  5. ghost closed this as completedon Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions