I've tried to follow How to set up remote desktop sharing through SSH? from command line, after connecting via SSH to the server, but vino-preferences seems to work only if I have access to GUI:

> vino-preferences
vino-preferences: command not found

Also, when I try to configure xhost it fails:

> export DISPLAY=:0.0 && xhost +
No protocol specified
xhost:  unable to open display ":0.0"

I currently have no way to access the machine directly, only via SSH.

How can I configure vino-server in such circumstances?

1 Answer 1


You should be able to manage the dconf settings remotely using gsettings, using the org.gnome.Vino schema

$ DISPLAY=:0 gsettings get org.gnome.Vino require-encryption

$ DISPLAY=:0 gsettings set org.gnome.Vino require-encryption 'false'

$ DISPLAY=:0 gsettings get org.gnome.Vino require-encryption
  • I was getting "GLib-GIO-Message: 17:36:40.062: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.". I've executed export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/ (following askubuntu.com/questions/888683/…) and it helped.
    – dzieciou
    Mar 17, 2020 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.