Questions tagged [windows-subsystem-for-linux]

Windows Subsystem for Linux (WSL) is a compatibility layer that allows Linux ELF64 binaries to run natively on Windows 10

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

WSL 2 cannot see NVIDIA GPU drivers

I have Windows 10 along with Ubuntu 20.04.01 GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 installed (latest for WSL2). I'm a Windows Insider user and my Win10 distribution is Dev 21376.1 (as ...
1
vote
0answers
14 views

How can I directly SSH into the WSL on my Windows 10 machine from another machine (a Mac) on my network?

The IP of my Windows 10 machine is 192.168.3.108 and the IP of my Mac is 192.168.3.100. WSL on my Windows 10 gives this, running SSHD: >wsl hostname -I 172.29.152.15 How can I directly SSH into ...
0
votes
0answers
33 views

Cannot start Hyper-V Host Compute Service

I'm trying to install Docker with WSL 2 on my Windows 10 machine. I thought it was fairly simple but two days later I'm still struggling to make it work. I've tracked the problem from not being able ...
1
vote
1answer
21 views

Locating WSL 2 files on a seperate Windows installation

I've got a drive with an old install of Windows + WSL 2. I want to back up the WSL filesystem, but I can't find the files. For some reason, the only file in D:\wsl$\ is D:\wsl$\Arch\home\username\.ssh\...
0
votes
1answer
17 views

.local/bin' which is not on PATH. Linux subsystem for Windows

in Windows/Linux subsystem/ubuntu/windows power shell/bash: pip3 install --upgrade pip ok but: WARNING: The scripts pip, pip3 and pip3.8 are installed in '/home/chills/.local/bin' which is not on PATH....
1
vote
0answers
22 views

WSL2 network unreachable for any distro

A couple of weeks ago, WSL suddenly could not reach any IP addresses nor resolve any domains. Even internal network IPs are not reachable. >lsb_release -a Distributor ID: Ubuntu Description: ...
0
votes
1answer
22 views

WSL2 boots up as root without password

Hi I have 2 problems with my WSL2 first of all, it always runs as root and the second problem that I have is that it runs without any password. so here are my questions: 1- how to change my default ...
0
votes
1answer
23 views

Ubuntu 20.04 not appearing in wsl.exe -l on Windows but is within Ubuntu

I'm trying to get Ubuntu 20.04 working with WSL2 on Windows 10 Home (10.0.19041 Build 19041) and so set the version to v2 for use with Docker Desktop. I've set wsl --set-default-version 2 prior to ...
0
votes
0answers
43 views

Windows 10 WSL over Remote PowerShell or SSH

When logged into a Windows 10 computer directly, WSL-2 works without any issue. I can simply run wsl from PowerShell, both elevated and not elevated. The prompt simply changes to the Linux prompt. ...
0
votes
0answers
22 views

SSH permission denied (publickey,gssapi-keyex,gssapi-with-mic)

I'm not sure why I'm getting a permission denied error. Can anyone help me understand my log below? I'm using Windows Subsystem for Linux with an Ubunutu distro. I used ssh-keygen to generate my keys ...
0
votes
1answer
66 views

ssh into WSL2 works on only some IP addresses

On Win10, in WSL 2 running Ubuntu 20, I've installed sshd running on a port different from 22, namely 2222. To the firewall I've added an incoming rule for TCP port 2222. From the windows command ...
0
votes
0answers
14 views

WSL2 Ubuntu forward service running on IP other than localhost

I just recently configured WSL2 on my Windows to run Ubuntu 20.04. I have a service running in Ubuntu in an IP other than localhost (lets say its on 172.25.0.2:8888). I need to connect to that service ...
-2
votes
0answers
30 views

Visual Studio Code [WSL] Unable To Find & Open

I'm using Visual Studio code with WSL to edit code in my WSL. I was unable to edit one single file. I found a person saying executing sudo chown -R sam /var/www/* & sudo chown -R sam /var/www/html/...
0
votes
1answer
19 views

rsync Not Immediately Showing Progress

When I run a rsync command on an Ubuntu 20.04 machine to transfer some files to a WSL1 system running on a Windows 10 machine, the transfer progress is not always shown immediately despite using the -...
0
votes
1answer
48 views

Windows Subsystem for Linux has no installed distributions for local administrator

I have successfully installed WSL 2 and Ubuntu on my windows machine. If I start PowerShell and type bash it successfully starts bash. However if I run PowerShell as Administrator and type bash I get ...
0
votes
2answers
55 views

SSH not working on windows bash?

I am using windows 10 Pro. Using bash shell there. When I type SSH command it says MINGW64 ~ $ ssh bash: ssh: command not found My understanding bash will be able to execute all linux commands. Isn't ...
0
votes
0answers
42 views

