aboutsummaryrefslogtreecommitdiff
path: root/rwa/support/sessionservice/vnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'rwa/support/sessionservice/vnc.py')
-rw-r--r--rwa/support/sessionservice/vnc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rwa/support/sessionservice/vnc.py b/rwa/support/sessionservice/vnc.py
index f41efce..a608736 100644
--- a/rwa/support/sessionservice/vnc.py
+++ b/rwa/support/sessionservice/vnc.py
@@ -48,7 +48,7 @@ def run_vnc(pw_filename: str) -> Dict[str, Dict[str, int]]:
port_vnc = port_for.select_random()
# Start VNC process
- p = subprocess.Popen(["x11vnc", "-rfbauth", pw_filename, "-rfbport", f"{port_vnc}"]) # noqa
+ p = subprocess.Popen(["x11vnc", "-forever", "-rfbauth", pw_filename, "-rfbport", f"{port_vnc}"]) # noqa
# Start websockify
p2 = subprocess.Popen(["websockify", str(port), f"127.0.0.1:{port_vnc}"]) # noqa