Skip to content

Instantly share code, notes, and snippets.

@Alexnder
Created June 25, 2019 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alexnder/72706477a59f677c7841ef0461a545d4 to your computer and use it in GitHub Desktop.
Save Alexnder/72706477a59f677c7841ef0461a545d4 to your computer and use it in GitHub Desktop.
Configure over ssh to accept remote VNC connections by VINO on Ubuntu 16.04 with Unity
export DISPLAY=:0
sudo -Hu youruser dbus-launch gsettings set org.gnome.Vino enabled true
sudo -Hu youruser dbus-launch gsettings set org.gnome.Vino require-encryption false
sudo -Hu youruser dbus-launch gsettings set org.gnome.Vino view-only false
sudo -Hu youruser dbus-launch gsettings set org.gnome.Vino prompt-enabled false
sudo -Hu youruser /usr/lib/vino/vino-server --sm-disable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment