[libvirt-users] vnc port/listen address ignored when setting machine?

hubert depesz lubaczewski depesz at depesz.com
Thu Jan 16 15:51:07 UTC 2014


Hi,
First of all, I hope it's not a big problem - I'm running on Debian, not
Redhat.

To my problem: I'm starting to learn virtualization, libvirt, and
decided to create some test machine. I did it with:
virt-install --name debian-test \
    --os-type=linux \
    --os-variant=debianwheezy \
    --cdrom /media/media/software/iso/debian-testing-amd64-netinst-2014-01-16.iso \
    --graphics vnc,listen=0.0.0.0,port=20001 \
    --disk pool=default,format=raw,size=20 \
    --ram 2048 \
    --vcpus=2 \
    --network bridge=virbr0 \
    --hvm \
    --virt-type=kvm

Machine starts, but domdisplay shows:
=# virsh domdisplay debian-test
vnc://localhost:14101

When I tried setting it with --grpahics=vnc,...port=40001, I got it to listen
on port 34101 (which is weird anyway, but at least I can change it).

But whatever I do - I can't make it to listen on 0.0.0.0.
I know I can use ssh port forwarding to get to this VNC, but I would very much
prefer to be able to set VNC listen to 0.0.0.0 for at least some of my test
domains.

What am I doing wrong?

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140116/20189c96/attachment.sig>


More information about the libvirt-users mailing list