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

RE: [Xen-users] Controlling VNC console port

To: "'David Dyer-Bennet'" <dd-b@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Controlling VNC console port
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Wed, 17 Sep 2008 16:31:21 -0400
Cc:
Delivery-date: Wed, 17 Sep 2008 13:32:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ce3ecebe72520d74f1fd1c2b3a89983f.squirrel@xxxxxxxxxxxxxxxx>
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: PRD, Inc.
References: <ce3ecebe72520d74f1fd1c2b3a89983f.squirrel@xxxxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckY+e7a31kdYQbmR82bFj84+VtWPAACZySQ
        Here are the vnc lines from one of my domUs.  This is in a python
file (/etc/xen/xmexample.hvm).  I don't know how it would be set up in a xml
config file.

#---------------------------------------------------------------------------
-
# enable VNC library for graphics, default = 1
vnc=1

#---------------------------------------------------------------------------
-
# address that should be listened on for the VNC server if vnc is set.
# default is to use 'vnc-listen' setting from /etc/xen/xend-config.sxp
#vnclisten="127.0.0.1"

#---------------------------------------------------------------------------
-
# set VNC display number, default = domid
vncdisplay=1

#---------------------------------------------------------------------------
-
# try to find an unused port for the VNC server, default = 1
vncunused=0

#---------------------------------------------------------------------------
-
# enable spawning vncviewer for domain's console
# (only valid when vnc=1), default = 0
#vncconsole=1

        I believe the included text from xmexample.hvm is self-explanatory
enough, but you need to know that vncdisplay=1 chooses port 5901.  Hope this
helps.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David
Dyer-Bennet
Sent: Wednesday, September 17, 2008 15:15
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Controlling VNC console port

I can't find a way to *control* what port a VNC console for a domU is on.
There's a vncport param to virt-install, but it doesn't seem to do
anything. There doesn't seem to be a parameter in the config files in
/etc/xen at all.

Maybe I can control where dom0 VNC ports appear, though my tests give
inconsistent results.

I need these to be in stable places because they're going to be on systems
in a cluster hidden behind a load-balancer, so I need to set up ssh
tunnels on the load-balancer to allow outside connections to the system
consoles (particularly key for the windows servers in the cluster, but
desirable for all of them).  So that the windows people responsible for
software maintenance on the windows servers don't have to learn Linux and
Xen just to get to the console of their Windows box!


-- 
David Dyer-Bennet, dd-b@xxxxxxxx; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>