On 08/11/2014 03:01 PM, Michal Skrivanek wrote:
On Aug 11, 2014, at 14:14 , Denis Kirjanov <kda(a)itsirius.su>
wrote:
> Hi guys,
>
> I'm trying to login to a virtual machine without using the web interface (User
Portal) but through the remote-viewer and a small python script to gather all required
info such a certificate subject, ticken and ports.
> The virtual machine has the rhevm sso package installed so I can get to the machine
through the web UI,
> but I can't do the same thing using remote-viewer. What I do see is a gdm login
window with
> my user account and 2 icons (Login into session and RHEV-M SSO login).
>
> Looks like I have to invoke something inside my python script to get an access but I
can't figure out what is missing…
you need to issue the "desktopLogin" command to actually perform the sign on.
The viewer itself doesn't do anything
If this is going through vdsm then
it's the desktop login command. Via
the REST API it'd be just /vms/{vmid}/logon
Thanks,
michal
> Thanks!
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/devel
--
Regards,
Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo
Better technology. Faster innovation. Powered by community collaboration.
See how it works at
redhat.com