WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] [Solved] Xen fixed VNC Ports -- HVM and PV

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] [Solved] Xen fixed VNC Ports -- HVM and PV
From: Bruno Bertechini <bruno.bertechini@xxxxxxxxxxx>
Date: Sat, 18 Oct 2008 11:50:23 -0300
Delivery-date: Sat, 18 Oct 2008 07:51:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Acensco Tecnologia
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckxMNl3KqEEzq2AQHORzbXMR2odNw==

Dear all,

 

In case of someone else is trying to do the same configuration as mine, I stated below the steps to configure HVM and PV’s domains to use FIXED VNC Ports (instead of having Xen automatically assign one unused port based on domain id):

 

For HVM’s:

 

vnc=1               # Enable VNC

vncconsole=0    # Don’t start vncviewer after “create” the domain

vncunused=0     # Don’t automatically assign unused port based on domain id

vncdisplay=2     # VNC Port Number to be added to “59”. e.g.:  vncdisplay=2  : port=5902 ,  vncdisplay=30 : port 5930

 

For PV’s

 

vfb=["type=vnc,vncunused=0,vncdisplay=44"]

 

Same configuration items from HVM’s, but the config lines are different. They should be inside the vfb property. (Do not need any other line).

 

It makes xen understand it and assign correct ports:

 

lsof –i | grep 59

 

qemu-dm  10052             root    7u  IPv4  22548       TCP 127.0.0.1:5926 (LISTEN)

qemu-dm  11059             root    6u  IPv4  24794       TCP 127.0.0.1:5944 (LISTEN)

qemu-dm  11551             root    7u  IPv4  25447       TCP 127.0.0.1:5923 (LISTEN)

 

I hope it helps J

 

Regards

 

Bruno Bertechini

Project Manager

Acensco Technology

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] [Solved] Xen fixed VNC Ports -- HVM and PV, Bruno Bertechini <=