[libvirt] Using Restore in another host.

Michal Novotny minovotn at redhat.com
Tue Apr 5 16:09:02 UTC 2011


On 04/05/2011 06:07 PM, Marcela Castro León wrote:
> Yes, its say that recover all right and the guest is running, but I
> cannot connect doing ssh, and in the virt-manager say "connecting to
> graphical console".
> I've  just  found in the log:
>
> *radic at rionegro:/var/log/libvirt/qemu$ sudo cat chompi1.log *
> *LC_ALL=C
> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
> QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12
> -enable-kvm -m 4096 -smp 4 -name chompi1 -uuid
> 22f013aa-25d4-b317-9eac-b232692db8c7 -chardev
> socket,id=monitor,path=/var/lib/libvirt/qemu/chompi1.monitor,server,nowait
> -monitor chardev:monitor -boot c -drive
> file=/home/radic/mv/discoguest/chompi1.img,if=ide,index=0,boot=on,format=raw
> -drive if=ide,media=cdrom,index=2,format=raw -net
> nic,macaddr=52:54:00:82:ce:80,vlan=0,model=virtio,name=virtio.0 -net
> tap,fd=33,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial
> chardev:serial0 -parallel none -usb -vnc 127.0.0.1:0
> <http://127.0.0.1:0> *


Well, I guess this is the problem since you have the VNC server bound to
127.0.0.1 which is localhost-only access. You have to change the libvirt
configuration to put 0.0.0.0 there instead to bind to all network
interfaces and not just loopback interface.

Michal

-- 
Michal Novotny <minovotn at redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat




More information about the libvir-list mailing list