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
8 votes
3 answers
8k views

Accessing WSL postgresql server from Windows PGadmin

I am running postgresql in WSL Ubuntu on windows. Everything is up to speed, my data is loaded and I wish to access the database through some graphical interface. I was thinking pgadmin4. Is it ...
107 votes
15 answers
255k views

Docker Compose prompted error: no configuration file provided: not found

I had setup Docker Desktop with Windows WSL integration version 2 and I run into issue when execute certain docker compose command with following errors docker compose logs no configuration file ...
8 votes
5 answers
11k views

Error upgrading to WSL 2 : There are no more endpoints available from the endpoint mapper

There was no problem with WSL1. I wanted to upgrade to WSL 2. Command line fails when I try to upgrade to wsl2. I tried to remove Ubuntu and reinstall it, no difference. Virtual Machine Platform is ...
6 votes
4 answers
23k views

Bash/WSL - How to run command as root?

>ubuntu1804.exe -c "echo $USER" mpen That runs the command as me, how do I run it as root? The help page doesn't even mention -c >ubuntu1804.exe help Launches or configures a Linux ...
2 votes
1 answer
308 views
+250

Why can't CLion see header files, using the WSL2 toolchain?

My setup: Windows 10 Pro 22H2 (19045.2965) CLion 2020.1.3 (JetBrains) WSL2 with Ubuntu 22.04.2 LTS gcc 11.3.0 cmake 3.22.1 gdb 12.1 gmake 4.3 CMakeLists.txt cmake_minimum_required(VERSION 3.22)...
17 votes
21 answers
40k views

Docker: WSL 2 integration with distro Ubuntu 20.04 unexpectedly stopped with exit code 1

My docker environment was working fine. I restarted my system and it stopped unexpectedly. whenever I try to start docker it throws the following error WSL 2 integration with distro Ubuntu 20.04 ...
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....
25 votes
4 answers
18k views

Trying to sign commits on git using gpg on WSL but does not work

I have recently tried the Windows Subsystem for Linux lately and as I was attempting to sign my git commits with a recently generated GPG key it spewed out, verticalfile30@DESKTOP-U284V9I:~/cpo/...
5 votes
3 answers
2k views

Screenshotting the windows desktop when working through WSL

I'm primarily using Windows, where I run WSL2. So from a python script running in the subsystem, I would like to screenshot whatever is on windows monitor, as simple as such: v1 import mss import os ...
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
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. \...
17 votes
13 answers
49k views

VSCode | The editor cannot be opened due to an unexpected error

Goal: Get regular Bash and Git in Terminal working for Python projects in Visual Studio Code. Anytime I launch, I see this error. I cannot open code or use Terminal. Error Message: The editor cannot ...
12 votes
3 answers
17k views

python debug adapter not being found in vscode - WSL:Ubuntu

I'm trying to debug a python script in vscode using the Remote WSL extension with Python 3.9.1. When I start debugging mode(F5), the below message is immediately shown: Couldn't find a debug adapter ...

15 30 50 per page
1
2 3 4 5
397