I try with 'virsh -c qemu+ssh://root@xxxxxxxxxxxxx/system' as follows:
root@Optiplex-780:/var/log/apache2# virsh -c qemu+ssh://192.168.7.126/system
root@xxxxxxxxxxxxx's password:
error:server closed connection:
error:连接到管理程序失败(failed to connect to the monitor?)
root@Optiplex-780:/var/log/apache2#
best regards,
qinguan
2011/5/5 Daniel P. Berrange <berrange@xxxxxxxxxx>
On Thu, May 05, 2011 at 06:46:32PM +0800, guan qin wrote:> qemu+ssh://192.168.7.126/systemvt_d_ubuntu",
> yeh,it's working !
> I can see that the VM already running and never kill itself now.
> I appreciate your help very much.
>
> but I meet another problem after I upgrade the libvirt version from 0.8.3 to
> 0.9.0.
> I find that if I use "virt-viewer -c
> the machine shows a message that "Unable to connect to libvirt with URLThis is ssh'ing as an unprivileged user, and so it likely doesn't have
> qemu+ssh://192.168.7.126/system ".
permission for the socket. You can try 'qemu+ssh://root@xxxxxxxxxxxxx/system'
instead
Also see these pages
http://wiki.libvirt.org/page/Main_Page#SSH
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list