Created
July 12, 2020 13:05
-
-
Save yunghoy/73d444611ecfddb1a92aacea8ac4b4a9 to your computer and use it in GitHub Desktop.
snap in WSL2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment