Thanks Daniel, it works now. -- Rodrigue
On Tue, Jun 24, 2014 at 11:14 AM, Daniel Molina <[email protected]> wrote: > Hi Rodrigue, > > You have to use the POST method instead of GET > > Cheers > > > On 19 June 2014 17:39, Rodrigue Chakode <[email protected]> > wrote: > >> 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 <[email protected]> wrote: >> >>> Quoting Rodrigue Chakode ([email protected]): >>> > 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 / [email protected] >>> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > > -- > -- > Daniel Molina > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | [email protected] | @OpenNebula >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
