Ubuntu – (KVM) virt-manager stuck in password prompt after open VM

kvm-virtualizationsshUbuntuvirtualization

so i installed a fresh ubuntu server 14.04 with KVM, i'm connecting with my other ubuntu machine using virt-manager.
so after i had permissions problem creating a new VM, i uncomment user="root" and group="root" in /etc/libvirt/qemu.conf and it solved the problem.

but when i try open the graphical console of new VM with virt-manager it stuck in "user@ip" openssh password prompt, no matter how many times i type the password.

same issue with virt-viewer.

i might changed some permissions of folders when trying to solve the first problem. any clue?

p.s.
i did purge the libvirtd and reinstall everything.

Best Answer

I had the same problem

in VM settings change display from "Spice server" to "VNC server" and it should fix the problem.

Issue is, that spice server only allows localhost connection by default. If you want to use spice, than you should change spice setting in hosting machine. Otherwise - use VNC.