<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div dir="ltr" style="font-size: 13.2835px; font-family: sans-serif;
left: 105.299px; top: 653.37px; transform: rotate(0deg)
scale(1.04403, 1); transform-origin: 0% 0% 0px;" data-angle="0"
data-font-name="g_font_121_0"
data-canvas-width="54.28952988462069"><br>
Hi,<br>
<br>
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.<br>
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.<br>
<br>
What is the real port on the host for KVM with -vnc
0.0.0.0:1844?<br>
<br>
Could someone clarify this for me.<br>
<br>
Thanks,<br>
Gerry<br>
<br>
<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://docs.opennebula.org/pdf/4.4/opennebula_4.4_user_guide.pdf">http://docs.opennebula.org/pdf/4.4/opennebula_4.4_user_guide.pdf</a><br>
<br>
Warning:</div>
<div dir="ltr" style="font-size: 13.2835px; font-family: sans-serif;
left: 168.947px; top: 653.37px; transform: rotate(0deg)
scale(0.957161, 1); transform-origin: 0% 0% 0px;" data-angle="0"
data-font-name="g_font_87_0" data-canvas-width="541.752920678828">For
KVM hypervisor the port number is a real one, not the VNC port. So
for VNC port 0 you should</div>
<div dir="ltr" style="font-size: 13.2835px; font-family: sans-serif;
left: 105.299px; top: 669.31px; transform: rotate(0deg)
scale(0.92465, 1); transform-origin: 0% 0% 0px;" data-angle="0"
data-font-name="g_font_87_0"
data-canvas-width="224.68984536294568">specify 5900, for port 1 is
5901 and so on.</div>
<br>
<br>
<table id="vm_template_table" class="info_table transparent_table"
style="width:80%">
<tbody>
<tr>
<td class="key_td" style="padding-left:10px; font-weight:bold;
border-bottom:1px solid #CCCCCC; padding-top:6px;
padding-bottom:6px;">GRAPHICS</td>
<td class="value_td" style="border-bottom:1px solid #CCCCCC;
padding-top:6px; padding-bottom:6px"> <br>
</td>
</tr>
<tr>
<td class="key_td" style=" padding-left:35px;
font-weight:normal; border-bottom:0; padding-top:1px;
padding-bottom:1px">LISTEN</td>
<td class="value_td" style=" border-bottom:0; padding-top:1px;
padding-bottom:1px">0.0.0.0</td>
</tr>
<tr>
<td class="key_td" style=" padding-left:35px;
font-weight:normal; border-bottom:0; padding-top:1px;
padding-bottom:1px">PORT</td>
<td class="value_td" style=" border-bottom:0; padding-top:1px;
padding-bottom:1px">7744</td>
</tr>
<tr>
<td class="key_td" style=" padding-left:35px;
font-weight:normal; border-bottom:0; padding-top:1px;
padding-bottom:1px">TYPE</td>
<td class="value_td" style=" border-bottom:0; padding-top:1px;
padding-bottom:1px">vnc</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
<br>
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<br>
<br>
<pre class="moz-signature" cols="72">--
Gerry O'Brien
Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND
00 353 1 896 1341</pre>
</body>
</html>