5,971
questions
0
votes
0
answers
9
views
I am trying to launch my motoko project (WSL) but vscode don't run. what can i do to resolve the problem?
The vscode window open but nothing is visible image of vscode windows when i tried to open it
I have tried to restart the vscode windows and launch with administrator privilege
I have also tried to ...
0
votes
0
answers
17
views
Can't Install WSL On Windows Home Despite Enabling Hypervisor Platform And Linux Subsystem [migrated]
I'm trying to install WSL on Windows Home. I enabled Hypervisor Platform and Linux Subsystem (This is Home so there is no Hyper V). What should I do?
Here is the error I got.
I enabled Linux subsystem ...
0
votes
0
answers
9
views
ubuntu linux (WSL) alternative starting directory shortcut? [duplicate]
this is a newbie question so feel free to simply point me to resources but:
how can I somehow configure an alternative starting directory? I'm using WSL (because why would i want to use windows ...
0
votes
0
answers
20
views
Xilinx through WSL problem: "Product is not supported on "Linux" platform"
I am tryng to install Xlinx on Windows 11 using WSL, but it appears as "Product is not supported on "Linux" platform."
Initially, I shared the .tar file directly from windows ...
0
votes
0
answers
17
views
Android Studio throws errors about AndroidVirtualizationFramework, pulseaudio, gRPC authentication, and QEMU threading issues
I use WSL on my windows 11 laptop. Trying to launch android studio emulator in VS Code but it only works until I see the google logo.
Please update the emulator to one that supports the feature(s): ...
0
votes
0
answers
9
views
Fetch podman WSL default machine image for offline deployment [closed]
When I run podman on windows using wsl2 it fetches the default machine image (fedora 40). I want to install podman and all dependencies on a system which is not connected to internet at the moment. ...
0
votes
0
answers
36
views
When I don't use VPN , my vscode tunnel can't work successfully
I am trying to use the VS Code tunnel in my WSL environment. When I use a VPN, I can successfully access the tunnel and see the following link:
Open this link in your browser https://vscode.dev/tunnel/...
0
votes
0
answers
14
views
Expo Build Hangs at 98-99% in WSL Home Directory but Works on Windows Mount
I’m working on an Expo project within WSL 2 (Ubuntu) on a Windows 11 machine, and I’m encountering a strange issue:
When I run npx expo start --clear on my project located in the Windows mount (/mnt/c/...
0
votes
0
answers
20
views
How to tell WebStorm NOT to use WSL?
I am using WebStorm on Windows 11
The problem is: WebStorm tries to run commands using a WSL path.
WebStorm tries to run the command using:
/mnt/c/Users/..../WebstormProjects/..../node_modules/.bin/...
0
votes
1
answer
42
views
turtle doesn't show all executed movements after done
This code is supposed to create a square.
from turtle import Turtle, Screen, done
my_little_turtle = Turtle()
my_little_turtle.shape("turtle")
my_little_turtle.color("green")
...
0
votes
0
answers
59
views
Unsafe precondition(s) violated: ptr::replace requires that the pointer argument is aligned and non-null
after updating from Rust 1.79 to Rust 1.80(.1) I can't compile my code in debug mode (--release works), as apparently something in the library seems to be broken. As others on my team can compile the ...
0
votes
2
answers
44
views
Issue setting Confluent Kafka JAVA_HOME path in .bashrc with Error - no such file or directory
I am trying to set a JAVA_HOME path for my Confluent and Kafka application. I'm using confluent-6.1.0, Java 15, and Windows OS (WSL).
The confluent and Java paths are set in a '.bashrc' file. When ...
0
votes
0
answers
49
views
PyVista plotting issue in Visual Studio Code using WSL 2 with Ubuntu 22.04.4
I am using the latest release of dolfinx-fenics (https://fenicsproject.org) on a Lenovo Think Pad with an Intel(R) Core(TM) i7-8550U CPU @1.80GHZ. It's a 64-Bit-System with Windows 11 Pro version 23H2....
0
votes
0
answers
21
views
pip kills installation process but there is memory available
In this question they mention that when pip shows killed process is due to memory problems. I checked on this link and when I run it in powershell it shows:
Filesystem Size Used Avail Use% ...
0
votes
0
answers
23
views
API Connection Timeout on Windows 10 with WSL2 and MariaDB
I'm developing on a Windows 10 machine using WSL2, where I've set up my API along with MariaDB and Redis. I also have MariaDB installed on Windows and use DBeaver, installed on Windows, to manage my ...
0
votes
0
answers
70
views
bootstrapping in the main distro: listing WSL distros: running WSL command wsl.exe C:\Windows\System32\wsl.exe -l -v --all: context deadline exceeded
enter image description here
i have tried every other solution on internet and it is not working
redownloaded docker and wsl and Linux sub system for windows but nothing working
reinstalled everything ...
-4
votes
0
answers
65
views
Can't Debug golang program on wsl
I'm completely new to go developing, I have this small program:
package main
import (
"fmt"
"github.com/Pallinder/go-randomdata"
)
func main() {
fmt.Println("...
0
votes
1
answer
16
views
Save the output of a jupyter notebook code as a "xyz.out" file (using MEEP)
I'm following this tutorial for a EM field solver ( https://mpb.readthedocs.io/en/latest/Python_Data_Analysis_Tutorial/ )
I'm running it on python, using jupyter notebook since its easier to debug and ...
0
votes
1
answer
18
views
Error when working with Airflow and Jupyter Notebook
I have installed Airflow on wsl. I picked up the service and wrote the first dag, I wrote the dag in jupiter notebook, which I also installed on wsl in the necessary environment. But Airflow does not ...
0
votes
0
answers
115
views
How to Open a New Terminal in WSL for Running Commands in a Shell Script
I have a Shell script that I originally wrote for an Ubuntu system with a desktop environment. The script makes use of gnome-terminal to open new terminal windows and execute certain commands. Here is ...
-3
votes
1
answer
84
views
Brew WSL Ubuntu Terminal Error: No such file or directory [closed]
I'm having trouble with Ubuntu WSL2 and anytime I start up the terminal I get greeted with:
-bash: /bin/brew: No such file or directory
-bash: export: `': not a valid identifier
will:~$
Then, if I ...
0
votes
1
answer
37
views
Docker project works in Windows but not in Linux
I'm running into issues with file permissions when trying to run a Dockerized CodeIgniter 4 project on Windows using WSL2 and Docker Compose. The project worked fine on Docker Desktop, but when I ...
2
votes
1
answer
35
views
Set default location of terminals in VS Code per terminal profile
I have a monorepo, and every time I open a terminal, I have to cd to a specific directory; and it's different for each terminal.
I want to skip this step and set different default directories for ...
0
votes
0
answers
12
views
How to access your backend APIs in wsl2 from an android emulator from windows
I have been trying to debug an API call on wsl2 from my android emulator on windows, I can access my backend from the browser on localhost:8080, but when I try accessing from the android emualtor, it ...
0
votes
1
answer
24
views
Conda not on PATH in non-interactive WSL
I have set up an Ubuntu instance in Windows using WSL, and I am trying to run a script in there. When I run it as
wsl
$PATH
conda -V
I get
-bash: /home/paul/anaconda3/bin:/home/paul/anaconda3/...
-1
votes
1
answer
57
views
Accessing a Web service running on a WSL instance from outside the host computer
I have a perfectly functional system running Open WebUI, as follows:
Host system: Windows 11 with WSL running an Ubuntu 22.04.4 LTS
Ollama is installed within the WSL, using localhost:11434
Open ...
0
votes
0
answers
21
views
Loading a Video File in Python inside WSL - Failed
We have a Python file. The python simply reads a video file which is saved on the same location as the Python file.
Here's the sample code:
import cv2
# Path to the MP4 video file
video_path = 'video....
0
votes
2
answers
80
views
How to connect to Xdebug in WSL session from Windows host in PhpStorm?
On Windows 11, I use PhpStorm. The PHP script is executed through a Ubuntu instance via the WSL (Windows Subsystem for Linux) within PhpStorm.
I use php8.3 and xdebug-3. Xdebug seems loaded as:
...
0
votes
1
answer
39
views
VisualStudio WSL debugging: custom GDB command line?
Is there a way to tell Visual Studio (I use version 2022) to use a custom GDB command line, when attaching to a process run under WSL? E.g., something like
gdb -iex "set sysroot /" -p <...
0
votes
0
answers
31
views
Bluetooth from Docker in Windows
Theoretically the solution was already there, someone did it and documented.
But I've found that integrating a Bluetooth Dongle with Windows is not so trivial as commented there. Maybe it is because ...
0
votes
0
answers
39
views
Error response from daemon: when creating immich server on windows
I am trying to make a immich server using docker desktop on windows 10 but when i try and compose it i get this error: Error response from daemon:
can't access specified distro mount service: stat /...
2
votes
1
answer
54
views
Nextflow: mkdir: cannot create directory 'filename': File exists
I'm trying to setup a workflow using Nextflow on WSL2. After some changes, here is the full updated code:
params.output_dir = "./workflow_output"
params.input_dir = null
process fastQC {
...
1
vote
0
answers
29
views
com.intellij.execution.ExecutionException: Unable to find Windows drive mount point in WSL by path
I have set up IntelliJ Ultimate to work with WSL following the instructions here and here. I have created a project in \\wsl.localhost\Ubuntu\home\me\TomcatBasicDemo, installed the Corretto JDK 17, ...
0
votes
0
answers
45
views
vscode + wsl + git - specify work-tree and git-dir directories on a per-workspace basis
I am trying to manually configure git-dir and work-tree while running vscode with a remote WSL session, but I want those settings to be specific to one workspace and not carry over to other workspaces....
3
votes
0
answers
33
views
How can I put VS Code Remote file links in notification messages?
I'm looking for a way to add a link to a file on a WSL file system on Windows (with VSCode workspace being a WSL folder). When I add a link to a VSCode information message like so
window....
0
votes
1
answer
52
views
How to identify wslg.exe / wsl.exe from the Linux Distro?
I try to implement separate handling for wslg when "booting" my linux distro.
I have adapted my distro environment so that I can also start GUI apps from the wsl
(PS) console, I find it ...
0
votes
0
answers
56
views
How to fix gdbpeda
I'm using WSL and already installed gdb and gdbpeda using apt install. I even git cloned gdb peda. But when I run gdb, gdb-peda is now showing, rather than it shows multiple errors. I installed six ...
0
votes
0
answers
27
views
How to install ruby and gem (one_gadget) in WSL [ERROR]
I want to download ruby and install one_gadget extension with gem for Pwnable. But I don't know why I can't install ruby in WSL.
The following additional packages will be installed:
fonts-lato ...
0
votes
0
answers
11
views
Astro CLI airflow connction issue on windows
I run an Apache Airflow development setup using Astro CLI, and both the webserver and scheduler are functioning correctly. I can log in and perform tasks without issues. However, I'm encountering a ...
0
votes
0
answers
15
views
Executing WSL Ubuntu Commands from C# - Output Capture Issues
I'm writing a C# code in Visual Studio Code on Windows 11 to run an application from my WSL Ubuntu and saves the output as a string file.
I've already installed WSL and Ubuntu. When I write the ...
0
votes
0
answers
19
views
Intellij idea NodeJs Debugger not getting attached
Can not Debug NodeJs Application when Cloudfare VPN is on.
I am using IntelliJ IDEA 2022.3.3 (Ultimate Edition)
When i try to Debug Nodejs using Nodejs interpreter from WSL and CloudFare VPN on i get &...
2
votes
0
answers
55
views
bear in WSL2 but failed: wrapper: failed with: gRPC call failed: failed to connect to all addresses
Thank you for taking the time to look at my question!
Environment:
OS: WSL2 on Windows11, Ubuntu 22.04.3 LTS x86_64
Bear version: 3.0.18, Bear install method: apt
Description:
I am trying bear to ...
-3
votes
2
answers
1k
views
Docker Desktop - WSL update failed
Currently I use Docker Desktop 4.32.0 version on Windows-10, I updated to new version, after this Docker Engine Stopped Running and gave error wsl update failed: update failed: updating wsl: exit code:...
0
votes
0
answers
53
views
How to connect to a Neo4j desktop database from WSL2
I've set up a local Neo4j database on my Windows laptop, running on the default Bolt port bolt://localhost:7687. I'm currently working within the Windows Subsystem for Linux (WSL) and trying to access ...
0
votes
0
answers
16
views
Prompt for username when starting wsl for the first time (like in Ubuntu)
We are creating a custom linux image for WSL based on RHEL and we want to create user when users login for the first time just like the ubuntu image.
0
votes
0
answers
36
views
Pylance couldn't create connection to server in WSL2 ubuntu
i wanted to try python on wsl2 ubuntu and i am facing problem that "Pylance client: couldn't create connection to server.".
Python is there in the wsl, version Python 3.10.12. Pylance is ...
1
vote
2
answers
115
views
Installing .NET Core 2.1 SDK in parallel to .NET 8
I am following below commands to install .NET Core 2.1 SDK
Enable Microsoft PPA
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-...
0
votes
0
answers
22
views
cannot run perf c2c under WSL2 environment
I can use general perf commands like perf record or perf report, but when I type perf c2c record -a ./my_program in terminal, it shows failed: memory events not supported.
Please help resolve this ...
-2
votes
1
answer
683
views
WSL Access denied [closed]
All the people in my dev team and myself have been experiencing a big issue with WSL since a week.
Whenever we try to launch WSL, we get:
Access is denied.
[process exited with code 1 (0x00000001)]
...
0
votes
0
answers
32
views
WSL: not found related errors regardless of the command & Bash prompt only with hostname
[Issue that I'm facing]
I'm encountering an issue with my Bash prompt in WSL, where instead of the usual format (e.g., username@hostname:~$), however, it's displaying only hostname:~$ instead. It used ...