VNCProxy Question

debian10

Well-Known Member
Jul 30, 2019
36
2
48
40
Hello

1 ) When I call VNCProxy from API Call to get Ticket Hash started with "PVEVNC"
I want to Remove "PVEVNC" Word on VNCProxy Result.

2) how to set permanently vnc port and password with API Call ?
Thanks a lot
 
How are you accessing the API? pvesh, curl?
 
1) When you parse the output with a tool like jq you can simply use sed to do so.
2) You could read that in a file and read it when doing a call.
 
The VNC related paths of the API are /nodes/{node}/qemu/{vmid}/vnc*. Take a look at the API viewer.

The wiki page about VNC Client Access might be interesting as well.