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