yuvipanda / jupyter-desktop-server

Run a Linux Desktop on a JupyterHub
BSD 3-Clause "New" or "Revised" License
46 stars 36 forks source link

Investigate websockify without rebind.so #7

Open manics opened 5 years ago

manics commented 5 years ago

Currently the websockify wraps the VNC server. The advantage is that a separate process manager for the VNC server isn't needed. Only websockify needs to be managed by jupyter-server-proxy.

This wrapping behaviour is intended for use with rebind.so to automatically map the VNC server's ports to some other value so that the original port can be websockified.

Since this uses unix sockets rebind.so shouldn't be necessary. I've tried patching websockify to wrap the process without introducing rebind.so but it didn't work. If this could be done websockify could be installed as a pure python package.