[ovirt-users] Console using REST API

Shanil S xielesshanil at gmail.com
Thu Jul 3 07:49:54 UTC 2014


Hi David,

So, you mean something like

remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject "${SUBJECT}"
spice://${HOST}:port=${PORT}/?tls-port=${SPORT}
right ?

I tried the above way too but still getting the
Cannot open display:
Run 'remote-viewer --help' to see a full list of available command line
options


-- 
Regards
Shanil


On Thu, Jul 3, 2014 at 1:10 PM, David Jaša <djasa at redhat.com> wrote:

> On Čt, 2014-07-03 at 11:46 +0530, Shanil S wrote:
> > Hi,
> >
> >
> > I tried this way to create the console
> > http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal
> > but its showing error like
>
> The page needs an update but this hasn't changed, the CLI should work.
> You also try to reformat the URI like: spice://host:port/?tls-port=sport
>
> HTH,
>
> David
>
> >
> >
> ----------------------------------------------------------------------------
> >
> > Cannot open display:
> > Run 'remote-viewer --help' to see a full list of available command
> > line options
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> > used the following method for opening the remote-viewer, could you
> > please check if any issues with it ?
> > remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject
> "${SUBJECT}" spice://${HOST}/?port=${PORT}\&tls-port=${SPORT}
> >
> >
> >
> >
> >
> > --
> > Regards
> > Shanil
> >
> >
> > On Tue, Jul 1, 2014 at 3:34 PM, Sven Kieske <S.Kieske at mittwald.de>
> > wrote:
> >
> >
> >         Am 01.07.2014 12:00, schrieb Shanil S:
> >         > Hi Seven,Michal,
> >         >
> >         > Thanks for your reply.
> >         >
> >         > Yes, i am using php and curl to create the console. Is it
> >         possible to
> >         > create html5 console using php and  curl ?
> >         > Thanks for all your answers..
> >
> >
> >         Yes it is, you can load the novnc html5 stuff from ovirt and
> >         patch it to
> >         accept tickets from rest api.
> >
> >         how to do it exactly depends on your web application.
> >
> >         just dig into the code a little, you should be able to find
> >         it.
> >
> >         HTH
> >
> >         --
> >         Mit freundlichen Grüßen / Regards
> >
> >         Sven Kieske
> >
> >         Systemadministrator
> >         Mittwald CM Service GmbH & Co. KG
> >         Königsberger Straße 6
> >         32339 Espelkamp
> >         T: +49-5772-293-100
> >         F: +49-5772-293-333
> >         https://www.mittwald.de
> >         Geschäftsführer: Robert Meyer
> >         St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG
> >         Bad Oeynhausen
> >         Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG
> >         Bad Oeynhausen
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140703/d8f40432/attachment-0001.html>


More information about the Users mailing list