The Operator’s WSL Bible

Windows Subsystem for Linux: a practical way to run Linux on Windows. Run Linux GUI applications – through WSLg. There are situations when a powerful Linux desktop is not given. In this case WSL can provide some Linux tooling and flexibility. Operators don’t break. We bend – we adapt.

Continue reading →

Windows as Ansible control host in WSL2

We all want to work smarter, not harder. (Or at least some of us…) Automating the repetitive tasks was always a huge leap forward even before the “DevOps times” when we wrote shell scripts and Perl code to create automation out of the box. Today we have the luxury of choosing between a lot of…

Continue reading →

How to run multiple instances of the same distro in WSL?

Microsoft WSL is a very good technology when we want to run Linux applications on our Windows computer. When we install a distro from the Microsoft Store we can only install one instance of it. But with some work we can have multiple instances of the same distro.

Continue reading →

Fixing the “Error connecting…” issue in Kali KeX on WSL (updated: 2023. 01. 12.)

Requirements: Time to time the Kali desktop on WSL stops working and spits out the following message: Of course the “solution” from the error message does not work.

Continue reading →

How to backup and restore a distro on WSL?

Backing up and restoring WSL distros are easy! Simply exporting the stopped distro into an archive file works pretty well. The archive can be moved on an external disk or cloud share. Restoring a backup is importing back the generated archive. Moreover we can add multiple instances of the same distro with exporting then importing…

Continue reading →

How to backup and restore a distro in WSL?

Backing up and restoring WSL distros is easier than we think! It is simply an export of the (stopped) distro that can be moved on an external disk as an archive. Restoring a backup is importing the generated tar file. Moreover we can add multiple instances of the same distro with exporting and then importing…

Continue reading →

How to use Python virtual environments in Visual Studio Code?

I need both Linux and Windows environments at the same computer. I have been a Linux desktop user for almost 20 years, but some of the tools I use recently require Windows 10. Dual boot was a great solution, but it required double hard disk space and maintenance. One of my daily driver tools is…

Continue reading →