ssh from WSL2 to WSL2 error: kex_exchange_identification: Connection closed by host

I am having a persistent problem trying to ssh from WSL2 on pc1 to WSL2 on pc2, both running Ubuntu 20.04 LTS. I did manage to get it working from pc2 to pc1. The steps I took (on both PCs): Add port ...
0
votes
1answer
13 views

wsl2 ip mismatches wsl2 adapter?

This has never happened but suddenly I'm not able to access server running on localhost in wsl2. Looking deeper I see that IPs are different wsl hostname -I 192.168.40.75 ipconfig Ethernet adapter ...
0
votes
0answers
25 views

How to resolve WSL2 port conflict with windows services?

I am on Windows 10 20H2 (Build 19042.867). I also using WSL2 with Ubuntu 20.04 LTS. Recently, after upgrading to SSD, I have a problem entering WSL2 with the following error: wsl error 0xfffffff press ...
1
vote
1answer
49 views

How can I open WSL terminal with a command without it automatically closing?

I'm running Ubuntu with WSL1, and I want to make different shortcuts in Windows to run different commands on WSL startup, e.g., one to automatically start an SSH session, another to change to a ...
1
vote
1answer
18 views

If you run MiniDLNA on Ubuntu Subsystem of Windows should the service run as normal?

I'm trying to run MiniDLNA (ReadyMedia) on my Ubuntu Subsystem for Windows 10, and I've setup my conf file and checked the status of the service and it looks like it's running. But when I try to look ...
0
votes
1answer
65 views

Windows 10 WSL: mount creates 9p filesystem instead of drvfs

I want to mount my Windows C: Drive to /mnt/c in WSL as a drvfs file system, but if I specify drvfs as the file system type I get a 9p filesystem instead. I entered these commands: $ sudo umount /mnt/...
0
votes
0answers
10 views

WSL mount binds spontaneously disappearing

I'm having trouble with several mount binds disappearing. My fstab looks like this: LABEL=cloudimg-rootfs / ext4 defaults 0 0 /mnt/c/Users/thc/CloudDrive/ /home/thc/CloudDrive/ ...
1
vote
0answers
20 views

Exposing local api inside WSL to physical devices and emulators

I'm working on a react native app from a windows 10 computer. I installed WSL, set up my backend needs on it, and I can see my api responding on localhost from windows, no problem on that end. Now I ...
0
votes
2answers
52 views

WSL for linux where are files stored

I have been using Windows Subsystem for Linux (WSL) and when I create a file in the home directory of WSL, where does it actually exist in file explorer, also, since my C: drive is in /mnt/c/ does ...
1
vote
0answers
241 views

WSL on Windows 10 - localhost works, 127.0.0.1 doesn't (and is not my local IP)

I'm in the middle of setting up WSL on Windows to work on PHP stuff with my PHPStorm. Started the config, and installed Apache and PHP. To check, I'm opening my browser on localhost, it works, but on ...
0
votes
1answer
86 views

Akamai EAA with WSL - no DNS resolution

The company I work for is using Akamai Enterprise Application Access (EAA) instead of a traditional VPN. When using WSL 2 in Windows, no hostnames are getting resovled via DNS. The contents of the ...
1
vote
0answers
117 views

Windows 10: cannot run WSL (Ubuntu, Alpine, Docker)

On my laptop (Dell Latitude 5590, Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz[Cores 4] [Logical processors 8], BIOS v 1.16.0), running Windows 10 (10.0.19042), I cannot start Ubuntu any more, nor start ...
0
votes
1answer
83 views

How to specify startup directory for WSL (Ubuntu) in ConEmu in Windows 10

I have installed WSL2 with Windows 10 and downloaded and set up Ubuntu successfully. I have installed and set up ConEmu terminal to run Ubuntu successfully. But ConEmu opens Ubuntu in C:\Users\MyUsers ...
0
votes
1answer
19 views

How to access commands which was set in path variable linux terminal?

I installed ubuntu subsystem for my windows 10 pc and before I installed the ubuntu subsystem, I edited my path variable on windows 10 and added to it some apps like vs code and notepad++ so I could ...
0
votes
0answers
21 views

WSL fails to upgrade distro from verseion 1 to version 2

I am having some problems upgrading WSL images from WSL1 to WSL2. I have been trying to upgrade a kali image which is on version 1: When I try to change the version with wsl --set-version kali-linux ...
0
votes
0answers
8 views

Can't change font for GTK based apps like Mousepad, Meld, etc

I can't change font for GTK based apps like Mousepad, Meld, etc -- the option of "uses system font" cannot be ticked off, and I don't know where/how to set system font either. This only ...
2
votes
1answer
69 views

How to use Fedora in WSL

