search for: vnc_base_port

Displaying 2 results from an estimated 2 matches for "vnc_base_port".

2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...urns the port that the vncviewer is listening on and sets the global - vncpid. On failure, returns 0. Note that vncviewer is daemonized. - """ - vncargs = (["vncviewer", "-log", "*:stdout:0", - "-listen", "%d" % (VNC_BASE_PORT + display) ]) - global vncpid - vncpid = utils.daemonize("vncviewer", vncargs) - if vncpid == 0: - return 0 - - return VNC_BASE_PORT + display - -def preprocess_vnc(vals): - """If vnc was specified, spawn a vncviewer in listen mode - and pass its ad...
2006 Jul 13
3
[PATCH] Update new qemu-dm to spawn vncviewer
...ols-ioemu/vl.c --- xen-unstable.hg-dm-/tools/xs-tools-ioemu/vl.c 2006-06-30 15:41:14.000000000 -0600 +++ xen-unstable.hg-dm/tools/xs-tools-ioemu/vl.c 2006-07-12 16:16:42.000000000 -0600 @@ -111,6 +111,8 @@ /* XXX: use a two level table to limit memory usage */ #define MAX_IOPORTS 65536 +#define VNC_BASE_PORT 5900 + const char *bios_dir = CONFIG_QEMU_SHAREDIR; char phys_ram_file[1024]; void *ioport_opaque[MAX_IOPORTS]; @@ -121,6 +123,7 @@ int bios_size; static DisplayState display_state; int nographic; +int vncviewer; const char* keyboard_layout = NULL; int64_t ticks_per_sec; int boot_device =...