0

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?

dzieciou
  • 101

1 Answers1

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
true

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

$ DISPLAY=:0 gsettings get org.gnome.Vino require-encryption
false
steeldriver
  • 142,475