From 832d29d46ac030416135f39cf682c70036f97bce Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sat, 30 Mar 2024 18:17:52 +0100 Subject: [PATCH] Check for websockfiy executable alongside vncserver executable --- jupyter_remote_desktop_proxy/setup_websockify.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jupyter_remote_desktop_proxy/setup_websockify.py b/jupyter_remote_desktop_proxy/setup_websockify.py index 7cdbd07b..c6b1f4b9 100644 --- a/jupyter_remote_desktop_proxy/setup_websockify.py +++ b/jupyter_remote_desktop_proxy/setup_websockify.py @@ -12,6 +12,8 @@ def setup_websockify(): raise RuntimeError( "vncserver executable not found, please install a VNC server" ) + if not which('websockify'): + raise RuntimeError("websockify executable not found, please install websockify") # TurboVNC and TigerVNC share the same origin and both use a Perl script # as the executable vncserver. We can determine if vncserver is TigerVNC