libvirt非TLS连接

即使在libvirtd.conf中将tls设置为0,virsh似乎也需要TLS。 我宁愿不使用TLS,因为我在一个安全的环境中工作,因此TLS只会增加复杂性,但不会增加任何安全性(如果您有能力利用纯文本,我有更大的问题在我手上)。

我已经画空白,在谷歌方面find解决办法。 每次我试图做一个远程virsh连接它说,没有证书安装(这是真的)。

你可以使用'spicy'(来自Fedora上的'yum install spice-gtk-tools')直接打开spice显示。

样品:

$ virsh domdisplay 10 spice <== figure out 'spice port' of target VM spice://localhost:5906 <== well it is listen on localhost:5906' $ spicy -h localhost -p 5906 <== then use spicy to open spice display. 

祝你好运:)