[Users] (no subject)

Juan Hernandez jhernand at redhat.com
Thu Feb 20 16:42:52 UTC 2014


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 at redhat.com
> <mailto:didi at redhat.com>>:
> 
>         *From: *"Koen Vanoppen" <vanoppen.koen at gmail.com
>         <mailto:vanoppen.koen at gmail.com>>
>         *To: *users at ovirt.org <mailto:users at 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#Connecting_Using_REST_API
> 
>         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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.py
Type: text/x-python
Size: 2160 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140220/91796ca0/attachment-0001.py>


More information about the Users mailing list