ProxMox
Good VM management OS with some anti-features.
Getting rid of subscription popup
You do not have a valid subscription for this server
cd /usr/share/javascript/proxmox-widget-toolkit
cp proxmoxlib.js proxmoxlib.js.bac
Open proxmoxlib.js with vi and find checked_command method.
Put orig_cmd() in the success method after let res = response.result; and comment out the entire if/else expression.
It should looks something like that:
checked_command: function(orig_cmd) {
Proxmox.Utils.API2Request(
{
url: '/nodes/localhost/subscription',
method: 'GET',
failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
},
success: function(response, opts) {
let res = response.result;
orig_cmd();
/*
if (res === null || res === undefined || !res || res
.data.status.toLowerCase() !== 'active') {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,
message: Proxmox.Utils.getNoSubKeyHtml(res.data.url),
buttons: Ext.Msg.OK,
callback: function(btn) {
if (btn !== 'ok') {
return;
}
orig_cmd();
},
});
} else {
orig_cmd();
}
*/
},
},
);
},
Save and reload the page with ctrl-R.
You should not see the popup any more.
Connect via SPICE
xi virt-viewer
remote-viewer pve-spice.vv