Oh - that's odd, as I'm using Firefox ...
works here. using win7-64 and latest stable Firefox.
Oh - that's odd, as I'm using Firefox ...
works here. using win7-64 and latest stable Firefox.
Maybe you run a firewall between the nodes and block port 3128?
Also noticed in the .vv file host-subject is missing a "U" on the second OU.
Sorry if I ask, but would like to understand properly, because OMHO Spice is most useful as a way of using the guest like "rdp on sterodis" than just inside proxmox as "console" display (expecially now that the iced-tea bug has been resolved and I can access it with Free OpenJDK!).
Is there no way at the moment to set the VM to use Spice and access it besides Proxmox web interface? I would love to have (also) a direct access to the guest, so I can fire up the spice client from my workstation and connect with it, like I would do with rdp (in my case, using KRDC).
Being able to run something like:
$ remote-viewer spiceproxy --vmid 150 --clustermulticastip/nodeip 192.168.1.10
or even better something like
$ spiceviewer --vmip 192.168.1.182
Thanks a lot
Sorry if I ask, but would like to understand properly, because OMHO Spice is most useful as a way of using the guest like "rdp on sterodis" than just inside proxmox as "console" display (expecially now that the iced-tea bug has been resolved and I can access it with Free OpenJDK!).
Is there no way at the moment to set the VM to use Spice and access it besides Proxmox web interface? I would love to have (also) a direct access to the guest, so I can fire up the spice client from my workstation and connect with it, like I would do with rdp (in my case, using KRDC).
Being able to run something like:
$ remote-viewer spiceproxy --vmid 150 --clustermulticastip/nodeip 192.168.1.10
or even better something like
$ spiceviewer --vmip 192.168.1.182
Thanks a lot
Yep - that's what I would love to do as well. Does anyone happen to know of any thin client's that support the spice protocol?
I get exactly the same thing ..on IE and firefox. All machines on local LAN.
Also noticed in the .vv file host-subject is missing a "U" on the second OU. adding this and the file correctly deletes now. still getting the error message though.
View attachment 1571View attachment 1572
since thin clients run linux, I dont see why spice wouldnt work on them? obviously they need some at least semi-reasonable rendering performance. spice was actually made with thin clients in mind
Note that you can enable spice withYou would think so, yes. I can't find any Spice support on the Dell-Wyse site, but it's a bit academic until there is an option to be able to connect to a vm without having to go through the web interface.
Can I connect to the VM from ubuntu?
Sorry if I ask, but would like to understand properly, because OMHO Spice is most useful as a way of using the guest like "rdp on sterodis" than just inside proxmox as "console" display (expecially now that the iced-tea bug has been resolved and I can access it with Free OpenJDK!).
Is there no way at the moment to set the VM to use Spice and access it besides Proxmox web interface? I would love to have (also) a direct access to the guest, so I can fire up the spice client from my workstation and connect with it, like I would do with rdp (in my case, using KRDC).
Being able to run something like:
$ remote-viewer spiceproxy --vmid 150 --clustermulticastip/nodeip 192.168.1.10
or even better something like
$ spiceviewer --vmip 192.168.1.182
Thanks a lot
#!/bin/bash
USERNAME=root@pam
PASSWORD=yourpassword
VMID=198
NODE=proxmoxhost1
PROXY=proxmoxhost1.test.com
TICKET=`curl -k -d "username=$USERNAME&password=$PASSWORD" https://$PROXY:8006/api2/json/access/ticket | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/\|/g' | sed 's/[\,]/ /g' | sed 's/\"// g' | grep -w ticket | awk -F "|" '{print $2}'`
echo $TICKET
curl -k -b "PVEAuthCookie=$TICKET" https://$PROXY:8006/api2/spiceconfig/nodes/$NODE/qemu/$VMID/spiceproxy?proxy=$PROXY > spiceproxy
remote-viewer spiceproxy
Note that you can enable spice with
args: -vga qxl -spice port=xxxx,addr=X.X.X.X,password=xxxx -device virtio-serial,id=spice,bus=pci.0,addr=0x9 -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
Then you should be able to connect directly without need to use proxmox spiceproxy and ticket management.
you can use this bash script
Code:#!/bin/bash USERNAME=root@pam PASSWORD=yourpassword VMID=198 NODE=proxmoxhost1 PROXY=proxmoxhost1.test.com TICKET=`curl -k -d "username=$USERNAME&password=$PASSWORD" https://$PROXY:8006/api2/json/access/ticket | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/\|/g' | sed 's/[\,]/ /g' | sed 's/\"// g' | grep -w ticket | awk -F "|" '{print $2}'` echo $TICKET curl -k -b "PVEAuthCookie=$TICKET" https://$PROXY:8006/api2/spiceconfig/nodes/$NODE/qemu/$VMID/spiceproxy?proxy=$PROXY > spiceproxy remote-viewer spiceproxy