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

Re: [virt-tools-list] Connect virt-viewer to VM on remote host?



On Fri, May 04, 2012 at 07:34:01AM -0500, Jonathan E. Brickman wrote:
> >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&
> What is "TLS &" ?  I tried this:

TLS is an encryption protocol - same one used by HTTPS. If you
don't know what it is, then I'm sure you've not configured it :-)

> virt-viewer --connect qemu://hostname/system virtname

This kind of URI uses TLS

> which gave me a popup saying "Unable to connect Unable to connect to
> libvirt with URI qemu://..."

Yep, this tells me that TLS is not configured.

Given that you are able to use it from virt-manager, I'd guess
you're using SSH tunnelling in virt-manager. So try a URI like

  qemu+ssh://root hostname/system

> >>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.
> I tried to find connection details in virt-manager, could not.
> Where is this to be found?

In the main virt-manager screen, highlight your connection and use
the menu bar  Edit -> Connection Details.  On the 'Overview' tab
in the dialog that pops up the first line shows 'Connection: [YOUR URI]'

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


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