VNC Api

unechtemoritz

New Member
Dec 15, 2021
5
1
3
25
Hello!

I am currently trying to make a VNC connection to VM's without creating an extra user or setting a cookie.
I have seen that it is possible with many others. https://github.com/novnc/noVNC

My idea was to create my own Websockify server with NoVNC (e.g. at vnc.domain.de) which then connects to the respective VM.

I can connect to Websockify, but fly out after a short time and of course I don't get any data.




Is my thought maybe fundamentally wrong? I know it is possible somehow, just not how. Maybe someone can help.

Thanks!
 
  • Like
Reactions: MG_100
how do you connect to the vm? what you are describing should be possible, but could interfere with the built-in consoles..
 
thus means:

- I set this vnc access via the api for each vm
- But then proxmox (build in) can no longer access it

Do I then need a server for each vm for websockify?
Isn't there an easy way to deploy VNC through the API?
 
thus means:

- I set this vnc access via the api for each vm
- But then proxmox (build in) can no longer access it

Do I then need a server for each vm for websockify?
Isn't there an easy way to deploy VNC through the API?
Hey sorry to bringing up this form again, did you find a way to do this "create my own Websockify server with NoVNC (e.g. at vnc.domain.de) which then connects to the respective VM" ? I have exactly the same idea but keep getting errors, cheers