Created
          September 3, 2022 01:44 
        
      - 
      
- 
        Save ferbass/6c101b808774157ffa6cf138a15995c0 to your computer and use it in GitHub Desktop. 
    WSL2 Ubuntu enable snap
  
        
  
    
      This file contains hidden or 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 | |
| snap version | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment