Visual Studio Code “Failed to Connect to the remote Extension host server”

I have a Windows 11 PC and use Visual Studio Code connected to Windows Subsystem for Linux (WSL). Occasionally, I wake up my PC from sleep mode. I then try to reconnect to WSL from VS Code. And I would get the following error. Failed to connect to the remote extension host server (Error: WebSocket …

Continue reading Visual Studio Code “Failed to Connect to the remote Extension host server”

How to Reset Ubuntu Password in Windows WSL

Background You have a Windows 10 environment with WSL installed and are using a Ubuntu distribution. You forgot the password that was setup when you first setup Ubuntu. You need the password when you install software such as when doing apt install <software>. So here's how: Open windows command prompt. wsl --user root 2. Change …

Continue reading How to Reset Ubuntu Password in Windows WSL

Managing Azure Kubernetes with Windows Subsystem for Linux

Scenario:Building upon my previous blog post Managing Azure with Az CLI and Windows Subsystem for Linux, I want to demonstrate examples and techniques in managing a Kubernetes cluster on Azure Kubernetes Service (AKS) in a bash shell using Windows Subsystem for Linux. As a mainstream Microsoft platform developer and engineer for most of my career, …

Continue reading Managing Azure Kubernetes with Windows Subsystem for Linux