Questions tagged [wsl2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Docker-machine in wsl2

After connection of Docker desktop to WSL2, I've tried to install docker-machine like described here. It is installed, but I can't get access to it via docker-machine command, only docker-machine.exe ...
0
votes
1answer
32 views

Error after opening kali linux in windows terminal using wsl2

enter image description hereEverytime I open the Windows-Terminal or Kali Linux using WSL-2 I'm getting this message and don't know how to fix it. I'm new to Linux and couldn't find the answers. See ...
1
vote
1answer
117 views

Network problems using WSL2

Currently I'm using Windows10 and WSL2 with Ubuntu 20.04 for developing. For the most case this works excellent, apart from one problem. There seems to be something broken in the networking layer ...
1
vote
2answers
52 views

How to install npm packages in Ubuntu using WSL2?

I have installed Ubuntu using WSL2. Now in working directory \\wsl$\Ubuntu\home\ponomarchukov\nodejs I try to install npm packages: npm install express So, I get this error: -bash: /mnt/c/Program ...
2
votes
1answer
22 views

Getting the same filename when renaming with wget

Using Windows 10 and wget to download files from a specific location, installed and configured WSL2. Once the setup was done, opened and ran the following command sudo apt-get install wget Then, ran ...
0
votes
0answers
72 views

Openvpn interupts WSL2

I use WSL2 and vcXsrv to run some graphical Linux apps, namely emacs. I configured vcXsrv to accept connections from remote clients. I configured WSL2 to use DISPLAY 172.20.240.1:0. This is the ...
0
votes
0answers
42 views

Will enabling WSL and Virtual Machine Platform for running WSL2 slow down the host OS?

I wish to know if enabling WSL and Virtual Machine Platform for running WSL2 would slow down the host OS. I am not entirely sure what kind of virtualization WSL uses (the kind where both host and ...
1
vote
1answer
69 views

Windows 10 WSL bash change starting directory

When I launch bash on Windows, it always starts in the directory that it is launched from [/mnt/c/Users/myuser], however I would like it to launch in the WSL $HOME directory [~]. How do I specify the ...
0
votes
0answers
10 views

WSL2 changes the font type in the terminal when JupyterLab is started

I've encountered a strange behavior of my WSL2 system. Running on Windows 10 Pro Version 10.0.19042 Build 19042. I have JupyterLab 2.1.2 installed with miniconda3. When I start this program the font ...
0
votes
0answers
116 views

What's the best way to add a new linux partition to use in WSL2?

I've just upgraded to Windows 10 Home May 2020, activated WSL2. It must be installed in the system disk, my small SSD. I have a bigger disk with an NTFS filesystem. WSL2 access to this filesystem is ...
1
vote
1answer
92 views

How does WSL[2] pose limitations on a guest linux system?

As soon as I got WSL2 on my Windows PC, I installed an adapted CentOS 8.2 version. As I explored it, I found that I could read and write in the host's NTFS file system out of the box. It was also ...
2
votes
2answers
820 views

Docker on Hyper-V vs WSL 2

I'm using Docker Toolbox, recently I got to know about the Docker installation using WSL 2. What are the differences between Hyper-V and WSL 2? Which has better performance?
0
votes
0answers
68 views

Suddenly cannot ssh to WSL2 via 127.0.0.1

Please suggest a way to diagnose the underlying problem of suddenly not being able to ssh to my Debian distro on my Windows 10 WSL2: I was able to, from an MSYS2 terminal, ssh to my Debian sshd via ...
0
votes
0answers
30 views

From Windows can SSH to Hyper-V machine on IP of Default Switch but not on IP of External Switch

I have an odd use-case. Using WSL2, I've discovered networking issues when trying to connect from WSL2 to another Ubuntu Hyper-V on the Default Switch. Ping, for instance, does not work (but ping and ...
0
votes
0answers
9 views

Tmux clipboard and windows integration

I need copy/paste text on mouse select/mouse right click respectively. I use for this tmux-yank и VcXsrv and, of couse "set -g mouse-mode on" in ~/.tmux.conf. But I cant copy/paste in nano editor, for ...
-2
votes
1answer
55 views

When will WSL2 be officially released?

I want to install docker on my windows subsystem for windows. In order to do that I need WSL version 2 I am not able to upgrade from version 1 to version 2 I believe because the version of windows ...
1
vote
0answers
80 views

Windows PS and WSL2 Can't seem to send icmp echo requests or download anything

I updated to Microsoft Windows [Version 10.0.19041.264] (the new May 2004 update) in order to check out wsl2 and see all the new features. I had wsl1 set up and working as I like to use it for IRC ...
-1
votes
1answer
80 views

WSL2 can not access windows ip (retreived by `ip route | grep default | awk '{print $3}` )

Test code: winip=$(ip route | grep default | awk '{print $3}') ping $winip result: Actually I want to use a proxy service host on windows . I saw many people success with above command, why I ...
2
votes
1answer
443 views

Move WSL2 file system to another drive

As opposed to in WSL1, official docs for WSL2 state clearly that I should place files I access frequently from Linux under the Linux file system. However, I have not found any docs on settings for ...
1
vote
0answers
170 views

Issue setting up Docker on Windows 10 Home using WSL2 [duplicate]

I am trying to set this up to be able to run a docker-compose setup on my Windows 10 Home with docker toolbox. I need WSL2 to be able to do port forwarding from the Docker container, through WSL2 and ...
0
votes
1answer
95 views

Windows 10 OS build not updating after general update

I am trying to instal WSL2 for windows 10, however, the installation instructions indicate the OS build needs to be 18917 or higher. My Windows specs are: Edition: Windows 10 Home Version: 1909 ...
0
votes
2answers
119 views

WSL2 no longer starting with bash colors

Until today when I started WSL2 with Ubuntu on Windows, I would get the pretty colors of the bash terminal. I think with today's update that no longer happens. Instead, the shell starts uncolored. If ...