Skip to content

Instantly share code, notes, and snippets.

@UbuntuEvangelist
Created July 16, 2019 17:14
Show Gist options
  • Save UbuntuEvangelist/cd95160a54883975e756cf6e840fb588 to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/cd95160a54883975e756cf6e840fb588 to your computer and use it in GitHub Desktop.
Remote Desktop
#!/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