diff options
author | Christian Limpach <Christian.Limpach@xensource.com> | 2006-10-05 14:53:29 +0100 |
---|---|---|
committer | Christian Limpach <Christian.Limpach@xensource.com> | 2006-10-05 14:53:29 +0100 |
commit | 56525bb66945dd24fd23b519ac30359a1a9e6c49 (patch) | |
tree | e21ad76718e1743dc5187b899e83a2b1442f9e69 /tools/examples/xmexample.hvm | |
parent | 192d7f59564cbcea44000d35e49643d895cdeffd (diff) | |
download | xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.gz xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.bz2 xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.zip |
[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
that the VNC server from qemu listens on.
Defaults to only listen on 127.0.0.1
The old behaviour (listen on all interfaces) can be restored, by
- changing the system-wide default in /etc/xen/xend-config.sxp by adding:
(vnc-listen '0.0.0.0')
- changing individual domain config files by adding:
vnclisten="0.0.0.0"
Also allows specifying the hostname associated with an interface to limit
to that interface.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r-- | tools/examples/xmexample.hvm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index 731500225f..cc683d42c2 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -132,6 +132,11 @@ sdl=0 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 |