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?
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
(following https://askubuntu.com/questions/888683/gsettings-error-using-the-memory-backed) and it helped. – dzieciou Mar 17 '20 at 16:42