[one-users] Generate a noVNC session token outside Sunstone

Rodrigue Chakode rodrigue.chakode at gmail.com
Thu Jun 19 08:39:23 PDT 2014


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 <stefan at bit.nl> wrote:

> Quoting Rodrigue Chakode (rodrigue.chakode at 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 / info at bit.nl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140619/50470df5/attachment-0001.htm>


More information about the Users mailing list