Hello,
Not exactly what you are asking for, but have a look at the script here:
https://git.proxmox.com/?p=pve-manager.git;a=blob_plain;f=spice-example-sh;hb=HEAD
It allows you to access your virtual machines without the need of firing
up firefox. It requires curl and remote-viewer. I know it works under
OpenBSD. Maybe you will find it more convenient than downloading the
spice file manually and then trying to fire it up.
Keep in mind the script is not very safe because access credentials are
passed as command line arguments to the script.
Maksim Rodin wrote:
Hello
As Proxmox VE supports viewing VM desktop using SPICE protocol I am
trying to use this feature on OpenBSD.
When I click Console->Spice in Proxmox Web UI (VM tab) I actually download a
file
with some connection info like this:
```
[virt-viewer]
host-subject=OU=PVE Cluster Node,O=Proxmox Virtual
Environment,CN=hv01.domain.tld
ca=-----BEGIN CERTIFICATE-----\n
...
-----END CERTIFICATE-----\n
release-cursor=Ctrl+Alt+R
host=pvespiceproxy:6826c189:102:hv01::481adef8d0faf9b0173eb50f6304fa5020544415
tls-port=61001
type=spice
toggle-fullscreen=Shift+F11
delete-this-file=1
proxy=http://hv01.domain.tld:3128
secure-attention=Ctrl+Alt+Ins
password=1e715616c7970c8fe2e9c231d86f7d8c889f302f
title=VM 102 - addc.domain.tld
```
When on Windows or Linux with spice client installed I can open this
file with virt-viewer and see the screen of the VM.
On OpenBSD when I run
$ virt-viewer Downloads\previously_downloaded_file
it says:
Could not connect: no working VM found
Is there something I can do with it? May be some manual steps are
needed?