Skip to content

WSL: Problems connecting with zsh #77

Closed

Description

  • VSCode Version: 1.34.0-insider
  • OS Version: Windows_NT x64 10.0.16299

Steps to Reproduce:

  1. Follow the guide here #63155 in order to install insider, remote development and remote wsl for the insider version of VS code
  2. from cmd: >wsl
  3. from wsl: $ cd to/place/where/there/is/code
  4. $ code-insiders . (insiders opens up as expected)
  5. Click on Remote-WSL: New Window. This hangs for about a minute and I get the error shown in the figure below.

image

Has anyone seen a similar error? Or have some suggestions to resolve this?
I already tried running cmd as administrator with the same result.

Activity

  1. nc-dtan commented on May 3, 2019

    @nc-dtan
    Author

    It seems my .bashrc was the problem. Due to laziness I have added zsh ad the top of my .bashrc. When I commented this line and tried the above steps again (4 and 5) it worked.

  2. a2975667 commented on May 3, 2019

    @a2975667

    Not sure if its the same issue #27

  3. wsargent commented on May 4, 2019

    @wsargent

    Same: if I comment out exec zsh from .bashrc then VS Code comes up.

  4. added
    wsl
    on May 6, 2019
  5. changed the title [-]Not connecting to remote-wsl[/-] [+]WSL: Problems connecting with zsh[/+] on May 6, 2019
  6. aeschli commented on May 6, 2019

    @aeschli
    Contributor

    duplicate of #27

  7. locked and limited conversation to collaborators on Jun 20, 2019
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

    wsl

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions