[one-users] Confused about VNC ports with the KVM hypervisor

Gerry O'Brien gerry at scss.tcd.ie
Thu Jan 23 10:05:32 PST 2014


Hi,

     I'm a little confused about VNC ports with the KVM hypervisor. From 
the documentation excerpt below I would have expected that the KVM would 
have had -vnc 0.0.0.0:7744 instead of -vnc 0.0.0.0:1844. Below is also 
the Sunstone Graphice part of the template for the Vm.
     The machine was generated by the OCCI-server. I would like to 
firewall the VM but allow access for ports > 5900 so that users can get 
access to the VNC.

     What is the real port on the host for KVM with -vnc 0.0.0.0:1844?

    Could someone clarify this for me.

         Thanks,
           Gerry




http://docs.opennebula.org/pdf/4.4/opennebula_4.4_user_guide.pdf

Warning:
For KVM hypervisor the port number is a real one, not the VNC port. So 
for VNC port 0 you should
specify 5900, for port 1 is 5901 and so on.


GRAPHICS 	
LISTEN 	0.0.0.0
PORT 	7744
TYPE 	vnc






oneadmin 26348     1 39 17:48 ?        00:00:27 /usr/bin/kvm -S -M 
pc-1.1 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name 
one-1844 -uuid e570e501-f90e-fcc3-215c-43d0ba828349 -no-user-config 
-nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-1844.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc 
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/var/lib/one//datastores/103/1844/disk.0,if=none,id=drive-ide0-0-0,format=qcow2,cache=none 
-device 
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 
-netdev tap,fd=23,id=hostnet0 -device 
rtl8139,netdev=hostnet0,id=net0,mac=02:00:0a:3e:00:04,bus=pci.0,addr=0x3 
-vnc 0.0.0.0:1844 -vga cirrus -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4

-- 
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140123/8b44f64f/attachment-0001.htm>


More information about the Users mailing list