I installed docker desktop and ubuntu on windows 10. I followed the following tutorial:
When I was trying to run on the ubuntu console. I got the following error:
/usr/share/code/bin/../code: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
I did not install VS code through the installer due of this error was coming.
Fix for this is.
Run this command on the Ubuntu console:
This fixed my issue.