Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Browsing all 2795 articles
Browse latest View live
↧

Unable to read the file via remoteaccess with service account

Subject: Unable to read the file via remoteaccess with service accountCortex XSOAR ID: 4893410215349833399We created a service account with /usr/sbin/nologin in /etc/passwd but was unable to read the...

View Article


Why My WSL virtual disk ext4.vhdx comes into 0 KB?

My windows crashed. So I want to access my WSL2 virtual disk to backup some .rc config files in it.(I an using 22.04 LTS now)But I found ext4.vhdx of it is 0kb.Try to mountI tried some commands to...

View Article


Problem with WSL-Ubuntu-20.04 on Windows: "Cannot connect to the Docker...

I work on WSL on Windows. I downloaded Ubuntu-20.04 from the Microsoft store. After running, I ran these commands:1 sudo apt update3 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80...

View Article

How to change the background color on a Ubuntu terminal in WSL?

Using Ubuntu 18.04 LTS from the Windows Store and I want to change the background colour of the terminal from black to white. Is this possible?

View Article

Image may be NSFW.
Clik here to view.

WSL2 - VSCode's shell command `code` no longer working in Linux terminal

I am very new to Linux and WSL overall. I was able to use code . to open my current directory in VSCode, but after deleting something that I do not remember it just doesn't work anymore. I put in the...

View Article


[error 2147942402 (0x80070002) when launching Ubuntu 18.04 in WSL

After adding a Python path to my environment variable I ran into an [error 2147942402 (0x80070002) when launching ubuntu.exe that's preventing me from launching Ubuntu in Windows terminal.I don't know...

View Article

Error - send: spawn id exp4 not open

When I run my script that auto-authorizes the user:expect -c ' log_user 0 spawn /usr/bin/sudo su - <username> expect "password: " sleep 5 send "password\n" interact'it results in:send: spawn id...

View Article

Image may be NSFW.
Clik here to view.

WSL 2 Won't Run Ubuntu - Error 0x80370102

Today, I decided to upgrade from WSL 1 to WSL 2. On WSL 1, I had no issues getting both Kali Linux or Ubuntu to function on WSL 1. When upgrading to WSL 2, both Kali and Ubuntu failed to upgrade to...

View Article


How can I install Ubuntu using WSL without running into issues?

I was attempting to install Ubuntu with WSL on my Windows 11 device. When I run wsl --install -d Ubuntu, I get the error An error occurred during installation. Distribution Name: 'Ubuntu' Error Code:...

View Article


Cant install MySQLdb

I intend to install it using these codes$ sudo apt-get install python3-dev$ sudo apt-get install libmysqlclient-dev$ sudo apt-get install zlib1g-dev$ sudo pip3 install mysqlclientbut when trying this...

View Article

I am not able to open my Ubuntu Desktop. It shows the error : No Session for pid

I am new to Linux and have installed VcXrv server for the same on WSL2. However, whenever I try to open Ubuntu on my system by runningstartlxdeI get the following errorNo session for pid 33306Kindly...

View Article

How can I get around using xclip in the Linux subsystem on Win 10?

On a Linux subsytem on Windows 10 you get an error when using xclip, ex:cat some/file.txt | xclipError: Can't open display: (null)There is no Desktop (UI), so of course there isn't a clipboard to be...

View Article

ROS2 Humble installation with Ubuntu 22.04 in WSL: ros2: command not found

I am using Untuntu 22.04 in WSL trying to install ROS2.After following the tutorial in ROS2 website, I am stuck with the stepsource /opt/ros/humble/setup.bashI am unable to run ROS2 with the command...

View Article


ROS2 Humble Installation Environment Setup Issue - ros2: command not found

I am using Untuntu 22.04 in WSL trying to install ROS2 Humble.After following the tutorial in ROS2 website, I am stuck with the setting up the environment.source /opt/ros/humble/setup.bashI am unable...

View Article

Can't restart/shutdown Ubuntu under WSL

I just got Ubuntu from Microsoft Store and tried some things with it. However when i try to restart or shut down the system using sudo reboot or sudo shutdown -h I got a prompt saying"System has not...

View Article


How can I free space from my computer? df -h shows the 217 GB being used, but...

I am trying to free up a lot of space on my computer, but am unable to find where exactly most of my space is taken up. The storage statistics on my computer tell me that Ubuntu is using 115 GB of...

View Article

How do I install Firefox in WSL, when it requires snap, but snap doesn't work?

so I wanted to install firefox in WSL2 with Ubuntu.Now, usingsudo apt install firefoxgives me this output:Building dependency tree... DoneReading state information... DoneThe following NEW packages...

View Article


How to install an older version of GCC for armhf?

I'm not really an expert of linux, so i'm feeling a bit lost.I'm running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc using a Windows PC. That image was...

View Article

How do I get WSL to start my login shell by default?

The "Bash on Ubuntu on Windows" application always starts, well, bash. I have used chsh to set another shell as my login shell. How do I get WSL to start that shell instead?

View Article

Temporary Failure in name resolution on WSL

Running Ubuntu on WSL and trying to push to github and download new python modules using pip and I get this error.Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after...

View Article
Browsing all 2795 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>