search for: spawn_vnc

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

Did you mean: spawn_int
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...iff -r 2571ec1ddde1 tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Tue Sep 16 22:01:28 2008 +0900 +++ b/tools/python/xen/xm/create.py Wed Sep 17 16:57:45 2008 +0900 @@ -1116,39 +1116,7 @@ if port in ports: continue return d return None -vncpid = None -def spawn_vnc(display): - """Spawns a vncviewer that listens on the specified display. On success, - returns the port that the vncviewer is listening on and sets the global - vncpid. On failure, returns 0. Note that vncviewer is daemonized. - """ - vncargs = ([&quo...
2006 Jul 13
3
[PATCH] Update new qemu-dm to spawn vncviewer
...nel command line. """ - if not (vals.vnc and vals.vncviewer) or vals.dryrun: return - vnc_display = choose_vnc_display() - if not vnc_display: - warn("No free vnc display") - return - print ''VNC='', vnc_display - vnc_port = spawn_vnc(vnc_display) - if vnc_port > 0: - vnc_host = get_host_addr() - vnc = ''VNC_VIEWER=%s:%d'' % (vnc_host, vnc_port) - vals.extra = vnc + '' '' + vals.extra + if not vals.vnc or vals.dryrun: return + if vals.vncconnect: + vnc_display = ch...