mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Fix vncviewer spawning so it actually works.
How did this ever work for other people?
This commit is contained in:
1 parent
873985d3e4
commit
2fc4655033
1 file changed
+1
-1
@@ -756,7 +756,7 @@ def choose_vnc_display():
|
||||
vncpid = None
|
||||
|
||||
def spawn_vnc(display):
|
||||
vncargs = (["vncviewer" + "-log", "*:stdout:0",
|
||||
vncargs = (["vncviewer", "-log", "*:stdout:0",
|
||||
"-listen", "%d" % (VNC_BASE_PORT + display) ])
|
||||
global vncpid
|
||||
vncpid = os.spawnvp(os.P_NOWAIT, "vncviewer", vncargs)
|
||||
|
||||