Open RmsMit opened 4 months ago
This could also be used for a remote graphical install. If the live boot image had Cockpit enabled with this feature it would allow you to run the regular graphical install tool over the browser.
For a site that had iDRAC (with ability to boot remotely from local CD ISO) or some other remote boot option like network boot you could do the whole install remotely and still use the regular graphical install without the need to have specialised install tools.
We have a "GTK Broadway" demo here: https://github.com/cockpit-project/cockpit/tree/main/examples/gtk-broadway
With that you can run a single GTK application that gets rendered into a HTML canvas on a Cockpit page. It's just a demo, but we won't work on anything further in the Cockpit team, as that's not our focus.
Page:
The cockpit terminal is great for running remote commands that are not covered by Cockpit but sometimes you want to run a graphical App remotely. For example virt-manager for more complicated VM control, Gparted for more HD control.
Single app with no setup:
A full Graphical desktop is probably not in keeping with Cockpit project ideals but what I propose here is not remote desktop but running a single app with either VNC,RDP,Spice or embedded in HTTP display of that app. There are tools that could do this with no or minimal config on either end and minimal dependencies on either end.
Being able to bookmark such "remote Applications" would also be very useful and only require minimal local to the cockpit session or even local to the Browser session config.
I suspect if the single app was a desktop-manager like kwin or the gnome equivalent it could be used for whole desktop remote view. But it should not rely on any desktop being installed to view a single app.
Possibilities to consider:
Waypipe that allows you to run single apps and pipe the view over ssh so would work for server remote to the cockpit session also and without requirements of desktop on the server.
There are tools like Guacamole and its underlying VNC/RDP to HTml5 tool guacd as well as noVNC, websockify and bVNC can embed such things into HTML5.
Could also use VNC, RDP or Spice link directly and only do the command to set this up and show the link. This could be done as a link/button directly in the HTML5 terminal and just be a feature of the terminal plugin (ie not a new plugin just a added feature)
*** I am keen to assist in any way with this but am not skilled enough to do this myself (Robert@smitonline.net.au). I can document , test and even help with basic level code stuff with some direction.