Category "windows-subsystem-for-linux"

How to run react native on WSL with android emulator on Windows

I have a react native expo project on WSL2 and I need to run it on an android emulator on Windows, and I am also willing to run the project using yarn start. Ho

How to use WSL as default terminal in WebStorm or any other JetBrains' products?

I am currently using Windows 10 with WSL Ubuntu 18.04 installed. I am trying to use WSL as the default terminal in WebStorm however, I am able to use the bash f

How to open a file in vscode under wsl using the vscode:// url?

I would like to open a file in vscode under WSL (Windows Subsystem Linux) using the vscode:// url. You can do it with a normal file in the usual filesystem vsc

WSL-2 DNS is not working with VPN connection on Win 10 [closed]

I have WSL Version 2 running on my Windows 10 Laptop. I'm using the WSL distribution Ubuntu-20.04. When I connect to a VPN network domain name

Installing NPM/Node on Bash on Ubuntu on Windows (WSL). What architecture does Ubuntu/Bash use?

I'm using Bash on Ubuntu on Windows as the command line tool. I need to install Node and NPM, and on the download page for unix I need to choose between 5 dif

how to configure Vscode to debug Python using WSL?

I found the configuration for cpp (https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/Debugger/gdb/Windows%20Subsystem%20for%20Linux.md) and

WSL, Running linux commands with "wsl --exec <cmd>" or "wsl -- <cmd>"

wsl -h shows the following: --exec, -e <CommandLine> Execute the specified command without using the default Linux shell. -- Pass the remainin

How to solve "bash: vendor/bin/grumphp: Permission denied" in WSL 2?

docker-compose my-app up -d && docker-compose my-app exec app bash, then vendor/bin/grumphp run worked when my project was on Windows filesystem. Then I

Windows Terminal profile not showing up

I've just installed WSL2 and am using the Windows Terminal on Win10 1909 (18363.1256). I'm trying to set up 2 different profiles, one that launches a local WSL2

WSL2 stopped working with error The system cannot find the path specified

WSL2 stopped working suddenly. If I do a new installation of linux distros. Then it throws the following error, when I click launch button for the linux distro

Unable to start Docker in WSL2 using new Windows Terminal

I have recently installed WSL2 and installed Ubuntu from Microsoft Store.When i run docker using Sudo service docker start, i get below message Cannot connec

System.Invalid**: Failed to deploy distro docker-desktop to C:\Users\**\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

Windows 11 Build : 22000.527 Image : Screenshot Windows Subsystem for Linux : Checked Hyper-V : Checked System.InvalidOperationException: Failed to deploy distr

How can I raise the limit for open files in Ubuntu 20.04 on WSL2?

My setup looks as follows: Windows 10, Release 1909 (Build 18363.1082), using WSL2 with an Ubuntu 20.04 environment. Everything works nicely most of the time, b

Docker not starting on Windows 11 with WSL 2

I'm trying to setup docker with WSL 2 to run a Dockerfile. I downloaded Docker Desktop, and when I tried to follow the quick start guide, I got the following er

Can't commit to github remote via ssh after installing zsh

I had SSH key paired with my Win10 machine and Github account, and it's was working on Bash, but today I installed ZSH (oh-my-zsh) via WSL, and now when I'm try

Can't seem to get MySQL to start in Docker Container

I'm trying to get MySQL to run in a Docker Container under Windows 10 WSL 2. I attempted to start the container with this command: docker run -d --name mysql -

PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version, has anyone seen this before

/home/user/.local/lib/python3.8/site-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be sup

Trouble using python/brownie in WSL

I'm trying to complete the simple collectible NFT tutorial from this freeCodeCamp video. (I'm getting stuck on the script that starts exactly where the link is

WSL2 (docker) ports are not openend on host

When I run an image through docker in WSL2, the ports are not published on the host machine. Why is this? What can I do to make this work?

"pip3 list" not showing any output on terminal when using WSL

Tried to do a pip3 install virtualenv and found that there are no outputs and have left the terminal to run for quite some time. Have to do a manual interruptio