Hello,<br>using F11 + rawvirt repo.<br>I would like to connect from my virt-manager from this F11 to a RH EL 5.4 xen Hypervisor. Is it possible?<br>On the RH EL host, root access via ssh is prevented and I don't want to use a CA certficate at the moment.<br>
Also I cannot export DISPLAY env so I cannot directly ssh to the host and run its virt-manager program....<br><br>I tried to edit /etc/libvirtd/libvirtd.conf on rh el 5.4 host adding<br>unix_sock_group = "mygroup"<br>
<br>and then trying to connect with one user of this group. Is this setting correct as I intended it?<br><br>When in virt-manager of F11 I try to create new connection, it seems I'm only able to create a session of type<br>
<br>xen+ssh://root@myrhel54host/<br><br>and not of type<br>xen+ssh://myuser@myrhel54host<br><br>Any hints?<br>Also, as in virt-manager this connection fails to create (root prevented from ssh directly as said above), I would like to delete it... but I didn't find an option for this;<br>
In virt-manager only "connect" and "details" options are available....<br><br>these are messages in virsh session when setting LIBVIRT_DEBUG=1<br><br>virsh # connect xen+ssh://unix@myrhel54host<br>17:23:44.911: debug : virConnectClose:1291 : conn=0x65de70<br>
17:23:44.911: debug : virUnrefConnect:257 : unref connection 0x65de70 1<br>17:23:44.911: debug : remoteIO:7421 : Do proc=2 serial=3 length=28 wait=(nil)<br>17:23:44.911: debug : remoteIO:7483 : We have the buck 2 0x67db20 0x67db20<br>
17:23:44.912: debug : remoteIODecodeMessageLength:7032 : Got length, now need 56 total (52 more)<br>17:23:44.912: debug : remoteIOEventLoop:7347 : Giving up the buck 2 0x67db20 (nil)<br>17:23:44.912: debug : remoteIO:7514 : All done with our call 2 (nil) 0x67db20<br>
17:23:44.912: debug : virReleaseConnect:214 : release connection 0x65de70<br>17:23:44.912: debug : virConnectOpenAuth:1273 : name=xen+ssh://unix@myrhel54host, auth=0x7fb212bc40a0, flags=0<br>17:23:44.912: debug : do_open:1042 : name "xen+ssh://unix@myrhel54host" to URI components:<br>
  scheme xen+ssh<br>  opaque (null)<br>  authority (null)<br>  server myrhel54host<br>  user unix<br>  port 0<br>  path (null)<br><br>17:23:44.912: debug : do_open:1052 : trying driver 0 (Test) ...<br>17:23:44.912: debug : do_open:1058 : driver 0 Test returned DECLINED<br>
17:23:44.912: debug : do_open:1052 : trying driver 1 (Xen) ...<br>17:23:44.912: debug : do_open:1058 : driver 1 Xen returned DECLINED<br>17:23:44.912: debug : do_open:1052 : trying driver 2 (OPENVZ) ...<br>17:23:44.912: debug : do_open:1058 : driver 2 OPENVZ returned DECLINED<br>
17:23:44.912: debug : do_open:1052 : trying driver 3 (PHYP) ...<br>17:23:44.912: debug : do_open:1058 : driver 3 PHYP returned DECLINED<br>17:23:44.912: debug : do_open:1052 : trying driver 4 (VBOX) ...<br>17:23:44.912: debug : do_open:1058 : driver 4 VBOX returned DECLINED<br>
17:23:44.912: debug : do_open:1052 : trying driver 5 (ESX) ...<br>17:23:44.912: debug : do_open:1058 : driver 5 ESX returned DECLINED<br>17:23:44.912: debug : do_open:1052 : trying driver 6 (remote) ...<br>17:23:44.912: debug : doRemoteOpen:535 : proceeding with name = xen://<br>
17:23:44.912: debug : virExecWithHook:609 : ssh -l unix myrhel54host nc -U /var/run/libvirt/libvirt-sock<br>17:23:44.917: debug : remoteIO:7421 : Do proc=66 serial=0 length=28 wait=(nil)<br>17:23:44.918: debug : remoteIO:7483 : We have the buck 66 0x6bde80 0x6bde80<br>
17:23:44.924: debug : remoteIOEventLoop:7368 : Giving up the buck due to I/O error 66 0x6bde80 (nil)<br>17:23:44.924: debug : do_open:1058 : driver 6 remote returned ERROR<br>17:23:44.924: debug : virUnrefConnect:257 : unref connection 0x65e260 1<br>
17:23:44.924: debug : virReleaseConnect:214 : release connection 0x65e260<br>error: Failed to connect to the hypervisor<br>error: cannot recv data: Connection reset by peer<br><br><br>Thanks,<br>Gianluca<br><br>