Open Ubuntu terminal using batch file on windows with command?
I automate many processes on windows using batch files and putty.E.g ( login_server7.bat ):start C:\Users\Jack\Documents\putty.exe -ssh 1.1.1.1 -l user123 -pw "bleh"How am I able to start an Ubuntu...
View ArticleUbuntu Architecture showing "arm64" with Intel CPU for WSL
I installed WSL Ubuntu 20.04 on my PC with wsl --install. Then I read the System Architecture info in the Microsoft Store for Ubuntu, and it says "arm64". However, the CPU is Intel 12900K. Shouldn't it...
View ArticleCan't run Ubuntu 20.04 on WSL in VirtualBox
I'm using Windows 11 on VirtualBox.I downloaded Ubuntu 20.04 from the Microsoft Store. When I started it, a message appeared that the option called Windows Subsystem for Linux should be enabled in the...
View ArticleHow to open Ubuntu files in an interface friendly editor from Windows?
I am using Ubuntu app inside the Windows 10. I am writing some programs inside the Ubuntu OS, able to edit the files through the Vim editor from terminal interface.I am wondering if there is a way to...
View ArticleIs there an easy way to have WSL Ubuntu services start automatically on...
I have a question about the WSL version of Ubuntu. Is there an easy way to have bash start automatically when Windows starts and pass a command to it to start the SSH server? So that the SSH server...
View ArticleWSL doesn't update when Windows file system is updated
Here is my issue:I edit a file on Windows, using a Windows file editor.I save it to my Documents folder.I try to compile the file on WSL using gcc.If I saved the file as a new file, I can find it and...
View ArticleWSLg Ubuntu app icons not showing up on taskbar
I recently upgraded to Windows 11 and decided to try out WSLg and some Linux GUI apps. To that end, I got Eye of GNOME for viewing images.However, when I open the app, the icon in the taskbar is the...
View ArticleEditing .bashrc in WSL safely
How do I edit the .bashrc file in Windows Subsystem for Linux safely?This article warns to never edit files stored in the WSL AppData folder using Windows tools.But then how do you edit files like...
View ArticleSuddenly, I start from the root directory not my home directory when I login....
From some point, suddenly (I guess after an Ubuntu update?), it starts in the root directory when I open a new terminal.I want to start from my home directory as before.The below is my shell script(I...
View ArticleI just deleted everything on my Windows system through the ubuntu subsystem....
I wanted to delete all my Ubuntu related files from the Ubuntu subsystem within Windows. So I just used sudo rm -rf /* in the Ubuntu home directory.I did sudo because earlier there were a lot of...
View ArticleUnable to install podman in Ubuntu 20.04 running on WSL2 in Windows 10
I cannot install podman following the official RedHat instructions or any other, for instance.I always get to the same situationdiegosasw@LAP-DMARTIN:~$ sudo apt-get -qq -y install podmanE: Unable to...
View ArticleMySQL 8 installation fail - dpkg: dependency problems prevent configuration...
I wasn't able yet to install MySQL 8 in Ubuntu.Distribution : Ubuntu 18.04.2 LTS (running on windows using WSL)WSL version : 4.4.0-17134-Microsoft Mysql-server : 8.0.16-2ubuntu18.04 amd64I am following...
View Articlehow to upgrade Ubuntu packages in WSL alongside Microsoft Store auto-update
I started using WSL2 and installed Ubuntu without a specific version number. My understanding is that it will automatically upgrade to the next major release (it's 20 now, and I assume it will be 22...
View ArticleMake /etc/resolv.conf changes permanent in WSL 2
On WSL 2, when I try to connect to a website, I get an issue:$ ping www.google.comping: www.google.com: Temporary failure in name resolutionNow, to fix this, I had to add /etc/wsl.conf with this...
View ArticleWSL2 update and apt-get failure, though ping works fine
I am trying to get Ubuntu running using WSL2 on my office laptop.Problem :When I try to run apt-get update or any install command, eg : apt-get install gcc, it always ends up with 101 : Network is...
View ArticleUnable to install pip into WSL (Ubuntu)?
I have successfully setup WSL on my Windows 10. I have also successfully downloaded and installed Python3. However, I am unable to get pip. How do I get pip?gyu@LAPTOP-PR3:/mnt/c/Windows/system32$...
View ArticleHow to install package for Ubuntu kernel on WSL2
I am trying to attach an usb to my WSL 2 running Ubuntu 20.04.But there is a problem, then I try to use usbip it prompt the followingmessage:WARNING: usbipd not found for kernel 5.10.16.3-microsoft You...
View ArticleNetwork is unreachable (HTTPS works fine, HTTP does't work)
I have a home network behind a microtik router (The most simple configuration). The computer connected to the router works stably and everything is OK. WSL with Ubuntu can't knock anywhere on http, but...
View ArticleEnvironment Variables not working in WSL
I have used the commandsexport http_proxy=address:portandexport https_proxy=address:portto set http and https proxy in bash in WSL. But every time I open bash, the environment variables are becoming...
View ArticleWhy is the mysql-server package from mysql.com missing server files?
I'm usually not using Ubuntu, but decided to give it a try today because it's the preferred distro for Windows Subsystem for Linux, that I wanted to try today to see if/how it could replace my VMWare...
View Article