Connecting to virtual machine via a spice client

whiggs

New Member
Dec 11, 2024
3
0
1
I just configured the vms in my proxmox instance to allow remote connections via spice, and I am able to connect to the virtual machine from a windows client running virtviewer when I download the ".vv" file from the virtual machine instance page in proxmox. However, this is not ideal for the project that I am working on right now. We want our clients to be able to connect to a specified vm on demand, without the need to download that "vv" file from the portal each time. When opening virtviewer, it prompts the user to enter a "connection address," and even has a list for past connections. When I attempt to plugin what I would think would be the correct connection address to access a vm (spice://<vm ip address>), I get the below error:

Unable to connect to graphic server spice://<vm ip address>

Considering that this was also the error I was getting when trying to connect to a vm via spice prior to starting the spiceproxy daemon, I assume that the value I supplied for the connection address is simply not valid. What value do I need to supply for connection address so that I can reliably remote into a desired vm on demand? Or is there some other method by which I can automate this process? As long as the user is served the vm via virtviewer after having specified that vm without having to do anything else.