Thank you! glad to be able to help ;)<br><br>As Itamar mentioned if you are running the spice client inside a VM (dunno if this is case) you will need the guest paravirtual driver and/or services for mouse handling. I have observed exactly this behavior before when running the spice client in a VM when the guest tools/drivers for mouse handling are not present (In my case most of the time VirtualBox). <br>
<br>- DHC<br><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim <span dir="ltr">&lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.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 class="im">On 09/12/2012 05:21 PM, Karli Sjöberg wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
This is awesome work, thank you so much for this! For our users and<br>
administrators, having a button you just click to get a console is sooo<br>
much easier than having to copy-paste a bunch of cryptic addresses and<br>
passwords, and having to use the infamous, dangerous hacker tool VNC:)<br>
<br>
I followed the wiki instructions and a vital piece missing is to restart<br>
ovirt-engine before trying to install the spice-client from the install<br>
portal. I went back and read through the email you first posted and the<br>
restart was mentioned there so I did and then it worked! Wohoo! So you<br>
might want to add that point to the wiki page as well, to avoid future<br>
confusion.<br>
<br>
But...when I have virt-viewer(-0.5.3) installed, log in to webadmin and<br>
click for console on a guest, the console shows up. But when I try to go<br>
into the console window with the mouse cursor, the cursor jumps off to<br></div>
one of the edges of my *monitor*, and not into the console window- as<div class="im"><br>
you would expect. Maybe virt-viewer mistakenly &quot;thinks&quot; that the edges<br>
of it´s window really are the edges of the whole monitor? Am I holding<br>
it wrong?<br>
</div></blockquote>
<br>
do you have spice guest side drivers for local mouse handling?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
/Karli<br>
<br>
6 sep 2012 kl. 22.36 skrev Dead Horse:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Wiki page added. Feel free to change/edit/contribute or provide feedback.<br>
Link:<br>
<a href="http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal" target="_blank">http://wiki.ovirt.org/wiki/<u></u>How_to_Connect_to_SPICE_<u></u>Console_With_Portal</a><br>
<br>
- DHC<br>
<br>
On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth<br></div><div class="im">
&lt;<a href="mailto:robert@middleswarth.net" target="_blank">robert@middleswarth.net</a> &lt;mailto:<a href="mailto:robert@middleswarth.net" target="_blank">robert@middleswarth.<u></u>net</a>&gt;&gt; wrote:<br>
<br>
    You should be able to create an ID.  Once you create it several<br>
    people can update your account I am one of them.<br>
<br>
    Thanks<br>
    Robert<br>
<br>
<br>
    On 08/30/2012 11:17 PM, Dead Horse wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
    I would be happy to wiki&#39;fy it ;)<br>
    I have requested a wiki account so I will just need someone to<br>
    grant the proper create/edit page access or create a stub page<br>
    and allow edit access to it.<br>
    - DHC<br>
<br>
    On Thu, Aug 30, 2012 at 3:03 PM, Douglas Landgraf<br></div><div class="im">
    &lt;<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a> &lt;mailto:<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>&gt;&gt; wrote:<br>
<br>
        On 08/30/2012 02:22 AM, Yaniv Kaul wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        Thanks!<br>
        Can you wiki&#39;fy it (@ <a href="http://wiki.ovirt.org" target="_blank">wiki.ovirt.org</a> &lt;<a href="http://wiki.ovirt.org/" target="_blank">http://wiki.ovirt.org/</a>&gt;) ?<br>
        Y.<br>
</blockquote>
        +1<br>
<br>
        Thanks!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
        ------------------------------<u></u>------------------------------<u></u>------------<div><div class="h5"><br>
<br>
            I have seen this question asked many times on this list<br>
            and the spice-devel list. Now having figured out how to<br>
            make it work I will provide the answer to the rest of<br>
            the community.<br>
<br>
            *NOTE* this only applies to Windows/Internet Explorer<br>
            users. There exists no other option other than the html5<br>
            spice console (still beta/in development) for windows<br>
            users ATM. This will also only work with Internet Explorer.<br>
<br>
            Basic Steps:<br>
            - Install an oVirt server.<br>
            - Add at least one node<br>
            - Setup storage/iso/export domains<br>
<br>
            Advanced steps<br>
            - Start by downloading:<br>
            <a href="http://elmarco.fedorapeople.org/spice.cab" target="_blank">http://elmarco.fedorapeople.<u></u>org/spice.cab</a><br>
            - Create a directory for it oVirt looks by default in<br>
            /usr/share/spice<br>
            - Rename spice.cab to SpiceX.cab and copy it into<br>
            /usr/share/spice<br>
            - Now edit<br>
            /usr/share/ovirt-engine/<u></u>engine.ear/root.war/WEB-INF and<br>
            add the following:<br>
<br>
             &lt;!-- SpiceX.cab --&gt;<br>
              &lt;servlet&gt;<br>
                &lt;servlet-name&gt;SpiceX.cab&lt;/<u></u>servlet-name&gt;<br>
<br>
            &lt;servlet-class&gt;org.ovirt.<u></u>engine.core.FileServlet&lt;/<u></u>servlet-class&gt;<br>
                &lt;init-param&gt;<br>
                  &lt;param-name&gt;type&lt;/param-name&gt;<br>
                  &lt;param-value&gt;application/<u></u>octet-stream&lt;/param-value&gt;<br>
                &lt;/init-param&gt;<br>
                &lt;init-param&gt;<br>
                  &lt;param-name&gt;file&lt;/param-name&gt;<br>
                  &lt;param-value&gt;/usr/share/spice/<u></u>SpiceX.cab&lt;/param-value&gt;<br>
                &lt;/init-param&gt;<br>
              &lt;/servlet&gt;<br>
              &lt;servlet-mapping&gt;<br>
                &lt;servlet-name&gt;SpiceX.cab&lt;/<u></u>servlet-name&gt;<br>
                &lt;url-pattern&gt;/spice/SpiceX.<u></u>cab&lt;/url-pattern&gt;<br>
              &lt;/servlet-mapping&gt;<br>
