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 ArticleWhy 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 ArticleProblem 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 ArticleHow 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 ArticleWSL2 - 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 ArticleError - 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 ArticleWSL 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 ArticleHow 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 ArticleCant 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 ArticleI 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 ArticleHow 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 ArticleROS2 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 ArticleROS2 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 ArticleCan'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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleTemporary 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