<p dir="ltr">Ok. Thanx. I'll forward this!! Big thanks!!</p>
<div class="gmail_quote">On Feb 20, 2014 5:42 PM, "Juan Hernandez" <<a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/20/2014 04:06 PM, Koen Vanoppen wrote:<br>
> Thanx, for the answer. But he successfully created a ticket and received<br>
> a number, but when he then starts the client again, as asked ( "Connect<br>
> to the client again (again, r-v will ask for the password in a pop-up<br>
> window):" ) He has to give a password. Maybe important. The username<br>
> field is empty and can't be modified.<br>
><br>
><br>
> Kind regards,<br>
><br>
> Koen<br>
><br>
<br>
Find attached a complete example of how to do this with the python SDK.<br>
This generates a remote-viewer configuration file like the GUI does.<br>
<br>
Note that you will need the latest version of the SKD, 3.4.0.4, as<br>
otherwise the all_content parameter required to get the subject of the<br>
certificate of the host isn't available.<br>
<br>
><br>
> 2014-02-20 16:03 GMT+01:00 Yedidyah Bar David <<a href="mailto:didi@redhat.com">didi@redhat.com</a><br>
> <mailto:<a href="mailto:didi@redhat.com">didi@redhat.com</a>>>:<br>
><br>
> *From: *"Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com">vanoppen.koen@gmail.com</a><br>
> <mailto:<a href="mailto:vanoppen.koen@gmail.com">vanoppen.koen@gmail.com</a>>><br>
> *To: *<a href="mailto:users@ovirt.org">users@ovirt.org</a> <mailto:<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> *Sent: *Thursday, February 20, 2014 4:56:10 PM<br>
> *Subject: *[Users] (no subject)<br>
><br>
> Hey Guys,<br>
><br>
> I'm back ;-). This time I have a question from one of our<br>
> programmers.<br>
> He's trying this:<br>
> <a href="http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API" target="_blank">http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API</a><br>
><br>
> But he bumps into this:<br>
><br>
> Connect to the client again (again, r-v will ask for the<br>
> password in a pop-up window):<br>
><br>
> bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject "${SUBJECT}" spice://${HOST}/?port=${PORT}\&tls-port=${SPORT}*<br>
><br>
> Now, the question is.... What's the password? Or where can I find it?<br>
><br>
><br>
> I think you need to set it with setVmTicket - see that page for an<br>
> example.<br>
> --<br>
> Didi<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
</blockquote></div>