On 03/24/2014 02:49 PM, Johannes Kastl wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi everyone,
maybe this is an old issue, but I am just starting to set up my machines with libvirt and qemu-kvm, and tried using a remote connection.
I already changed the following lines in libvirtd.conf: unix_sock_group = "libvirt" unix_sock_rw_perms = "0770" auth_unix_rw = "none"
I made my user a member of said group 'libvirt'. And I restarted both libvirtd and polkit.
I can connect as local user via virsh -c qemu:///sytem without a password prompt. I can also ssh into the remote host with my ssh key without problems.
Trying from another machine (say hostname HOSTX, username testuser) with virsh -c qemu+ssh://testusers@HOSTX/system always results in
error: failed to connect to the hypervisor error: internal error: received hangup / error event on socket
Unfortunately, you can't use polkit remotely. I think you are suffering the same problem I wasted time investigating several years ago http://www.redhat.com/archives/libvir-list/2010-November/msg00820.html Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org