sorry ,I misunderstand your meaning.<br>I try with 'virsh -c qemu+ssh://<a href="http://root@192.168.7.126/system">root@192.168.7.126/system</a>' as follows:<br><br>root@Optiplex-780:/var/log/apache2# virsh -c qemu+ssh://<a href="http://192.168.7.126/system">192.168.7.126/system</a><br>
<a href="mailto:root@192.168.7.126">root@192.168.7.126</a>'s password: <br>error:server closed connection: <br>error:连接到管理程序失败(failed to connect to the monitor?)<br>root@Optiplex-780:/var/log/apache2# <br><br>best regards,<br>
qinguan<br><br><div class="gmail_quote">2011/5/5 Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, May 05, 2011 at 06:46:32PM +0800, guan qin wrote:<br>
> yeh,it's working !<br>
> I can see that the VM already running and never kill itself now.<br>
> I appreciate your help very much.<br>
><br>
> but I meet another problem after I upgrade the libvirt version from 0.8.3 to<br>
> 0.9.0.<br>
> I find that if I use "virt-viewer -c<br>
</div>> qemu+ssh://<a href="http://192.168.7.126/systemvt_d_ubuntu" target="_blank">192.168.7.126/systemvt_d_ubuntu</a>",<br>
<div class="im">> the machine shows a message that "Unable to connect to libvirt with URL<br>
> qemu+ssh://<a href="http://192.168.7.126/system" target="_blank">192.168.7.126/system</a> ".<br>
<br>
</div>This is ssh'ing as an unprivileged user, and so it likely doesn't have<br>
permission for the socket. You can try  'qemu+ssh://<a href="http://root@192.168.7.126/system" target="_blank">root@192.168.7.126/system</a>'<br>
instead<br>
<br>
Also see these pages<br>
<br>
  <a href="http://wiki.libvirt.org/page/Main_Page#SSH" target="_blank">http://wiki.libvirt.org/page/Main_Page#SSH</a><br>
<div><div></div><div class="h5"><br>
Daniel<br>
--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/%7Edanberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</div></div></blockquote></div><br>