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

All Questions

0 votes
0 answers
378 views

Google-cloud-sdk install issue WSL2

I'm trying to contribute to an open source project called oppia and this is my first time interacting with google cloud. Any insights into this? When I follow their instruction for WSL2 on Windows, ...
Patrick Gilhooley's user avatar
1 vote
1 answer
4k views

WSL "No space left on device" error even though hard drive has plenty of space

Running into the following error in WSL: "No space left on device" When trying to install something new. This is despite the fact the hard drive has plenty of space
James Shapiro's user avatar
1 vote
2 answers
151 views

Trying to create a variable in bash: "no such variable"

For some background I am using Windows Subsystem for Linux on Ubuntu 18.04. I am very new to bash scripting so there may be errors that seem obvious but I have not managed to find an answer online. I ...
Amber's user avatar
  • 13
0 votes
0 answers
278 views

Getting temporary error on sudo apt update

I have recently installed wsl on my windows 10 OS, Ubuntu 18.04 distro. I tried sudo apt update and I am getting temporary error. I have tried everything available on internet but nothing has resolved ...
Sophiya's user avatar
-1 votes
1 answer
107 views

Docker Client is not connecting to its docker daemon on window subsystem

I am using WSL (Window Subsystem for Linux) 2 to install ubuntu and it works fine for me. Next tesk I want to install docker-ce on ubuntu subsystem so that I can do some docker testing. For that I am ...
keepmoving's user avatar
  • 1,993
2 votes
2 answers
3k views

VS Code is not open in WSL -2 Ubuntu 18.04 server - giving command 'code' not found

I have give this type of error in wsl when I type code . samanthika-137:~/repos/wams$ code . Command 'code' not found, did you mean: command 'cde' from deb cde (0.1+git9-g551e54d-1.1build1) ...
Samanthika Rajapaksa's user avatar
1 vote
0 answers
955 views

OpenGL: Major opcode of failed request: 150 (GLX)

win10 + wsl1 (ubuntu18.04) I want to install opengl, here are my steps: sudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev libglu1-mesa-dev sudo apt-get install libglew-dev ...
lww's user avatar
  • 11
1 vote
0 answers
210 views

~/.pyenv/bin/pyenv: line 36: ./bin/readlink: No such file or directory

I'm using pyenv on wsl, and whenever I am at the root directory, I get this error message everytime I execute a command: ~/.pyenv/bin/pyenv: line 36: ./bin/readlink: No such file or directory pyenv: ...
Yoann Vigouroux's user avatar
1 vote
1 answer
2k views

Nvidia Docker in WSL2: Error Response From Daemon: OCI Runtime Create Failed

I want to use nvidia-docker in WSL2 - Ubuntu 18.04 LTS. When I type: nvidia-smi It returns: +-----------------------------------------------------------------------------+ | NVIDIA-SMI 495.41.01 ...
Tim's user avatar
  • 123
16 votes
17 answers
36k views

VS Code Remote - Can't run 'code' command in WSL Ubuntu 18 or WSL 2 Ubuntu 20 - wrong path

I'm having an issue when I try to run the code command from Visual Studio Code in WSL Ubuntu. I get the following error: $ code . /mnt/c/Users/Name/.vscode/extensions/ms-vscode-remote.remote-wsl-0.64....
Sprouter's user avatar
  • 392
2 votes
2 answers
7k views

WSL Ubuntu showing "Error: Unable to open display" even after manually setting display environment variable

I'm using g++ on WSL Ubuntu. I cloned the GLFW repo using git, used the ccmake command to configure and generate the binaries, then used make inside the "build" directory to finally create ...
Rapid Readers's user avatar
1 vote
1 answer
2k views

how to solve issue running podman run ubuntu

I am using ubuntu 18.04 on wsl 1. I have installed podman. After pulling the image when tried to run it got the following error unable to write pod event "write unixgram @00044->/run/systemd/...
bu0603's user avatar
  • 47
0 votes
0 answers
367 views

Node server in docker container runs and updates but will not load in browser

This was previously working fine: Dockerfile: FROM node WORKDIR /app COPY package.json . RUN npm install ARG NODE_ENV RUN if [ "$NODE_ENV" = "development" ]; \ then npm ...
roborude's user avatar
1 vote
1 answer
747 views

Ruby2d not working in WSL2 on Ubuntu 18.04 - Getting error "No available video device"

I'm using WSL2 on Ubuntu 18.04 to run Ruby code in Windows 10. For example, running Ruby on Rails is easily done with no special setup required. In case of Ruby2D: The installation went fine but, I ...
taz mazia's user avatar
  • 331
0 votes
0 answers
762 views

Google chrome not running in ubuntu 18.04 enviroment

When I'm trying to run the command google-chrome in ubuntu 18.04 lts using wsl, i get this error. I have used these commands to install google chrome: wget https://dl.google.com/linux/direct/google-...
namangirdhar16's user avatar

15 30 50 per page
1
2 3 4 5 6