Created
          July 16, 2019 17:14 
        
      - 
      
 - 
        
Save UbuntuEvangelist/cd95160a54883975e756cf6e840fb588 to your computer and use it in GitHub Desktop.  
    Remote Desktop
  
        
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # Ubuntu (GNOME) 18.04 Enable VNC with no encryption | |
| sudo apt install gconf2 -y | |
| sudo ufw allow from any to any port 5900 proto tcp | |
| gconftool-2 --set --type=bool /desktop/gnome/remote_access/enabled true | |
| gsettings set org.gnome.Vino prompt-enabled false | |
| gsettings set org.gnome.Vino require-encryption false | |
| echo $'\n'$"*** Encryption Disabled ***" | |
| echo $'\n'$"*** Launching Settings ***" | |
| echo $'\n'$"*** Select Sharing - Screen Sharing - Turn On and Enter a Password ***" | |
| gnome-control-center | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment