Questions tagged [windows-subsystem-for-linux]

Windows Subsystem for Linux (WSL) is a Windows feature that allows multiple Linux distributions and tools to run natively on Windows 10 and later.

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

What are the default values for opening links in WSL?

On a fresh WSL install, when running open . : Windows File Explorer will open open https://example.com: My default Windows browser in will open. However, I believe after I installed Lynx, this ...
RVRX's user avatar
  • 101
0 votes
1 answer
73 views

Rendering artifacts with GUI application in WSL

I see the following artifacts when moving the mouse over Linux applications running in WSL: The system is a Thinkpad T470 (Intel Core i5-7300U CPU, integrated graphics). The installation ISO was ...
Thomas W.'s user avatar
  • 424
0 votes
1 answer
37 views

How to Update Plaso

I have been trying to Google but to no avail. May I ask this community how to update my plaso on an Ubuntu/WSL? I have tried the below: https://plaso.readthedocs.io/en/latest/sources/user/Ubuntu-...
Origami's user avatar
  • 21
1 vote
1 answer
29 views

X11 forwarding from a remote Linux server to a WSL2 desktop

I need to run GUIs from a Linux server (which I do not have sudo for) for work. Being on a Windows 11 computer, I set up a WSL with Ubuntu-22.04, and succesfully followed these steps to display Linux ...
nastypigeon's user avatar
-1 votes
1 answer
39 views

What’s the command prompt to update Ubuntu 20.04 6 LTS

I’m working with Windows 11 Pro in a virtual environment in the windows subsystem for Linux using Ubuntu 20.04 6 LST, all the command I have tried had not worked. To update my Linux shell for bash. It ...
Beverly Jones's user avatar
0 votes
0 answers
39 views

WSL2 unable to connect to IP address (not DNS) on Cisco Anyconnect VPN

Preface: This is not a DNS issue. I am working with explicit IP addresses here and cannot make connections. There are a lot of questions for my same situation but involving DNS resolution. I have ...
user184190's user avatar
0 votes
1 answer
18 views

.bashrc PS1: \w for WSL

I'm using Debian on WSL. However I mostly work in the Windows path. Currently my PS1 in .bashrc looks like this: PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;34m\]\w\[...
Nikolar's user avatar
0 votes
1 answer
89 views

WSL: The GUI linux app opens funny in WSL

When I open IntelliJ from WSL Ubuntu it does not render correctly and is displaced like the image below. How to fix it? (Sometimes it opens normally).
Handsome Nerd's user avatar
0 votes
1 answer
68 views

CUDA Installation on WSL Environment Taking Unusually Long

So I want to install CUDA on a WSL Ubuntu environment so I can run TensorFlow on my GPU. Since TensorFlow only supports up to version 11.8, I used the commands from the following tutorial. On the very ...
shan's user avatar
  • 1
0 votes
0 answers
20 views

How to repair my WSL Ubuntu after uninstalling my active terminal emulator? [duplicate]

I used zsh fort some time now and I wanted to try out the kitty terminal emulator, but I forgot to set another one beforehand the uninstallation of zsh. Now my ubuntu throws an error every time I try ...
havaka's user avatar
  • 1
1 vote
0 answers
33 views

Traceroute works but ping does not

My immediate goal is to ping from a device on my LAN to a Ubuntu 22.04 on WSL2. Context I am learning to use ROS2. It allows communication between instances on different machines through FastDDS. Once ...
not_a_robot's user avatar
0 votes
1 answer
105 views

"Windows Subsystem for Linux has no installed distributions": WSL_E_DEFAULT_DISTRO_NOT_FOUND when a distribution is installed

Some time ago, I installed WSL and Ubuntu 20. I have a script that I want to run from Windows in this WSL; however, when I use most WSL commands from Powershell or Command Prompt in both Administrator ...
Zaida's user avatar
  • 53
0 votes
2 answers
71 views

How to connect to WSL Docker Container using localhost keyword

Is there some way to connect to a container, running inside WSL 2, using the keyword localhost instead of 127.0.0.1:port? To give more context, I have a Docker Compose to run a Microsoft SQL Server ...
Gabriel Ferreira's user avatar
3 votes
2 answers
183 views

What is the difference between these Windows WSL: Ubuntu vs Ubuntu 22.04.2 LTS in the Windows app store?

Windows app store offers two Ubuntu WSL apps (as of 11/20/2023): Ubuntu Ubuntu 22.04.2 LTS What's the difference between them?
Omar's user avatar
  • 221
1 vote
0 answers
54 views

Why terminal display in Win10Terminal is treated differently? [telnet to a remote Linux] vs [run WSL2 natively]

I'm very baffled with a such a question. I believe it relates to those esoteric "Terminal" working details, so I hope I can get concrete technical answer here. I have two lab machines: An ...
Jimm Chen's user avatar
  • 5,794
0 votes
0 answers
33 views

installed WSL before checking "Windows Subsystem for Linux" on WIndows 11

I installed WSL on Win 11, and Ubuntu afterwards, and everything seems to work just fine, but when I checked the tutorials how to install it, I found I had to check "Windows Subsystem for Linux&...
V_head's user avatar
  • 1
4 votes
1 answer
636 views

wsl ubuntu fails after microsoft store update

After using the Microsoft Store app to update all apps (including WSL), WSL fails to run when run without admin privilege. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. ...
Mike Slinn's user avatar
0 votes
0 answers
20 views

How to access lan from WSL

Is there a way to access lan (devices connected to the lan) from wsl? Im using Ubuntu-22.04 distro. I want to connect to a proxy server connected to the lan from wsl. I tried export http_proxy=http://&...
matheesha's user avatar
1 vote
0 answers
46 views

Why are file permissions "delayed" when mounting NTFS drives from WSL?

I am mounting a Windows/NTFS drive in WSL: sudo mount -t drvfs F: /mnt/f -o uid=1000,gid=1000,fmask=177,dmask=077 I then check the permissions of an arbitrary file in the newly mounted filesystem: $ ...
René Nyffenegger's user avatar
0 votes
1 answer
64 views

WSL Adapter keeps changing settings

I installed WSL 2 with an Ubuntu server on my organizations laptop. In order to get connectivity, I changed the adapter settings on my Windows 10 machine for IPv4 and IPv6 to DHCP instead of a static ...
cozzymotto's user avatar
0 votes
0 answers
14 views

windows-fido-bridge cmake error

I'm building the windows-fido-bridge here: https://github.com/mgbowen/windows-fido-bridge from source, but running into an error on line cmake -DCMAKE_BUILD_TYPE=Release ... The error reads: -- ...
N3wU53r's user avatar
1 vote
0 answers
60 views

ecryptfs module within WSL not loaded

I'm trying to load an ecryptfs encrypted folder on a USB device on Windows with WSL2. I've followed the instructions here to build a new linux kernel. However, when I do modprobe ecryptfs inside the ...
kaidentity's user avatar
1 vote
1 answer
91 views

Create a Symbolic Link from Windows to WSL with a Local Admin Account

I am trying to share a config file between windows and wsl/linux. The file is in wsl/linux and I want to link to it from windows. This is the command I am trying with a local admin account: New-Item -...
mrt181's user avatar
  • 895
0 votes
0 answers
11 views

WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 [duplicate]

When trying to install Ubuntu under WSL Windows 11, I'm getting the following error, no advice on stackexchange works for me: Installing, this may take a few minutes... WslRegisterDistribution failed ...
user22758952's user avatar
0 votes
0 answers
17 views

I cannot make WSL for Ubuntu under Windows 11 work correctly [duplicate]

I'm getting this error, any hints how to fix it ? $ wsl --install -d Ubuntu-22.04 Ubuntu 22.04 LTS je již nainstalovaný. Spouští se Ubuntu 22.04 LTS… ...
user2925716's user avatar
0 votes
0 answers
95 views

