Error message while opening VMM:
Unable to connect to libvirt. You need to install openssh-askpass or similar to connect to this host.
After this is the second time this comes up I tried to reproduce it today. You already posted the answer how to install askpass (thanks), but for the other issue which was already marked a dup - here some details about it.
I installed two Ubuntu systems and set up a user ubuntu@... that can be logged in via ssh keys. One of them had libvirtd and one had virt-manager. It worked right away.
Since you mentioned askpass I removed the ability to login via keys and require a password. But in that case the error message for me seems quite clear. It directly calls for ssh-askpass in the error.
You can - as you did - install askpass, or as I outlined before set up ssh-keys - in both cases it then works fine.
Is that maybe a rather old version of virt-manager? I tried virt-manager in Xenial, Bionic, Cosmic and Disco which all worked quite similar for me.
If all of that doesn't help your case, please outline whatever is special on your user setup as it might be related.
Just install ssh-askpass
sudo apt-get install ssh-askpass
(x)Ubuntu Installations seems to misses that package.
Unable to connect to libvirt qemu+ssh://UserName@IpOfServer:Port/system. Cannot recv data: Der Wert ist zu groß für den definierten Datentyp Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1036, in _do_open self._backend.open(self._do_creds_password) File "/usr/share/virt-manager/virtinst/connection.py", line 144, in open open_flags) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: Cannot recv data: