Unable to sudo apt-get update for Ubuntu (Windows subsystem for Linux)
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'archive.ubuntu.com'Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving...
View ArticleMistakenly I erased everything that was in nano hosts
so I'm a newbie, I got wsl and installed Ubuntu 22.04 and saw someone having his username plus a cool name for the host username@hostname... So I was like "cool I want to do the same" ... I tried to...
View ArticleI erased everything that was in my hosts file
So I'm a newbie with WSL and Ubuntu 22.04.I saw someone with a prompt with the username plus a cool name for the host (username@hostname...). So I tried to do the same, but I ended up erasing...
View ArticleError running Atom Ubuntu on WSL
I am trying to run the Atom editor in Ubuntu 20.04 under Windows Subsystem for Linux.I installed Ubuntu then Node.js. Both seem to work fine. Then I followed the instructions on this site for...
View ArticleI am having issues with Mysql and a local CLI version of WordPress
For anyone that's curious, it's error 2002. I've been looking at a lot of websites and a lot of them have been helpful, I was able to successfully uninstall all of the dependencies from Mysql, and,...
View ArticleHow to ZIP a lot of folders but exclude any subfolder (recursively) called...
I have a lot of directories in the initial folder and I want to zip everything , but excludeall the node_modules folder of each directory , I tried this:zip -r all_repos.zip . -x '*node_modules*'But it...
View ArticleError: Can't open display: localhost:0
I am unable to run any of xorg's GUI applications such as xcalc, xclock etc on my local WSL Ubuntu 20.04.2 LTS. On running I am getting the following error message: Error: Can't open display:...
View ArticleError in the certificate verification WSL2
From my personal computer(Win 11) where I have installed wsl2ubuntu I am having some difficulties installing programs.I tried to install openfoam and geogebra and with both I get an error related to...
View ArticlePasting text into terminal editors always pastes into a single line on Ubuntu...
I am trying to paste from the windows system clipboard into a terminal text editor like vim (or its clipboard and xterm-clipboard allowing variants like vim-gtx), nano or emacs to no avail.I am mainly...
View ArticleUbuntu 22.04 (fresh install) desktop icons do not open
I made a fresh install of Ubuntu 22.04 from a live usb key around start of May, on two different machines. Everything went fine except that the icons on the desktop do not open. More precisely:Both for...
View ArticleHow to fix 0x8027025a error when installing Ubuntu 22.04 LTS on WSL?
The following fail message appeared when I tried installing Ubuntu 22.04 LTS on WSL. I'm not able to type anything, therefore, I'm not able to finish the set up.Those are the outputs I'm getting from...
View ArticleUbuntu 22.04 (fresh install) desktop entries do not open
I made a fresh install of Ubuntu 22.04 from a live usb key around start of May, on two different machines. Everything went fine except that the icons on the desktop do not open. More precisely:Both for...
View ArticleHow do I open a file using Atom on WSL?
I am trying to open a file using Atom from bash on Windows. So what I did was I added an alias in my .bash_profile like this: alias atom="/mnt/c/Users/Mido/AppData/Local/atom/atom.exe"So let's say I am...
View ArticleUnable to change the root password in Windows 10 WSL
I have tried both commandssudo passwdandsudo -u root /bin/bashBut as soon as I enter the new password twice, it says password has been updated. You close the shell and open a new instance, it is still...
View ArticleProblem- getting basic PHP files to execute instead of just being read on WSL...
The problemJust a heads up, I was figuring this out for several hours. I tried all the different ways that other people were doing and none of them worked for me. I figured that if this was this...
View Article.bat on windows to start ubuntu then type some command
I have try so many way and search so much yet still not find answer.I can just start ubuntu but If I add /k cd "path" It will disappear like something wrongI was just trying to set an automation one...
View ArticleHow to connect windows client proxy application to WSL2 [KALI LINUX TERMUX]...
I have a proxy client running on windows which provides a socks5 proxy. This client has been set to listening 127.0.0.1:9050 .I want to use it in WSL2 Kali Linux terminal.How can I ??Exactly what I am...
View ArticleUsing a batch file on Windows to automate Ubuntu in WSL
I'd like to automate Ubuntu through a single-click batch file in Windows.I can just start ubuntu, but if I add /k cd "path", it just doesn't do anything. It exits with no error.I'd like to do an...
View ArticleHow to fix 0x8027025a error when installing Ubuntu 22.04 LTS on WSL?
The following fail message appeared when I tried installing Ubuntu 22.04 LTS on WSL. I'm not able to type anything, therefore, I'm not able to finish the set up.Those are the outputs I'm getting from...
View ArticleSystem has not been booted with systemd as init system (PID 1). Can't operate
I use WSL2 on Windows 11. I want to run the systemctl command in Ubuntu 20.04, but it gives me the following error:System has not been booted with systemd as init system (PID 1). Can't operate. Failed...
View Article