[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] Controlling VNC console port
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |