I tried to use Snap to install a local copy of Obsidian on the Windows Subsystem for Linux. Couldn’t get it to work, but keeping this update code for reference.
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
