On Wed, Jan 2, 2019 at 5:36 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 2, 2019 at 12:30 PM Leo David <leoalex@gmail.com> wrote:
>
> Thank you,
> No luck so far, just can't figure out how to setup a direct connection from remote-viewer to my oVirt vms...
> I basically need to setup some oVirt thin clients by using remote viewer binary, and just dont know how to directly connect as "ovirt://engine.url/vm_name.
> Any ideeas ?
> Any successfull thin clients implementations by using only opensource pieces ?

gnome-boxes is open source, you can check how it does that. Did you try it?

There is also moVirt, for android. Also open source.

> Cheers,
>
> Leo
>
> On Sun, Dec 30, 2018, 11:11 Yedidyah Bar David <didi@redhat.com wrote:
>>
>> On Sun, Dec 30, 2018 at 10:28 AM Leo David <leoalex@gmail.com> wrote:
>> >
>> > Hello everyone,
>> > Could someone be so kind to tell me if there's any chance that virt-viewer or any other client can be used to directly connect to vms running on oVirt without the need for  the user to access the portal first ?
>>
>> There is gnome-boxes, which should be able to do that. Didn't try it myself.
>>
>> You might also check:
>>
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/get_display_ticket.py


Did you check this one? Not only open-source, but also short and simple...

^ yes, this is effectively what you need. There is no direct vm console connection via hypervisors because we use a time-limited access ticket. Using that py example above, you should be able to create a shell script wrapper that gets you the ticket and launches remote-viewer.

If you don't want to use the the ticket system, you could install VNC on your VMs individually and just vnc connect to <vm>:5900, outside the scope of oVirt pretty much. This is how we treat RDP for Windows.

Best wishes,
Greg
 

>>
>> Best regards,
>> --
>> Didi



--
Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XWU3BITF7AIBZ77DVHUAIOIWIT67A5KR/


--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme