-----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
I found not much information on this error, so I need your help. /var/log/messages says:
2014-03-24T21:25:55.023525+01:00 HOSTX sshd[3509]: Accepted publickey for testuser from 192.168.79.8 port 54176 ssh2 2014-03-24T21:25:55.024744+01:00 HOSTX sshd[3509]: pam_unix(sshd:session): session opened for user testuser by (uid=0) 2014-03-24T21:25:55.025717+01:00 HOSTX kernel: [ 3162.225673] type=1006 audit(1395692755.024:69): pid=3509 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=24 res=1 2014-03-24T21:25:55.027501+01:00 HOSTX systemd[1]: Starting Session 24 of user testuser. 2014-03-24T21:25:55.027918+01:00 HOSTX systemd-logind[703]: New session 24 of user testuser. 2014-03-24T21:25:55.028213+01:00 HOSTX systemd[1]: Started Session 24 of user testuser. 2014-03-24T21:25:55.081719+01:00 HOSTX sshd[3511]: Received disconnect from 192.168.79.8: 11: disconnected by user 2014-03-24T21:25:55.082095+01:00 HOSTX sshd[3509]: pam_unix(sshd:session): session closed for user testuser 2014-03-24T21:25:55.086268+01:00 HOSTX systemd-logind[703]: Removed session 24.
I am curious about the "disconnected by user" line, but I could not figure out what causes this line. I tried adding the libvirt rules to /etc/polkit-default-privs.local and all kinds of javascript stuff to /etc/polkit-1/rules.d/, but to no avail. Is configuring polkit necessary anymore? I am using Tumbleweed, which means libvirt* is 1.1.2-2.18.3.x86_64 and polkit is polkit-0.112-2.1.x86_64. Regards, Johannes - -- Osama bin Laden might wish to destroy America, but America is too big for him; he cannot do it. Bush may really do it. (Richard M. Stallman) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlMwmlcACgkQzi3gQ/xETbJrggCffwnL4SvZeTWKqMXKX5/wiq9a +SgAnRAJogyyyA2equDI6EyRz0GPwIW/ =9WvP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org