When I try to launch browser from WSL, it provides the following message:
Command '/usr/bin/x-www-browser' requires the chromium snap to be installed.
Please install it with:
snap install chromium
Running snap install chromium
gets me:
error: cannot communicate with server: Post http://localhost/v2/snaps/chromium: dial unix /run/snapd.socket: connect: no such file or directory
gh auth login
should open up the browser to allow for GitHub authentication.wsl --shutdown
and runwsl --update
. Run wsl again and check that the file/etc/wsl.conf
contains just 2 lines:[boot]
andsystemd=true
(if not change it and dowsl --shutdown
again). Now try snap.