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
2answers
23 views

How do I pass a path with spaces to WSL for Windows Terminal

I want to start WSL at a specific path /mnt/c/Users/My User/repos. We can do wsl.exe ~ for starting in the home directory, but I can't seem to pass a different path. I can wrap the path into an ...
1
vote
1answer
12 views

How to run vscode in WSL command line

I run code . in root, and WSL automatically installs need components and open VSCode, just as official guide said. Problem is, when I switch back to a non-root user (say, user papa), running code or ...
0
votes
0answers
9 views

How to customize Ubuntu Linux subsystem color scheme in auto complete

I have installed Ubuntu Linux subsystem on my Windows machine. I am using 'Windows Terminal' to access the Ubuntu Linux subsystem. And I have installed Oh-My-Zsh , powerline10K and zsh as my default ...
0
votes
1answer
45 views

How to update WSL?

I first installed WSL manually, but want to use a feature to access linux filesystems, and seems it will only work with Insiders. So I registered my account, went to "Windows Insiders Program&...
0
votes
1answer
53 views

mv: cannot move, Permission denied in WSL

I'm getting mv: cannot move, Permission denied error, but before claiming this is a dupe, please see what I've tried first: First of all, it has nothing to do with file or directory mode: $ mv -f ....
0
votes
1answer
23 views

Is it safe to run locate/updatedb on WSL Linux?

While I think using "locate" to search files on my disks (C: and externals) would be quite useful, I worry the likelihood using locate and/or (sudo) updatedb might cause some serious ...
0
votes
0answers
25 views

Is it possible to have an abbreviation in a shell anywhere in a command?

I have a directory which has a really long path. However, I use this directory constantly and I cannot move it (WSL Windows directory). I generally use z to jump around to it quickly which is useful, ...
-1
votes
1answer
35 views

Need help installing Windows 10 dev channel version 21390.1, getting error 0x800705aa, suggestions?

zThe system reboots fine, but the update is not installed listing the above error code. I have tried suggestions from various sites on potential remedies, but no luck so far. In particular, I have ...
0
votes
0answers
20 views

How do you create a new WSL instance?

I searched over a lot of articles on the internet and cannot find literally any about creating a new WSL instance from command line, wsl.exe. (what is happening.) I'm not asking wsl.exe --import, I'm ...
0
votes
1answer
111 views

How to start windowing system(in other words UI) of Ubuntu on WSL windows

I used to start the WSL Ubuntu UI(windowing system) from windows 10 machine. On the same machine it suddenly stopped working. What could be the reason and how to fix it? I am still able to get ...
2
votes
1answer
48 views

How does WSL manage GUI apps? Why do some work when others don't?

I have WSL + Ubuntu installed on my windows machine, with a few utilities installed. The following commands open up a GUI when executed from within my Ubuntu terminal: code . (opens up a vscode ...
1
vote
1answer
20 views

How to change the WSL bash sound / console host sound

Like many other people, I dislike the standard error sound that Windows makes when auto-complete fails or when return is hit on an empty line in the WSL bash. Info: Windows 10 Edu, WSL2 with Ubuntu 20....
0
votes
1answer
17 views

Access and run PHP project from Linux partition through WSL

I'm working on a PHP project in an Ubuntu 18.04 dual booted with Windows, I've been doing that for around 2 years, however, I'm needing windows quite a lot now in my studies for things like Excel, ...
1
vote
1answer
38 views

Where should we locate authorized_keys when we use Windows 10 OpenSSH server and WSL2?

I set up Windows 10's OpenSSH server to establish a ssh connection to WSL2's bash by a method described in this article: "THE EASY WAY how to SSH into Bash and WSL2 on Windows 10 from an external ...
0
votes
0answers
28 views

Bad GUI resolution WSL2

Today I updated to Windows Insider Preview 21387.1 and run wsl --update to use the new GUI feature of WSL2. (no extra software like VcXsrv or etc.) After restarting WSL, I could run GUI apps like ...
0
votes
0answers
36 views

Cannot access a mounted drive in WSL

I cannot access my E:/ drive suddenly on WSL, do not know why. When I try to change the directory to the E by cd /mnt/e, it does not suggest any further subfolders in that drive. Also the ls command ...
0
votes
0answers
34 views

Saving files from Windows to WSL1 Location

I am using Windows Subsystem for Linux 1 (WSL1). I have a git repo there where I develop and work on software projects. I also have MATLAB but it is installed on Windows (not on WSL1). I'd like to ...
0
votes
1answer
52 views

Optional features does not load

If I click these items: Start Settings Apps Optional features A Windows comes up that says "Optional features", but after about two seconds, the Window closes. I am trying to install some ...
0
votes
0answers
53 views

WSL 2 install on windows 10 Enterprise

I am trying to install WSL 2 on my windows 10 Enterprise x64 laptop. I think I have all the necessary updates and I am following this page: MSFT documentation. However, I am seeing the following error ...
0
votes
1answer
30 views

How to find guid of linux distro?

I was following this tutorial on how to setup wsl and zsh. I am at this step: I wanted WSL2 to be my main profile. You can achieve this by copying the guid value of your Linux distribution into ...
2
votes
1answer
154 views

Can't get GPU support for Docker with WSL2

Trying to run a GPU enabled container such as: docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark I get this error: docker: Error response from daemon: OCI runtime create ...
2
votes
0answers
271 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 - please see edits below- this has changed). I'm a Windows Insider user and ...
2
votes
0answers
21 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
77 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
28 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
34 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
148 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
39 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
34 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
46 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
44 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
144 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
59 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 ...
0
votes
1answer
23 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
175 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
68 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
92 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
15 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
39 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
89 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
22 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
183 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
16 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
24 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
98 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
271 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
107 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
211 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
187 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 ...

1
2 3 4 5
21