Created
July 29, 2020 11:43
-
-
Save raghunayak/8302ac26d6ae796db28332878e87a673 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# Immediately exit upon any failures, or undefined variable usage | |
set -ue | |
# Enable Ubuntu included VNC server | |
echo "Enabling VNC server" | |
export DISPLAY=:0 | |
gsettings set org.gnome.Vino enabled true | |
gsettings set org.gnome.Vino prompt-enabled false | |
# Below line would disable the VNC encryption, thereby reducing the security. | |
# However, disabling encryption should make our VNC server more compatible with any VNC clients | |
gsettings set org.gnome.Vino require-encryption false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment