如何通过Ubuntu18.04的终端设置vino的密码?
这里 --它使用vino-passwd命令,但这给了我vino-passwd: command not found。
发布于 2019-02-21 02:10:42
我还没有在18.04上做过专门的尝试,但在过去,我已经成功地使用了used来做到这一点:
gsettings set org.gnome.Vino vnc-password $(echo -n 'mypasswd'|base64)用于Vino的Arch Wiki描述了可以使用using修改的其他一些有用的选项。我的标准是:
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino require-encryption false
gsettings set org.gnome.Vino vnc-password $(echo -n 'mypasswd'|base64)
gsettings set org.gnome.settings-daemon.plugins.sharing active true
eths=$(nmcli -t -f uuid,type c s --active | grep 802 | awk -F ":" '{ print "'\''" $1 "'\''" }' | paste -s -d, -)
gsettings set org.gnome.settings-daemon.plugins.sharing.service:/org/gnome/settings-daemon/plugins/sharing/vino-server/ enabled-connections "[ $eths ]"同样,上面的测试没有在18.04,所以你的里程可能会有所不同。
https://askubuntu.com/questions/1112127
复制相似问题