question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hyper can't handle WSL at all on Windows 10

See original GitHub issue
  • Your Hyper.app version is 3.1.2. Please verify your using the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

  • Any relevant information from devtools? (CMD+OPTION+I on macOS, CTRL+SHIFT+I elsewhere):

N/A

  • Is the issue reproducible in vanilla Hyper.app?

Yes

Issue

Latest Windows 10. WSL installed and configured with Fedora Remix, or Ubuntu (Doesn’t matter). Configure Hyper to run WSL. No matter what I choose for the “Shell:” field in the config, it won’t work. Yes, I saved the file. No, I am not getting any error messages, but all the time, Hyper only knows to open CMD and NOTHING else. My Windows “Users” folder is located on a different partition (not C:), if this helps.


  • Hyper version: undefined “3.1.2”
  • OS ARCH VERSION: win32 x64 10.0.19043
  • Electron: 13.1.7 LANG: undefined
  • SHELL: undefined TERM: undefined
.hyper.js contents
{
  "updateChannel": "stable",
  "fontSize": 12,
  "fontFamily": "Menlo, \"DejaVu Sans Mono\", Consolas, \"Lucida Console\", monospace",
  "fontWeight": "normal",
  "fontWeightBold": "bold",
  "lineHeight": 1,
  "letterSpacing": 0,
  "cursorColor": "rgba(248,28,229,0.8)",
  "cursorAccentColor": "#000",
  "cursorShape": "BLOCK",
  "cursorBlink": false,
  "foregroundColor": "#fff",
  "backgroundColor": "#000",
  "selectionColor": "rgba(248,28,229,0.3)",
  "borderColor": "#333",
  "css": "",
  "termCSS": "",
  "workingDirectory": "",
  "showHamburgerMenu": "",
  "showWindowControls": "",
  "padding": "12px 14px",
  "colors": {
    "black": "#000000",
    "red": "#C51E14",
    "green": "#1DC121",
    "yellow": "#C7C329",
    "blue": "#0A2FC4",
    "magenta": "#C839C5",
    "cyan": "#20C5C6",
    "white": "#C7C7C7",
    "lightBlack": "#686868",
    "lightRed": "#FD6F6B",
    "lightGreen": "#67F86F",
    "lightYellow": "#FFFA72",
    "lightBlue": "#6A76FB",
    "lightMagenta": "#FD7CFC",
    "lightCyan": "#68FDFE",
    "lightWhite": "#FFFFFF",
    "limeGreen": "#32CD32",
    "lightCoral": "#F08080"
  },
  "shell": "C:\\Windows\\System32\\wsl.exe",
  "shellArgs": [
    "--login"
  ],
  "env": {},
  "bell": "SOUND",
  "copyOnSelect": false,
  "defaultSSHApp": true,
  "quickEdit": false,
  "macOptionSelectionMode": "vertical",
  "webGLRenderer": true,
  "webLinksActivationKey": "",
  "disableLigatures": false,
  "disableAutoUpdates": false
}
plugins
{
  "plugins": [],
  "localPlugins": []
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
LabhanshAgrawalcommented, Aug 25, 2021

You’re welcome. To be able to use wsl.exe directly, I think you need to set the default distro.

1reaction
LabhanshAgrawalcommented, Aug 25, 2021

Use shellArgs: ["-d", "fedoraremix"]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Windows Subsystem for Linux | Microsoft Learn
This is likely because your machine has not yet taken the backport for WSL 2. The simplest way to resolve this is by...
Read more >
Is Hyper-V necessary or not for WSL2? Can it be activated on ...
No, for WSL2 you only need "Virtual Machine Platform" (a subset of Hyper-V) and "Windows Subsystem for Linux" features, both available in Home ......
Read more >
How to Install WSL 2 on Windows 10 (Updated) - OMG! Ubuntu!
WSL 2 requires Windows 10's “Virtual Machine Platform” feature to be enabled. This is separate from Hyper-V and hands some of the more ......
Read more >
WSL2: The Complete Guide for Windows 10 & 11 - SitePoint
This tutorial demonstrates how to install, manage, and use a full Linux environment on your Windows 10 or Windows 11 PC with WSL2....
Read more >
How To Install the Windows Subsystem for Linux 2 on ...
For example, if you are installing the WSL on a virtualized Windows 10 that is running in Hyper-V named MyWSL you will need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found