<div dir="ltr"><div>Hi David,<br><br></div>Yes, i tried after replacing the variables with the correct values but still getting the same above error. Do you have any idea about it ?<br></div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
<br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 1:41 PM, David Jaša <span dir="ltr">&lt;<a href="mailto:djasa@redhat.com" target="_blank">djasa@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Shanil,<br>
<div class=""><br>
On Čt, 2014-07-03 at 13:19 +0530, Shanil S wrote:<br>
&gt; Hi David,<br>
&gt;<br>
&gt;<br>
&gt; So, you mean something like<br>
&gt;<br>
&gt; remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject<br>
&gt; &quot;${SUBJECT}&quot; spice://${HOST}:port=${PORT}/?tls-port=${SPORT}<br>
&gt;<br>
&gt; right ?<br>
&gt;<br>
<br>
</div>yes.<br>
<div class=""><br>
&gt;<br>
&gt; I tried the above way too but still getting the<br>
&gt; Cannot open display:<br>
&gt; Run &#39;remote-viewer --help&#39; to see a full list of available command<br>
&gt; line options<br>
<br>
</div>Do you fill all the values in place of all ${VARIABLES} ? If so, try to<br>
run the remote-viewer with --debug and --spice-debug options, they<br>
should give some insight into what goes wrong.<br>
<br>
Regards,<br>
<br>
David<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards<br>
&gt; Shanil<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 3, 2014 at 1:10 PM, David Jaša &lt;<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>&gt; wrote:<br>
&gt;         On Čt, 2014-07-03 at 11:46 +0530, Shanil S wrote:<br>
&gt;         &gt; Hi,<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; I tried this way to create the console<br>
&gt;         &gt;<br>
&gt;         <a href="http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal" target="_blank">http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal</a><br>
&gt;         &gt; but its showing error like<br>
&gt;<br>
&gt;<br>
&gt;         The page needs an update but this hasn&#39;t changed, the CLI<br>
&gt;         should work.<br>
&gt;         You also try to reformat the URI like:<br>
&gt;         spice://host:port/?tls-port=sport<br>
&gt;<br>
&gt;         HTH,<br>
&gt;<br>
&gt;         David<br>
&gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         ----------------------------------------------------------------------------<br>
&gt;         &gt;<br>
&gt;         &gt; Cannot open display:<br>
&gt;         &gt; Run &#39;remote-viewer --help&#39; to see a full list of available<br>
&gt;         command<br>
&gt;         &gt; line options<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; used the following method for opening the remote-viewer,<br>
&gt;         could you<br>
&gt;         &gt; please check if any issues with it ?<br>
&gt;         &gt; remote-viewer --spice-ca-file ${CA_FILE}<br>
&gt;         --spice-host-subject &quot;${SUBJECT}&quot; spice://${HOST}/?port=<br>
&gt;         ${PORT}\&amp;tls-port=${SPORT}<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Regards<br>
&gt;         &gt; Shanil<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; On Tue, Jul 1, 2014 at 3:34 PM, Sven Kieske<br>
&gt;         &lt;<a href="mailto:S.Kieske@mittwald.de">S.Kieske@mittwald.de</a>&gt;<br>
&gt;         &gt; wrote:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         Am 01.07.2014 12:00, schrieb Shanil S:<br>
&gt;         &gt;         &gt; Hi Seven,Michal,<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Thanks for your reply.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Yes, i am using php and curl to create the<br>
&gt;         console. Is it<br>
&gt;         &gt;         possible to<br>
&gt;         &gt;         &gt; create html5 console using php and  curl ?<br>
&gt;         &gt;         &gt; Thanks for all your answers..<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         Yes it is, you can load the novnc html5 stuff from<br>
&gt;         ovirt and<br>
&gt;         &gt;         patch it to<br>
&gt;         &gt;         accept tickets from rest api.<br>
&gt;         &gt;<br>
&gt;         &gt;         how to do it exactly depends on your web<br>
&gt;         application.<br>
&gt;         &gt;<br>
&gt;         &gt;         just dig into the code a little, you should be able<br>
&gt;         to find<br>
&gt;         &gt;         it.<br>
&gt;         &gt;<br>
&gt;         &gt;         HTH<br>
&gt;         &gt;<br>
&gt;         &gt;         --<br>
&gt;         &gt;         Mit freundlichen Grüßen / Regards<br>
&gt;         &gt;<br>
&gt;         &gt;         Sven Kieske<br>
&gt;         &gt;<br>
&gt;         &gt;         Systemadministrator<br>
&gt;         &gt;         Mittwald CM Service GmbH &amp; Co. KG<br>
&gt;         &gt;         Königsberger Straße 6<br>
&gt;         &gt;         32339 Espelkamp<br>
&gt;         &gt;         T: +49-5772-293-100<br>
&gt;         &gt;         F: +49-5772-293-333<br>
&gt;         &gt;         <a href="https://www.mittwald.de" target="_blank">https://www.mittwald.de</a><br>
&gt;         &gt;         Geschäftsführer: Robert Meyer<br>
&gt;         &gt;         St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA<br>
&gt;         6640, AG<br>
&gt;         &gt;         Bad Oeynhausen<br>
&gt;         &gt;         Komplementärin: Robert Meyer Verwaltungs GmbH, HRB<br>
&gt;         13260, AG<br>
&gt;         &gt;         Bad Oeynhausen<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; Users mailing list<br>
&gt;         &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt;         &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>