A VM can have spice console listen only on the loopback interface, so the only way to connect would be to tunnel the spice connection via SSH. This is so 'by design'.
You'll certainly need an SSH keypair for authentication along with the ssh-agent (if your private key is password protected). I'm using something like:
virt-viewer --connect qemu+ssh://<hypervisor_hostname>/system <vm_id>
Regards, Milos.
Quoting hw hw@gc-24.de:
Felipe Salvador wrote:
On Wed, Aug 30, 2017 at 04:55:45PM +0200, hw wrote:
Hi,
how do I connect to a VM running on a removte machine with some sort of spice client? There doesn´t seem to be any spice client available in Centos 7 that works.
virt-viewer?
That only says it´s unable to connect.
The XML-dump says:
<graphics type='spice' port='5901' autoport='no' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics>
I remember it was working somehow, now it doesn´t. And I don´t remember what client I used. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos