-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewer
with a pve-spice.vv file downloaded from proxmox web interfaceremote-viewer pve-spice.vv
Check out this useful script for debugging. There are also several other cli tools like this one on GitHub that can be used to test the same sort of thing.
We want remote-viewer to automatically start and open the session when we double click the VM entry in proxmox. To do that we need to first create a small helper application.
-
Launch
Automator
and select Application from the dropdown list, when prompted. -
Search for
shell
and drag to the right. The contents:/usr/local/bin/remote-viewer "$@"
Make sure to select
as arguments
for passing the input. Save as~/Applications/pve-spice-launcher.app
. -
Locate a pve-spice.vv file and right click, and go to
Get Info -> Open With -> Change All
, look for the .app file you just made. -
In Chrome, click on the small arrow on the list of downloads at the bottom, and select "Always open files of this type"
-
If everything is set up correctly you should be able to double-click on the VM in the left pane of Proxmox and remote-viewer should start up and take care of the rest.
Note: the pve-spice.vv files will be automatically deleted by remote-viewer
Enjoy!
Virt-{manager,viewer} and Remote are heavily dependend on various packages.
Remote viewer bottled and then rebuild from source always terminates when building TLS connection (spice and VNC).
I rebuild the whole toolchest from scratch using jhbuild but soon started over and compiled alle the packages using bleeding edge source code. (x86_64 build) There were a lot of bugs, and i patched the source heavily to get compiled under OSX 12.6.
The only thing that doesn't work is the autostart by using a .vv file.
The arguments won't be added to the ARGV so it won't start automatically, but will be added to the connection list: (open -a RemoteViewer.app --args console.vv works !)
I would appreciate to provide the DMG for testing !
It works with OSX 12.6 (X86_64).
The metal integration and multi screen integration works for me (tested using two monitors)
Here the screenshots !
Best Franz
Open with don't provide the ARGV
Connection list
Working connection