<div dir="ltr">...and it looks like in the latest versions the REST API has <i style="color:rgb(0,0,0);white-space:pre-wrap">/vms/{vmid}/logon</i><div><i style="color:rgb(0,0,0);white-space:pre-wrap"><br></i></div><div><i style><font color="#000000"><span style="white-space:pre-wrap"><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/sect-Actions5.html#Enable_user_logon_to_access_a_virtual_machine_from_an_external_console">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/sect-Actions5.html#Enable_user_logon_to_access_a_virtual_machine_from_an_external_console</a></span></font><br></i></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 10:55 PM, Dan Yasny <span dir="ltr">&lt;<a href="mailto:dyasny@gmail.com" target="_blank">dyasny@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can pass the credentials directly to the guest agent using vdsClient on the host, among other things:<div><br></div><div><div>desktopLock</div><div>        &lt;vmId&gt;</div><div>        Logoff current user</div><div>desktopLogin</div><div>        &lt;vmId&gt; &lt;domain&gt; &lt;user&gt; &lt;password&gt;</div><div>        Login to vmId desktop using the supplied credentials</div><div>desktopLogoff</div><div>        &lt;vmId&gt; &lt;force&gt;</div><div>        Lock user session. force should be set to true/false</div></div><div><br></div><div>Will probably require key based remote ssh execution, and API calls to the engine, to determine the host and VM UUID</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 10:45 PM, Adolfo <span dir="ltr">&lt;<a href="mailto:agomez@virtualcable.es" target="_blank">agomez@virtualcable.es</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I know, but this all is used from
      &quot;ovirt portal&quot;, and we are only using ovirt api, the portal is
      provided by own broker :)<br>
      <br>
      I&#39;m currently looking at the code of vdsClient, to see if i can
      replicate the &quot;desktopLogin&quot; feature.<br>
      <br>
      This was why i was wondering if this is the place to post this,
      because it&#39;s more related to &quot;development&quot;, but not to de
      development of ovirt itself (or yes, don&#39;t know right now... :) )<br>
      <br>
      Thank you<br>
      <br>
      Adolfo Gómez<div><div><br>
      <br>
      <br>
      El 07/05/2015 a las 4:40, Dan Yasny escribió:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      <div dir="ltr">This is exactly what the SSO feature is for. 
        <div><br>
        </div>
        <div><a href="http://www.ovirt.org/Features/SSO" target="_blank">http://www.ovirt.org/Features/SSO</a></div>
        <div><a href="http://www.ovirt.org/OVirt_Guest_Agent/Single_Sign_On/Windows" target="_blank">http://www.ovirt.org/OVirt_Guest_Agent/Single_Sign_On/Windows</a></div>
        <div><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Power_User_Portal_Guide/Single_Sign_On-Windows.html" target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Power_User_Portal_Guide/Single_Sign_On-Windows.html</a><br>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, May 6, 2015 at 10:24 PM, Adolfo
          <span dir="ltr">&lt;<a href="mailto:agomez@virtualcable.es" target="_blank">agomez@virtualcable.es</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            My name is Adolfo. I&#39;m in charge of the development of UDS,
            an open source connection broker (with commercial support if
            requested) (<a href="http://www.ovirt.org/Universidad_de_Sevilla_Case_Study" target="_blank">http://www.ovirt.org/Universidad_de_Sevilla_Case_Study</a>
            is done with it for example).<br>
            <br>
            I don&#39;t know if this is the place to post this &quot;request for
            help&quot;, if not, please forgive me :)<br>
            <br>
            The case is that we are including Spice as an accepted
            protocol for connecting to VMs (currently we allow rdp, rgs,
            nx, ...) provided by oVirt, and we have found the following
            &quot;issue&quot;.<br>
            <br>
            It&#39;s ease to get the connection parameters for the VM using
            REST api, even get the ticket for allowing connection, but i
            have been looking for a way &quot;logging user&quot; directly into
            desktop, not only connect to &quot;display&quot; but also &quot;log in&quot;
            into remote without needed to use a second authentication.<br>
            <br>
            I have seen that oVirt Portal currently allows this, and i
            have found also that vsdClient can do login using &quot;vdsClient
            -s &lt;HOSTIP&gt; desktopLogin &lt;VMID&gt; &lt;DOMAIN&gt;
            &lt;USER&gt; &lt;PASSWORD&gt;&quot;, and although it is possible
            to use this, it will be a bit &quot;tricky&quot; to get it working i
            think.<br>
            <br>
            My question is... ¿Is any way of doing &quot;desktop login&quot; using
            REST API, or any other &quot;simple method&quot; from an external app
            such as this broker?.<br>
            <br>
            ¿If yes, how? :-)<br>
            ¿If not, will be support for this an anyone knows how?<br>
            <br>
            Thank you, and again, if this is not the correct list, sorry
            for the annoyance.<br>
            <br>
            Adolfo Gómez<br>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
            <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>