In WSL, the only available option is Ubuntu. However, if I want to use a Fedora what should I do. I understand the question had already been asked Here but that was years ago. Any information would go ...
1
vote
1answer
48 views

How to increase output buffer size in Windows command line window?

I am working with xv6 in WSL of Windows 10. After running make && make qemu-nox and quitting immediately from qemu, I need to check the output of make. But most lines of the output of make ...
2
votes
1answer
150 views

What is view-only password?

I tried to change my password for Win-Kex. But it ask me for view-only password. What is view-only password? What is the purpose of this password. ┌──(sanniddha㉿DESKTOP-TG86V73)-[~] └─$ kex --passwd ...
0
votes
0answers
53 views

Internet is not available in Win-Kex on WSL

I was installed Kali Linux's Win-KeX desktop environment on WSL 2. I followed the steps mention in Kali Documentation. But after install, when I open the Kali Linux GUI, internet was not connected but ...
-3
votes
1answer
52 views

Open Ubuntu GUI's in windows 10 [duplicate]

I just started experimenting with Linux, and wsl2 seems like a great option to do so, and still keep Windows 10. I know for sure I can install programs (since I decided to test it with the Minecraft ...
0
votes
1answer
30 views

WSL: No network whatsoever

I have WSL2 and it was working fine, then seemingly overnight it has no network access. ifconfig returns nothing (blank line) I have now uninstalled and reinstalled it (20.04) and I have the same ...
1
vote
1answer
205 views

How can I enable the Ubuntu windows store app for all users on my computer?

So I have two user accounts on my computer, one that's personal and one that's for work. I’ve noticed that after installing Ubuntu from the Windows store on my work account, I can’t access Ubuntu from ...
1
vote
1answer
56 views

Windows Defender Flagging WSL As Threat

Something annoying that has started each time I open up Windows Subsystem for Linux 1 (WSL1) is that I get the following notification from Windows Defender (I'm using Windows 10). It says a threat was ...
1
vote
2answers
63 views

Cannot install Ubuntu 20.04 on WSL2

I'm trying to install Ubuntu 20.04 on WSL but I keep getting WslRegisterDistribution failed with error: 0x80370102. Now I've seen other threads addressing this error before and the suggestion is to ...
0
votes
0answers
23 views

WSL export returning error while exporting docker-desktop-data

I am trying to free some space on my C driver by moving Docker For Desktop images and data to another driver. I've found out, that due to me using wsl2 compability I cannot simply move directory ...
1
vote
0answers
66 views

WSL2 trying to launch VSCode with code . results in error “Please install missing certificates.”

I'm trying to launch VS Code from WSL2 using the command code ., the command spots that there is an update available for VS Code server and tries downloading it, however the download fails with a ...
0
votes
1answer
302 views

WSL Ubuntu bash: The operation timed out because a response was not received from the virtual machine or container

I'm on Windows 10 Pro 10.0.21337 (windows insider program) and installed WSL with Ubuntu and Windows Terminal. After a firmware update the ubuntu bash wouldn't start anymore. In a cmd.exe the response ...
1
vote
2answers
56 views

Windows Terminal no longer lists Ubuntu bash

I'm on Windows 10 Pro 10.0.21337 (windows insider program) and installed WSL and Windows Terminal which listed powershell, cmd.exe, Ubuntu bash and azure as profiles. I made the Ubuntu bash the ...
0
votes
0answers
356 views

No internet connectivity from WSL2 / Ubuntu or Kali linux

I am having connection problems, when I try to ping (to 8.8.8.8 for example) from Ubuntu or from Kali linux the following appears: 4 packets transmitted, 0 received, 100% packet loss, time 1071ms I ...
0
votes
1answer
229 views

Why does my bash script not cd correctly?

I'm using Windows Subsystem for Linux, and learning the terminal. I want to open applications on my desktop with the terminal, so I decided to make a bash script to cd to the .exe file and run it. ...
0
votes
1answer
35 views

Ubuntu 18 not launching in WSL2 [duplicate]

I am just starting with WSL2, installed everything as per: https://docs.microsoft.com/en-us/windows/wsl/install-win10 Ran the Ubuntu 18.04 in my windows, everything looked good. I tried to access the ...
1
vote
2answers
98 views

Is it possible to open Windows applications from inside a Windows subsystem for Linux terminal?

So, recently I downloaded an Ubuntu installation of Linux for Windows since I wanted to learn how to use a bash shell. I've been enjoying it so far, but was wondering if there was a way to do the ...
0
votes
1answer
2k views

Bash on Windows 10 does nothing and goes back to command prompt

Just today bash on my Windows 10 machine has completely stopped working. Running bash from the command prompt results in about a one second pause, and then returns immediately back to the command ...

1
2 3 4 5
21