WSL error exec: “xdg-open,x-www-browser,www-browser,wslview”: executable file not found in $PATH

Kan Rangsan
Feb 7, 2024

--

Error when trying to open host browser fromWindows 11 and WLS2 Ubuntu

2024/02/07 13:51:51 exec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH

It’s fixed by installing following packages.

sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
sudo apt install wslu

--

--