Giter Site home page Giter Site logo

Comments (7)

ryanlovett avatar ryanlovett commented on June 18, 2024 1

Closing since I think https://github.com/ryanlovett/nbnovnc/ is a good enough example / starting point for this.

from jupyter-server-proxy.

ryanlovett avatar ryanlovett commented on June 18, 2024

nbserverproxy can easily serve up the noVNC client, but it is more challenging (for me at least) to get noVNC to connect to a VNC server running in the notebook server. noVNC isn't a server-side VNC client. (though I don't know enough about node to know whether noVNC can run server-side) (edit: no, this can be done)

Another possibility besides noVNC is GTK+ broadway where gvncviewer acts as the server-side VNC client and exports its display via broadway. nbserverproxy doesn't support websocket subprotocol sufficiently for this to work since broadway uses that feature. Or at least, I've run into a problem when specifying the subprotocol type.

Also, @minrk's list post:
https://groups.google.com/forum/#!searchin/jupyter/vnc$20javascript%7Csort:date/jupyter/iQCJkHIw7wo/jNcW5GoYAwAJ

from jupyter-server-proxy.

ryanlovett avatar ryanlovett commented on June 18, 2024

Scratching what I wrote in the first paragraph. novnc let's you specify the full path to the websocket.

PR #26 will enable both novnc and broadway to work.

from jupyter-server-proxy.

mbmilligan avatar mbmilligan commented on June 18, 2024

Oh very cool, this satisfies a feature request I've been getting for months for my Jupyterhub deployment. Looking forward to seeing a release with this!

So, who wants to start putting together the vnc equivalent of nbrsessionproxy?

from jupyter-server-proxy.

ryanlovett avatar ryanlovett commented on June 18, 2024

Hi @mbmilligan,

Check out https://github.com/ryanlovett/nbnovnc/. Also try its binder. Still early but let me know what you think.

from jupyter-server-proxy.

mbmilligan avatar mbmilligan commented on June 18, 2024

Nifty - works as a proof of concept, but rather prone to server disconnects. Happy to contribute to getting this working though -- I'll follow up in the linked repo. Thanks!

from jupyter-server-proxy.

ryanlovett avatar ryanlovett commented on June 18, 2024

Thanks @mbmilligan ! I recall viewing video of a talk you gave on how Jupyter fits into your institution's scientific workflow. I vigorously nodded at my desk (to an audience of zero) when you mentioned VNC+Jupyter because I had been thinking the same thing!

from jupyter-server-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.