[virt-tools-list] Connect virt-viewer to VM on remote host?
Daniel P. Berrange
berrange at redhat.com
Mon Apr 30 08:34:52 UTC 2012
On Sat, Apr 28, 2012 at 09:54:51AM -0500, Jonathan E. Brickman wrote:
> I have a SPICE-enabled QEMU VM running on a host, with SPICE-enabled
> virt-viewer available on both the same host and a nearby machine on
> the LAN; when I try to connect thusly:
>
> virt-viewer --connect qemu://host GuestName
>
> it pops up "Unable to connect to libvirt with URI qemu://host".
If that really is the URL you used, then you're missing the '/system'
part of the end ie you need
qemu://hostname/system
NB, this is assuming you've configured TLS &
> Already verified that firewall is off on the host (it's Arch Linux).
> Is there something else to do to permit connection like this? I've
> also tried by VM number (there's only 1 right now) and UUID, same
> results. I can reach the host by GUI through virt-manager very
> well, working very nicely with sound and everything.
If you look at the connection details in virt-manager, it should tell
you the full URI it used - use exactly the same URI with virt-viewer.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the virt-tools-list
mailing list