Vm console direct connection

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 ? Thank you very much ! Cheers, Leo

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_displ... Best regards, -- Didi

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 ? 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_displ...
Best regards, -- Didi

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_displ...
Did you check this one? Not only open-source, but also short and simple...
Best regards, -- Didi
-- Didi

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
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
from remote-viewer to my oVirt vms... 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_displ...
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/XWU3BITF7AIBZ7...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

Thank you very much ! I will have a look at the python script, it might do the job as you are saying, Greg. I've seen this: https://ovirtclient.com/ and it seems to be exactly what I need ( especially for running on PI ), but I assume it is a commercial solution... Maybe wrapping and running the script on PI would make it somehow similar. Not sure about the features like vms list, media mount, vm power control, usb redirection, how will work... It would really be a nice thing to have the thin client running on a raspberry pi. Leo On Wed, Jan 2, 2019 at 9:13 PM Greg Sheremeta <gshereme@redhat.com> wrote:
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
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
from remote-viewer to my oVirt vms... 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_displ...
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/XWU3BITF7AIBZ7...
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
-- Best regards, Leo David

On Thu, Jan 3, 2019 at 8:32 AM Leo David <leoalex@gmail.com> wrote:
Thank you very much ! I will have a look at the python script, it might do the job as you are saying, Greg. I've seen this: https://ovirtclient.com/ and it seems to be exactly what I need ( especially for running on PI ), but I assume it is a commercial solution... Maybe wrapping and running the script on PI would make it somehow similar. Not sure about the features like vms list, media mount, vm power control, usb redirection, how will work... It would really be a nice thing to have the thin client running on a raspberry pi.
Leo
In an older post in late 2016 there was a similar question. See: https://lists.ovirt.org/pipermail/users/2016-October/077158.html and replies (also in November) One of the replies pointed to this github project: https://github.com/nkovacne/ovirt-desktop-client// At that time I tested it a bit and seemed working good. It seems it has not been updated since January 2017 Among the replies there was also the note about User Portal replacement through web-ui that now is reality, although still based on web browsing functionality. Gianluca

Hi, On Wed, Jan 02, 2019 at 12:29:49PM +0200, Leo David 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 ?
What do you get when you try to connect with remote-viewer? AFAIK, ovirt://$engine/$vm should work but you might need to explicit point to the certificates with extra command line arguments; plus, some configurations might not work indeed, see https://bugzilla.redhat.com/show_bug.cgi?id=1402909 Cheers,
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_displ...
Best regards, -- 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/OHIKJ4AR4LA7VL...
participants (5)
-
Gianluca Cecchi
-
Greg Sheremeta
-
Leo David
-
Victor Toso
-
Yedidyah Bar David