Hi Stefan
Thanks for the hint, but it doesn't work with ONE 4.6.2:

http://<IP>:9869/vm/11/startvnc


returns this:
Sinatra doesn't know this ditty.
Try this:

get '/vm/11/startvnc' do
  "Hello World"
end

regards,
--
Rodrigue


On Thu, Jun 19, 2014 at 5:27 PM, Stefan Kooman <ste...@bit.nl> wrote:

> Quoting Rodrigue Chakode (rodrigue.chak...@gmail.com):
> > Hi,
> > Reading the OpenNebula documentation [1], it appears that noVNC session
> > tokens are generated only when user clicks on the appropriate icon from
> > Sunstone.
> >
> > That's OK.
> >
> > However, I would like to know if it's possible, subject to appropriate
> > tunings or not, to generate and activate a noVNC session without logging
> > into Sunstone?
> > My concern is to be able to connect a VM through an external noVNC
> client.
>
> Currently you cannot. You can mimic a user session to hit sunstone on
> /vm/<id>/startvnc ... you will get a json-response with a key "token".
> With that token you can connect to vnc proxy. It would be convenient if
> a token could be retrieved through a xml-rpc call. We created feature
> request
> #2655 for that [1].
>
> Gr. Stefan
>
> [1]: http://dev.opennebula.org/issues/2655
>
>
> --
> | BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
> | GPG: 0xD14839C6                   +31 318 648 688 / i...@bit.nl
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to