[virt-tools-list] Fwd: Remote VM no display

Daniel P. Berrangé berrange at redhat.com
Mon Jun 4 08:50:09 UTC 2018

On Sat, Jun 02, 2018 at 10:10:23AM -0400, Ross Decker wrote:
> I recently changed my desktop from Centos Server (GUI) to RHEL WS 7.5
> (required by employer). With my Centos server as a desktop all worked
> good.
> Now:
> Desktop = rhel WS 7.5
> Remote server = Centos 7 Server (CLI)
> I launch virt-manager on my rhel desktop and all VM's work great. I
> connect to my remote server and I'm asked by ksshaskpass for the root
> password and connection is made with remote vm's displayed in
> virt-manager.
> I launch a remote vm, and I'm asked again by ksshaskpass for the root
> password = no good, it just keeps asking. The VM launches (remote
> server verifies that with virt-top) but I don't get any display.

By default virt-manager creates VMs using SPICE remote display protocol.
Using SPICE requires openin of many TCP connections (as many as 10 in
some cases). So if you've not setup SSH agent with keys, you are going
to see a large number of password prompts due to all the connections
that must be opened.

We strongly recommend against relying on password prompting - SSH agent
and keys are what you should aim for otherwise usability is horrible with
all the password prompting.

|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

More information about the virt-tools-list mailing list