WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving...
RESOLVED: I reached out to my job's IT and I got win10 1803 update. That solved all my issues including one I didn't mention: gradle wrapper script couldn't connect to daemon through 127.0.0.1 with...
View ArticleHow do I install Ubuntu 21.10 in WSLg on Windows 11?
I do not see this option in the windows store?I would like to install Ubuntu 21.10 in WSLg on Windows 11 that includes the Graphical stuff. I have searched for Ubuntu in the Windows Store and I have...
View ArticleSystem has not been booted with systemd as init system (PID 1). Can't operate
I use WSL2 on Windows 11 and I want to run the systemctl command in Ubuntu 20.04 terminal but it gives me the following error: System has not been booted with systemd as init system (PID 1). Can't...
View ArticleSwappiness on WSL2 gets reset to 60
I recently tried installing Ubuntu on Windows (WSL2). I tried the free command, and few blocks of swap memory were utilized. I thought of reducing the swappiness so I added the entry vm.swappiness=10...
View ArticleAccessing graphics in Ubuntu which is installed as an app in Windows 10 HP
I have a windows 10 HP tower workstation with NVIDIA GeForce GTX 1070 graphics card, in which I installed UBUNTU 18.04 as an app (natively), by following the...
View ArticleBlack window with "less", "nano", or "screen" - WSL - Ubuntu 20.04.3 lTS
I'm using Windows Subsystem Linux with Ubuntu 20.04.3 LTS on my laptop (OS: Windows 10 Enterprise LTSC).It worked flawlessly until a few days ago when I suddenly could not use less, nano, screen etc....
View ArticleSSh: Access Denied, Windows 10
I'm new to Linux in general but also even newer to the Window's 10 Ubuntu subsystem. I've been trying to set up ssh and so I set up a static ip address and logged into my router and forwarded port 22...
View ArticleHow do I install Ubuntu 21.10 in WSL on Windows 11?
I do not see the option to install Ubuntu 21.10 in the Windows Store.I would like to install Ubuntu 21.10 in WSL on Windows 11 with the graphical support (WSLg). I have searched for "Ubuntu" in the...
View Articledocker: unrecognized service when installing CUDA
WSL2 Ubuntu 20.04.3 LTSkernel image: 5.10.60.1-microsoft-standard-WSL2I am trying to install CUDA according to the instructions here:...
View ArticleWhere is my wsl subsystem located on my machine?
I am new to windows and have installed wsl2 based on the instructions provided on this website https://ubuntu.com/tutorials/ubuntu-on-windows#1-overview.It works fine but I cannot locate where it has...
View ArticleWhere is WSL located on my computer?
I am new to Windows and have installed WSL2 based on the instructions provided here.It works fine, but I cannot locate where it has been installed on my computer. The output for pwd is home/nkp68.How...
View ArticlePressing EOF (Ctrl+D) exits from the while loop
#include<iostream>#include<vector>#include<ios>#include<iomanip>#include<stdexcept>#include<algorithm>#include<string>using namespace std;struct student{...
View ArticleNot able to run a program with a .sh script using Ubuntu WSL [closed]
I am new to Ubuntu. I installed Ubuntu on Windows 10 to run a program with Linux using ubuntu.When I double-click on the Ubuntu app I get a shell (believe it is a WSL shell) with my...
View Articlean error occurred while installing one of the file systems. for more...
I have a problem with the wsl system. Namely, I have windows 11 on my laptop and I installed wsl. When I launched it after installing it, I got this messagethe windows subsystem for linux optional...
View ArticleDeleted all users in WSL
I use Wsl Ubuntu 20.04 LTS.I don't know why but all users were deleted.I created a new user. I wish I had not donepasswd:tetemp:x:1000:100::/home/tetemp:and now$ adduser rootadduser: Only root may add...
View ArticleHow to downgrade Wsl2 to wsl1? [closed]
I'm using wsl 2 currently but it seems I can't run Ubuntu with it anymore.So I want to downgrade my wsl from 2 to 1
View ArticleIssues setting up bash autocomplete for Python3 alias
I've got an alias for python3, 'py' - it's set up as you might expect in my .bashrc file.alias py='python3'complete -F _python pyThe issue is that complete will only work if I try to complete with the...
View ArticleUbuntu 20.04 disappears from Windows 10 WSL2 after reboot
I am facing an issue with installing Ubuntu 20.04 virtually on Windows 10 using WSL2 from the Microsoft Store. It's working fine when the system is running, but on restart it gets uninstalled or...
View ArticleError with Cloudy's make command on WSL2
I'm using a WSL2 (windows subsystem Linux) with Ubuntu 20.04 LTS.I want to use the Cloudy package, a Linux based simulation tool https://gitlab.nublado.org/cloudy/cloudyI have installed the package and...
View ArticleUbuntu 18.04 on WSL cron daemon not running after reboot
I have Ubuntu 18.04.1 LTS running under Windows 10 Pro. After every reboot, the cron daemon is not started.I can start it manually with sudo service cron start.What can I configure or what system file...
View Article