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
5,945
questions
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 ...
0
votes
0
answers
10
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
\...
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 ...
-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 ...
-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) ...