Re: Connect virt-viewer to VM on remote host?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux