在通过SSH连接到服务器之后,我尝试从命令行跟踪如何通过SSH建立远程桌面共享?,但是vino-preferences似乎只有在我能够访问GUI时才能工作:
> vino-preferences
vino-preferences: command not found此外,当我试图配置xhost时,它会失败:
> export DISPLAY=:0.0 && xhost +
No protocol specified
xhost: unable to open display ":0.0"目前我无法直接访问机器,只能通过SSH访问。
在这种情况下,我如何配置vino服务器?
发布于 2020-03-17 16:19:28
您应该能够使用dconf模式使用gsettings远程管理org.gnome.Vino设置。
$ 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
falsehttps://askubuntu.com/questions/1217878
复制相似问题