Why do I get Access Denied when starting WSL?

I think I made a booboo this morning, I clicked "Install updates and shutdown" when my battery was too low, and then it shut down right after the boot loader screen (before the blue "...
LHMathies's user avatar
  • 109
1 vote
2 answers
176 views

WSL failed to start after shrinked using wslcompact

Is there any way to fix after WSL failed to start when compacted using wslcompact (https://github.com/okibcn/wslcompact/) Error received is The operation timed out because a response was not received ...
God of Money's user avatar
0 votes
1 answer
57 views

unable to connect to WSL container by it's ip address

When I do php -S localhost:80 in WSL / Ubuntu 20.04.1 I am able to connect inside WSL but not outside of WSL. My WSL instance has an eth0 IP address of 172.18.240.175 as doing ifconfig reveals. If I'm ...
neubert's user avatar
  • 6,983
0 votes
0 answers
62 views

How to remove WSL startup upgrade reminder

I keep getting the following message whenever I start my WSL Windows Subsystem for Linux is now available in the Microsoft Store! You can upgrade by running 'wsl.exe --update' or by visiting https://...
digitalguy99's user avatar
0 votes
3 answers
143 views

Best way to back up an old, probably linux formatted 3.5" boot floppy in 2023?

At work we have a very expensive (and older) piece of scientific equipment that for some reason refuses to boot without a floppy disk in it. The tech has advised me the manufacturer probably doesn't ...
Canageek-Work Account's user avatar
2 votes
2 answers
394 views

How to switch keyboard layout in Windows Subsystem for Linux

I have WSL installed on Windows 10. I chose the default setup for WSL that provides Ubuntu, with support for GUI apps such as Google Chrome. My locale and keyboard is set to US English. Now I want to ...
shmu's user avatar
  • 194
2 votes
1 answer
313 views

Why does wsl --install always yield Catastrophic Failure on my new Windows 11 Home 22H2 installation?

I am trying to start using Ubuntu 22.04 inside my Windows 11 laptop using wsl. I have gotten this to work on my desktop. However, every time I try to run 'wsl --install' (or 'wsl --install -d Ubuntu-...
user avatar
0 votes
1 answer
165 views

WSL2 network performance degrades with big files

WSL network transfer rate decreases when transferring big files. To reproduce, you can try to upload a file in the order of 100MB or larger. Example From Windows Host, a Windows 11 system, transfer of ...
Jose Manuel Gomez Alvarez's user avatar
-1 votes
1 answer
141 views

Is it possible to install WSL2 in a standalone partition?

Let's say I have a PC with a 1T disk, can I create two partitions in the disk, 800G for Windows 11, and 200G for a partition dedicated for Linux. Then, install Windows 11 in the 800G partition, and ...
Romstar's user avatar
  • 111
0 votes
0 answers
46 views

How to access a windows shadow copy from WSL?

My aim is to use BorgBackup to back up a Windows 11 Pro machine. BorgBackup (v1.2.0) works fine within WSL (using Ubuntu 22.04) when the folder to back up is, e.g. /mnt/c it can back up the host. The ...
Stebi's user avatar
  • 165
0 votes
0 answers
9 views

Is it possible to browse a WSL file system that WAS running on another hard drive? [duplicate]

I had WSL running on an old hard drive. Now I have a different WSL instance running on a new hard drive. I'd like to copy a script I created on the old HD/WSL, but I'm not sure where the WSL data is ...
Daniel Kaplan's user avatar
0 votes
0 answers
526 views

UsbIP client for Windows without needing to put the whole system in "Test mode"?

I'm trying to connect some devices I've got in another room to my computer so it recognizes them as if they were connected through the USB. The setup I'm using is with a Raspberry Pi 4 (Model B): ...
Unapedra's user avatar
  • 337
1 vote
0 answers
117 views

using multiple interface to access internet (eth0 and eth1 ...)

I used a tool named [WSLAttachSwitch] (https://github.com/dantmnf/WSLAttachSwitch) that attach a external Hyper-V switch to WSL2, because Windows do not expose every Windows network interface to WSL2. ...
Tiklyt's user avatar
  • 13
0 votes
1 answer
137 views

How do I change the background color for folders in PowerShell when invoking the "ls" command from WSL Interop?

I've installed the WslInterop module and exposed several commands from WSL2. I'm using Import-WslCommand "apt", "cat", "awk", "nano", "find", "...
fmotion1's user avatar
1 vote
2 answers
88 views

Void Linux: Where to define my aliases regardless of the shell being used?

I am using void Linux in WSL with the fish shell. I want to define aliases, but I am not sure why they are not being executed. When I used zsh everything seemed to work. I want the aliases to be ...
Randall Flagg's user avatar
-1 votes
1 answer
185 views

E: Unable to parse package file /var/lib/apt/extended_states (1)

I have similar problem as https://unix.stackexchange.com/questions/139441/reading-package-lists...error! This question is found in many posts but I did the 2 solutions provided and same problem exists....
Hussien Mostafa's user avatar
1 vote
1 answer
535 views

Why is WSL taking up more disk space than it says it is? [duplicate]

My disk filled up so I checked what was taking up all the space and Settings said that my Ubuntu distro for WSL was taking up 120GB as shown here: Then I ran sudo ncdu / --exclude /mnt in WSL and it ...
TommoM's user avatar
  • 13
1 vote
1 answer
216 views

Unable to start Windows firefox from WSL2

I'm running WSL2 on a windows 10 machine. WSL2 is supposed to support calling windows executables. This works for programs like notepad. However, when trying to run firefox I run into a few issues. If ...
Jimbobur's user avatar
0 votes
0 answers
635 views

The stub received bad data. Error code 0x800706f7 when trying to run WSL on Windows 11

I am trying to install WSL on my new Windows 11 machine using command wsl --install -d Ubuntu, but after installation I am always getting this response: The stub received bad data. Error code: Wsl/...
obezny patdesiatnik's user avatar
1 vote
1 answer
182 views

Windows Subsystem for Linux (WSL) will not install any Linux Distro

I am using a Windows PC with the following specs: Edition: Windows 11 Home Version: 23H2 OS build: 22631.2338 Experience: Windows Feature Experience Pack 100.22674.1000.0 Processor: Intel(R) Core(...
WillJ1312's user avatar
1 vote
0 answers
129 views

WSL not working after moving Ubuntu from C: to D:

I needed to move some files from my SSD (C:) to my HDD (D:), so I used the move option on the Ubuntu app listed in Settings>Apps>Installed Apps. However, this stopped WSL from recognizing that I ...
Shudhesh Velusamy's user avatar
2 votes
1 answer
175 views

How to copy a file from my WSL directory to a machine I can only SSH to from windows

I have a server that I would like to copy some files to, but I can only access that server via tailscale and only my Windows machine address is registered with that VPN, not my WSL distribution on the ...
Christopher Clark's user avatar
1 vote
1 answer
88 views

WSL2 is running in Windows 11 but won't launch and it is not accessible via SSH

My WSL in my Win 11 has been running smoothly until I suddenly cannot longer access it by any means (Ubuntu app, WSL from CMD/Powershell, and even SSH). My Win 11 always shows that WSL2 is running but ...
ricardo3889's user avatar
1 vote
1 answer
80 views

Install WSL dist on physical drive

What I know: How to install dists manually or from the store, using terminal and such. Mounting ext4 physical drives in Windows that WSL can read. What I don't know, and what I'm asking is how do I ...
Karlsson's user avatar
  • 183
1 vote
1 answer
130 views

Recover WSL files using Linux Live USB?

The background My Windows 10 laptop, with a bad battery, lost power during boot, and now cannot successfully boot windows (it tries to fix this with the Automatic Repair utility during startup, but ...
Josh's user avatar
  • 13

1
2 3 4 5
33