OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
294 stars 107 forks source link

noVNC controller #1300

Open msquee opened 3 years ago

msquee commented 3 years ago

This PR is for discussion about creating new controller for VNC sessions. VncController will be a replacement for the current method of accessing VNC sessions in Open OnDemand.

Current problems with the VNC viewer implementation:

Features to keep:

New Features:

Resources: RFB.js (noVNC API) https://novnc.com/noVNC/docs/API.html

The novnc_link function is responsible for building the link to redirect the user to the noVNC session: https://sourcegraph.com/github.com/OSC/ondemand/-/blob/apps/dashboard/app/helpers/batch_connect/sessions_helper.rb?L179

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 2 years ago

I put some work into this in this branch https://github.com/OSC/ondemand/tree/feature/no-vnc-yarn

There are some glaring issues: