MacOS, virt-viewer, no running virtual machine found?

dane_fisher

New Member
Nov 29, 2022
6
1
3
Hi,

Proxmox 8.0.3 currently installed in VMware Workstation 17.

Firewall on the system that runs VMware is off, the same is true for Proxmox (on Datacenter level).

I've installed Windows 11 as a new VM and installed the necessary spice stuff on it as well.

When I get the pve-spice.vv file and open it with remote-viewer on a Windows machine it connects to the VM flawlessly.

I've installed virt-viewer on MacOS via
Code:
brew tap jeffreywildman/homebrew-virt-manager
brew install virt-viewer

When I download the pve-spice.vv file there and open it via:
Code:
/opt/homebrew/bin/virt-viewer -v --debug ~/Downloads/pve-spice.vv

I'll only get the message:
Code:
Failed to connect: No running virtual machine found

and inside the terminal:
Code:
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.822: keymap string is empty - nothing to do

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.859: connecting ...
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.859: Opening connection to libvirt with URI <null>
Opening connection to libvirt with URI <null>
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: initial connect
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: notebook show status 0x150f39c30
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: Cannot find guest /Users/dane/Downloads/pve-spice.vv

Any idea why it doesn't work?
 
Code:
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: Cannot find guest /Users/dane/Downloads/pve-spice.vv
this looks like this version of virt-viewer does not expect a file but some id instead? is there some '--help' flag or a manpage?
 
Thanks for the reply.

You're right, virt-viewer doesn't accept a .vv file :/

I tried a few variations
-c qemu+ssh://root@192.168.0.135/system
-c "qemu+ssh://root@192.168.0.135/system?socket=/var/run/libvirt/libvirt-sock"
with the vm's id and name behind it but it wasn't able to connect.

I then tried remote-viewer with the .vv file and that does work.

The not so funny thing is: The whole thing isn't usable...

I've opened notepad inside the Windows 11 vm, typed "hello", selected it, right click on the selection, "copy" and that's enough to kill the remote-viewer client...

Code:
Gdk:ERROR:../gdk/quartz/gdkeventloop-quartz.c:585:select_thread_collect_poll: assertion failed: (ufds[i].fd == current_pollfds[i].fd)
Bail out! Gdk:ERROR:../gdk/quartz/gdkeventloop-quartz.c:585:select_thread_collect_poll: assertion failed: (ufds[i].fd == current_pollfds[i].fd)
zsh: abort      /opt/homebrew/bin/remote-viewer ~/Downloads/pve-spice.vv
 
Last edited:
You're right, virt-viewer doesn't accept a .vv file :/

I tried a few variations
-c qemu+ssh://root@192.168.0.135/system
-c "qemu+ssh://root@192.168.0.135/system?socket=/var/run/libvirt/libvirt-sock"
with the vm's id and name behind it but it wasn't able to connect.
that won't work, pve does not use libvirt, using remote-viewer + the .vv file is the way to go


The not so funny thing is: The whole thing isn't usable...

I've opened notepad inside the Windows 11 vm, typed "hello", selected it, right click on the selection, "copy" and that's enough to kill the remote-viewer client...

Code:
Gdk:ERROR:../gdk/quartz/gdkeventloop-quartz.c:585:select_thread_collect_poll: assertion failed: (ufds[i].fd == current_pollfds[i].fd)
Bail out! Gdk:ERROR:../gdk/quartz/gdkeventloop-quartz.c:585:select_thread_collect_poll: assertion failed: (ufds[i].fd == current_pollfds[i].fd)
zsh: abort /opt/homebrew/bin/remote-viewer ~/Downloads/pve-spice.vv
that's too bad, but there isn't really anything that we can do from our side for this...
 
that's too bad, but there isn't really anything that we can do from our side for this...
Of course! This wasn't meant as a rant regarding Proxmox. Sorry for not being more clear about this!
 
  • Like
Reactions: dcsapak
Hi,

Proxmox 8.0.3 currently installed in VMware Workstation 17.

Firewall on the system that runs VMware is off, the same is true for Proxmox (on Datacenter level).

I've installed Windows 11 as a new VM and installed the necessary spice stuff on it as well.

When I get the pve-spice.vv file and open it with remote-viewer on a Windows machine it connects to the VM flawlessly.

I've installed virt-viewer on MacOS via
Code:
brew tap jeffreywildman/homebrew-virt-manager
brew install virt-viewer

When I download the pve-spice.vv file there and open it via:
Code:
/opt/homebrew/bin/virt-viewer -v --debug ~/Downloads/pve-spice.vv

I'll only get the message:
Code:
Failed to connect: No running virtual machine found

and inside the terminal:
Code:
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.822: keymap string is empty - nothing to do

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)

(virt-viewer:45485): virt-viewer-WARNING **: 13:02:31.825: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.859: connecting ...
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.859: Opening connection to libvirt with URI <null>
Opening connection to libvirt with URI <null>
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: initial connect
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: notebook show status 0x150f39c30
(virt-viewer:45485): virt-viewer-DEBUG: 13:02:31.884: Cannot find guest /Users/dane/Downloads/pve-spice.vv

Any idea why it doesn't work?
Hi @Dane, I have the some problem, did you find a solution?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!