cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
281 stars 73 forks source link

Desktop viewer page - more advice to the user for virt-viewer #1793

Open paul-hammant opened 1 month ago

paul-hammant commented 1 month ago

Page: VM -<> Console [Desktop Viewer]

Currently that shows

image

This would be even better if it also suggested: virt-viewer --connect qemu+ssh://user@domainOfKvmHost/system guestDomainName in the page. user, domainOfKvmHost and guestDomainName are vars that cockpit will be able to supply

Side note: On RockyLinux 9.4 with Cockpit and libvirt and all that, the Launch button causes a download of a file without a .vv suffix. If it was supposed to be handled by the browser without that being a download, that didn't happen.

garrett commented 1 week ago

We do have a pending redesign of this page (for the past few years); it would be good to integrate this into that, whenever someone works on it. (https://github.com/cockpit-project/cockpit-machines/issues/553#issuecomment-1061581973)

Meanwhile, adding a suggested command like that could make sense.