Tried to connect to a KVM virtual machine client, using a fresh install of "virt-manager" on Ubuntu 12.04.
The connection was kvm over SSH, but I got the following error message (sorry. German):
Verbindung mit libvirt nicht möglich:
Kann keine Daten empfangen: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
Verify that:
- The 'libvirt-bin' package is installed
- The 'libvirtd' daemon has been started
- You are member of the 'libvirtd' group
[SOLUTION]
It already says: "/usr/bin/ssh-askpass" doesn't exist.
Just install any "ssh-askpass" package that fits your envirionment.
For example:
- "ssh-askpass": simple, rather ugly generic X11 GUI input-dialog
- "ssh-askpass-gnome": GUI input-dialog for Gnome/X11