VM Console Access
-
Hey I want to access my vm console wss://domain/api/consoles/vm-id on the web. What client or library should i use and then pass it to that so i can get the console?
I am using the same code which is in your github repo
getting this error.
on /V6 route it is working fine
github code: https://github.com/irtaza9/no-vnc-vuejs-xcpng
-
Hi,
The question is ultra vast and there's potentially millions of reasons why you have a problem. Could be your app code, could be anything else. This means we would probably need to debug your existing app, which is not possible for obvious reasonsā¦
At least I can answer it's a RFB protocol (any VNC can read it). You need to be connected with a valid token though.
-
@olivierlambert My code is same as yours but I think I have to pass the the same cookies which are being sent in XO.
cookie: clientId=077127hpx0cp; connect.sid=s%3AmANobWiFk3Xult7ML-XM8Wxvn4tAF0Ry.nHFRrmcTkvRXFrcjjTLsNGB5ti5w5sc7WDJCZQeeUec; token=HTfGqSylve1882ycxhuCPAWXmy9vmXM8gkC6FAAM1_M host: xenorchestra1.nayatel.com origin: https://xenorchestra1.nayatel.com
my app is running locally and I am trying to access a diff origin resource and without passing the authentication material. I want to know where to pass it in the ws?
-
My XO is deployed and when i go to console it gives me access.
production XO
wss://xenorchestra1.nayatel.com/api/consoles/vm-id
test XO
ws://xen.zeests.com:7778/api/consoles/vm-id
I have tokens for both services.
Now I want to access the console from a different web application who is running on different host and have a different domain mapped. How can I achieve this?
One Error is:
noVNC requires a secure context (TLS). Expect crashes!