<br>
            - Next create an html file within<br>
            /usr/share/ovirt-engine/<u></u>engine.ear/root.war<br>
            - In the example below an html file called &quot;spice.html&quot;<br>
            - Copy/Paste the below into spice.html:<br>
<br>
            &lt;!DOCTYPE html&gt;<br>
            &lt;html&gt;<br>
            &lt;head&gt;<br>
            &lt;title&gt;SPICE Plugin Installer&lt;/title&gt;<br>
<br>
            &lt;script type=&quot;text/javascript&quot;&gt;<br>
            function installSpice()<br>
            {<br>
            try {<br>
                document.getElementById(&#39;<u></u>SpiceX&#39;).innerHTML =<br>
            &#39;&lt;OBJECT id=&quot;SpiceX&quot; codebase=&quot;/spice/SpiceX.cab&quot;<br>
            classid=&quot;clsid:ACD6D89C-938D-<u></u>49B4-8E81-DDBD13F4B48A&quot;<br>
            width=&quot;0&quot; height=&quot;0&quot;&gt;&lt;/OBJECT&gt;&#39;;<br>
                } catch (ex) {<br>
                    alert(&quot;Epic Fail!: &quot; + ex.Description);<br>
                }<br>
            }<br>
            &lt;/script&gt;<br>
<br>
            &lt;/head&gt;<br>
            &lt;body&gt;<br>
                &lt;p&gt;<br>
                &lt;p&gt;&lt;b id=&#39;SpiceX&#39;&gt;Spice ActiveX Plugin&lt;/b&gt; &lt;/p&gt;<br>
                &lt;button onclick=&#39;installSpice()&#39;&gt;<u></u>Install Spice<br>
            Plugin&lt;/button&gt;<br>
                &lt;/p&gt;<br>
            &lt;/body&gt;<br>
            &lt;/html&gt;<br>
<br>
            - Save the file<br>
            - You will now need to restart the ovirt-engine service<br>
            EG: systemctl restart ovirt-engine.service OR service<br>
            ovirt-engine restart<br>
            - The installer page will now be available at<br>
            http://&lt;url to ovirt server&gt;/spice.html EX:<br>
            <a href="http://ovirt.azeroth.net/spice.html" target="_blank">http://ovirt.azeroth.net/<u></u>spice.html</a><br>
            - Navigate to that page and click the install button<br>
            - IE will prompt you to deploy/install the SpiceX<br>
            cabinet file<br>
            - It may gripe about an unsigned or untrusted source,<br>
            acknowledge this an proceed anyways<br>
            - If the install succeeds the text &quot;Spice ActiveX<br>
            Plugin&quot; on the page will change to blank (it&#39;s actually<br>
            the plugin with null values)<br>
            - The console button in the user and webadmin portals<br>
            will now launch the new virt-viwer spice based console!<br>
<br>
            Happy Spice Consoling to your VM&#39;s from Windows!<br>
<br>
            *NOTE*<br>
            To uninstall the plugin:<br>
            - The below removes the add-on from IE (EG: removes<br>
            knowledge of &quot;application/x-spice&quot;)<br>
            - pop a command terminal and type:<br>
            On Windows XP: regsvr32 /u &quot;C:\Documents and<br>
            Settings\Administrator\Local Settings\Application<br>
            Data\virt-viewer\bin\SpiceX.<u></u>dll&quot;<br>
            On Windows 7 regsvr32 /u C:\Documents and<br>
            Settings\Administrator\Local<br>
            Settings\AppData\virt-viewer\<u></u>bin\SpiceX.dll&quot;<br>
            - Next we need to remove the rest of virt-viewer<br>
            - Go to add/remove programs and uninstall virt-viewer,<br>
            this removes the rest of virt-viewer from the system<br>
<br>
            ______________________________<u></u>_________________<br>
            Users mailing list<br></div></div>
            <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<div class="im"><br>
            <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
        ______________________________<u></u>_________________<br>
        Users mailing list<br></div>
        <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>  &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
        <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote><div class="im">
<br>
<br>
        --<br>
        Cheers<br>
        Douglas<br>
<br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    Users mailing list<br></div>
    <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>  &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
    <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote><div class="im">
<br>
<br>
    --<br>
    Thanks<br>
    Robert Middleswarth<br>
    @rmiddle (twitter/Freenode IRC)<br>
    @RobertM (OFTC IRC)<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    Users mailing list<br></div>
    <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<div class="im"><br>
    <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
</div><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote><div class="im">
<br>
<br>
<br>
Med Vänliga Hälsningar<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone:  <a href="tel:%2B46-%280%2918-67%2015%2066" value="+4618671566" target="_blank">+46-(0)18-67 15 66</a><br>
</div><a href="mailto:karli.sjoberg@slu.se" target="_blank">karli.sjoberg@slu.se</a> &lt;mailto:<a href="mailto:karli.sjoberg@adm.slu.se" target="_blank">karli.sjoberg@adm.slu.<u></u>se</a>&gt;<div class="im"><br>
<br>
<br>
<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br>