Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [windows-subsystem-for-linux]

The Windows Subsystem for Linux (WSL) lets users run a GNU/Linux environment on top of the Windows operating system. It includes support for Linux-based command-line tools ELF-64 binaries, and more.

windows-subsystem-for-linux
0 votes
0 answers
18 views

Clion can't Identify functions form head file in WSL2

I use clion with WSL2 toolchain. When i include ncurses.h(has already been insntalled) and use "initsrc()", The IDE is giving me an error that it cannot resolve the symbol.But the file can ...
baicanyuzhuzhu's user avatar
0 votes
0 answers
9 views

How to update alpine linux in WSL2? [closed]

I installed Alpine 3.17 from Windows Store and want to update to 3.20. I followed the instructions from Alpine wiki (https://wiki.alpinelinux.org/wiki/Upgrading_Alpine) I changed /etc/repositories ...
starkipraggy's user avatar
0 votes
0 answers
25 views

psycopg2 and PostgreSQL --- FATAL: password authentication failed for user "xyz"

connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "xyz" I have changed contents of /etc/postgresql/14/main/pg_hba....
Leonardo Hernandez's user avatar
0 votes
1 answer
35 views

Client-Server Connection Timeout in WSL

I am working on a project where I have a TCP server running inside WSL2 on a Windows machine, and I'm trying to connect to this server from a client running on another machine on the same local ...
Carlos Valeriano's user avatar
1 vote
0 answers
52 views

VSCode on wsl2 cant find gcc/g++

I try to run a .c with vscode on a wsl environment. I have both gcc and g++ installed. I verified that on a vscode terminal as explained in the guide. Í also have all the necessary extensions ...
proton's user avatar
  • 411
0 votes
0 answers
19 views

Missing PATH variable on WSL 2 relaunch in VS Code (Ubuntu)

To be more precise, I am facing an issue with PDM. The error is: "Command 'pdm' not found...". When I run WSL directly from the Windows Start menu, the issue does not occur. I am able to run ...
  Melleo's user avatar
0 votes
0 answers
27 views

Crash on WinDbg remote debugging of gdbserver on 32 bit elf

I am trying to use gdbserver in WSL to debug programs with Windbg, but getting a crash of the dbgserver with the following output: Process ./program created; pid = 454 Listening on port 1234 Remote ...
Yovboy's user avatar
  • 85
0 votes
0 answers
28 views

EasyMotion plugin doesn't load automatically on Vim startup in WSL Ubuntu

I am using Windows with WSL (Windows Subsystem for Linux) running Ubuntu. In my Vim setup, I have the EasyMotion plugin installed. However, the plugin does not load automatically when I start Vim. I ...
eclipse's user avatar
0 votes
0 answers
23 views

selenium on WSL2 doesn't open firefox (ubuntu)

My code for web scraper is: from selenium import webdriver from selenium.webdriver.firefox.service import Service as FirefoxService from selenium.webdriver.firefox.options import Options from ...
Polona Premrl's user avatar
0 votes
0 answers
23 views

How do I configure my WSL to make resizeable work for tkinter or swing?

I tried to make a window in both Java and Python, both Swing and TKinter have a method that blocks resizing but it doesn't work if I'm running in WSL. Is there any way to fix this? I tried using ...
Breno Lima's user avatar
0 votes
1 answer
28 views

Git - could not resolve host: bitbucket.org - 'dig' command results

While working in WSL and git pull/push to git, I suddenly get the response ssh: Could not resolve hostname bitbucket.org: Temporary failure in name resolution fatal: Could not read from remote ...
quinny's user avatar
  • 710
1 vote
0 answers
28 views

Access to docker volume with intellij

I mounted the volume in the container. project perfectly works but i can't edit my code. I tried to open the project through the below route with an intellij Ultimate, but the alarm keeps popping up. \...
i_jdk's user avatar
  • 11
0 votes
0 answers
51 views

Font rendering issue in c++ applcation on WSL with Qt6

I'm developing a C++ application using Qt6 on WSL, using Ubuntu 22.04. This application prints braille characters to the screen when when clicking and dragging in the canvas. The problem is the ...
Leo Boeri's user avatar
-2 votes
0 answers
21 views

Unable to install java in WSL [closed]

This is how my etc/profile file looks like jdk 15.0.1 is extracted in usr/java THis is the result of env command I don't have a bashrc file in my root directory. This supposedly should help WSL to ...
Mahendra Kumar's user avatar
-1 votes
0 answers
24 views

How to setup TensorFlow under Windows WSL2 with TensorRT support?

For 2024-07-18 I found that to setup GPU support for TensorFlow for nVidia cards with TensorRT under Windows 10 (19041) WSL2 and above is possible with this minimal (and maximal to date mentioned) ...
OtecFura's user avatar
0 votes
1 answer
16 views

Docker container process not visible on host

I have an active docker container (mongo running on WSL2, defualt Ubuntu). I know it is possible to identify container process on host, but ps -aux nor ps -A doesn't really work. While I can see my ...
user26412538's user avatar
-1 votes
0 answers
17 views

Mount a CIFS share to a docker container running inside WSL2 Ubuntu

I'm trying to run a Docker container called Unmanic. I want it do be able to access a files from a share on my NAS. I got Docker Desktop and WSL2 running on pc and the container is up. I can access ...
grendy's user avatar
  • 11
0 votes
0 answers
9 views

Exoplasim mpiexec/scipy (?) error on Ubuntu WSL Windows 11

I have been trying to run exoplasim for a while now to no avail, going through Worldbuildingpasta's blog on how to install the program. I've gotten a multitude of errors even after repeated reinstalls ...
HotSaucey's user avatar
  • 145
1 vote
0 answers
22 views

What path in WSL2 maps to the current windows user directory?

Is there a path variable (not a command, not a custom variable I need to create) in WSL2 that maps to the current user's profile directory (e.g. %USERPROFILE%), but is generic for Windows/Mac devices? ...
Levi Fuller's user avatar
0 votes
0 answers
14 views

jenkins not exposing in browser in custom nat network

I had configured my vagrantfile with my custom nat network for some use to connect the remote servers but the problem is I am not able to access the jenkins at port 8080 on browser debug trials done: ...
Jasvinder singh's user avatar
0 votes
0 answers
41 views

set up eclipse on windows to work with wsl

Is there a way to set up eclipse to start on windows and connect to a wsl environment? I want something like https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl for vscode ...
Vito De Tullio's user avatar
0 votes
1 answer
46 views

How to use batch script to launch an Ubuntu terminal with commands for WSL Windows (cd & nvim)

I'm trying to use a batch script to run code files in Neovim inside the Ubuntu terminal, whenever I open a code file using the batch script as the app for Windows. I can successfully run set "...
Ian Teves's user avatar
0 votes
0 answers
63 views

Why isn't the local rust documentation not opening?

I'm on the introduction part of the book The Rust Programming Language. More specifically, I'm trying to install rustup. Since my OS is the 64-bit Windows 11, I had to go to the rustup website for ...
Birjis Afroz's user avatar
-1 votes
0 answers
32 views

How is the translation of WSL path to Windows achieved when calling "code ." in a WSL2 instance?

I was looking into Zed as a potential replacement for VSC, one of the key points of annoyance I've found is that even when calling "zed.exe ." inside of a WSL instance: showing WSL directory ...
Joko's user avatar
  • 1
-1 votes
0 answers
9 views

unable to install wsl on my windows 10 pro laptop

I tried to install wsl and ubuntu on my laptop but I kept getting this error messsage unable to install wsl and ubuntu required for web3 on windows 10 pro laptop refer to the problem above. I'm ...
Adekunle Abdul-quadri's user avatar
-1 votes
0 answers
16 views

I cannot run my container (maildev image) without instantly exiting on 139 [closed]

I created a Docker compose with postgres and maildev services. No problems with postgre, but the mail dev instantly exits(139). I checked some posts and that is basically a segfault problem, but i don'...
matnrocha's user avatar
1 vote
2 answers
97 views

MySQL docker container stuck reloading

My stack is win10/wsl2/ubuntu/docker desktop. I'm stuck on running a MySQL docker container. This is a part of my docker-compose.yml: mysql: hostname: a-mysql container_name: a-...
ANDREI MIRONOV's user avatar
0 votes
0 answers
35 views

WSL2 - I'm trying to run a python script for training a LLM but getting "Error out of memory at line 383 in file /src/csrc/pythonInterface.cpp" [closed]

Pytorch and cuda is installed correctly I verified with torch.cuda.is_available() I also checked that my graphics card is working correctly inside wsl2 using nvidia-smi Things I tried setting the ....
666Tentacles's user avatar
0 votes
0 answers
23 views

Podman networking issue: Temporary failure in name resolution [closed]

I am using windows 10 and trying to run compose yml file which should download and run two images postgres and keycloak, but getting this error {"message":"lookup registry-1.docker.io: ...
Sargis's user avatar
  • 127
0 votes
0 answers
57 views

Launching Docker Desktop does not start container [closed]

I'm dabbling in Docker for Windows. I do not start Docker when I log in to Windows. The only container I have thus far configured is Portainer. It is configured as restart=always. Launching Docker ...
Foose's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
199