<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.4.4">
</head>
<body>
tis 2013-03-12 klockan 15:33 &#43;0200 skrev Itamar Heim:
<blockquote type="CITE">
<pre>
On 03/12/2013 03:29 PM, Karli Sjöberg wrote:
&gt; Hi,
&gt;
&gt; we´ve been using the spice page to make users install the ActiveX
&gt; plugin for a while now, and have had no complaints so far. But while it
&gt; does it´s job, you really noticed it wasn´t quite part of oVirt as a
&gt; whole with it´s rather...spartan design:) So I have taken a little time
&gt; to make it look just a little prettier, and feel more like a part of the
&gt; product.

thanks for improving this.
I could appreciate it more if you send a screenshot :)
</pre>
</blockquote>
<br>
And here I thought you guys were like in the Matrix, <i>&quot;You get used to it. I don't even see the code. All I see is blonde, brunette, redhead...&quot;</i>;)<br>
<br>
/Karli<br>
<br>
<blockquote type="CITE">
<pre>

Thanks,
    Itamar

&gt;
&gt; /usr/share/ovirt-engine/engine.ear/root.war/spice.html:
&gt; <a href="http://pastebin.com/hjK3MtMH">http://pastebin.com/hjK3MtMH</a>
&gt;
&gt; /usr/share/ovirt-engine/engine.ear/root.war/spice.css:
&gt; <a href="http://pastebin.com/dtQZ1kif">http://pastebin.com/dtQZ1kif</a>
&gt;
&gt; Hope someone enjoys it.
&gt;
&gt; Best Regards
&gt; Karli Sjöberg
&gt;
&gt; tor 2012-09-06 klockan 15:36 -0500 skrev Dead Horse:
&gt;&gt; Wiki page added. Feel free to change/edit/contribute or provide feedback.
&gt;&gt; Link:
&gt;&gt; <a href="http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal">http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal</a>
&gt;&gt;
&gt;&gt; - DHC
&gt;&gt;
&gt;&gt; On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth
&gt;&gt; &lt;<a href="mailto:robert@middleswarth.net">robert@middleswarth.net</a> &lt;<a href="mailto:robert@middleswarth.net">mailto:robert@middleswarth.net</a>&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;     You should be able to create an ID.  Once you create it several
&gt;&gt;     people can update your account I am one of them.
&gt;&gt;
&gt;&gt;     Thanks
&gt;&gt;     Robert
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;     On 08/30/2012 11:17 PM, Dead Horse wrote:
&gt;&gt;
&gt;&gt;&gt;     I would be happy to wiki'fy it ;)
&gt;&gt;&gt;     I have requested a wiki account so I will just need someone to
&gt;&gt;&gt;     grant the proper create/edit page access or create a stub page
&gt;&gt;&gt;     and allow edit access to it.
&gt;&gt;&gt;     - DHC
&gt;&gt;&gt;
&gt;&gt;&gt;     On Thu, Aug 30, 2012 at 3:03 PM, Douglas Landgraf
&gt;&gt;&gt;     &lt;<a href="mailto:dougsland@redhat.com">dougsland@redhat.com</a> &lt;<a href="mailto:dougsland@redhat.com">mailto:dougsland@redhat.com</a>&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;&gt;         On 08/30/2012 02:22 AM, Yaniv Kaul wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         Thanks!
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         Can you wiki'fy it (@ wiki.ovirt.org &lt;<a href="http://wiki.ovirt.org">http://wiki.ovirt.org</a>&gt;) ?
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         Y.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;         &#43;1
&gt;&gt;&gt;
&gt;&gt;&gt;         Thanks!
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             I have seen this question asked many times on this list
&gt;&gt;&gt;&gt;             and the spice-devel list. Now having figured out how to
&gt;&gt;&gt;&gt;             make it work I will provide the answer to the rest of
&gt;&gt;&gt;&gt;             the community.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             *NOTE* this only applies to Windows/Internet Explorer
&gt;&gt;&gt;&gt;             users. There exists no other option other than the html5
&gt;&gt;&gt;&gt;             spice console (still beta/in development) for windows
&gt;&gt;&gt;&gt;             users ATM. This will also only work with Internet Explorer.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             Basic Steps:
&gt;&gt;&gt;&gt;             - Install an oVirt server.
&gt;&gt;&gt;&gt;             - Add at least one node
&gt;&gt;&gt;&gt;             - Setup storage/iso/export domains
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             Advanced steps
&gt;&gt;&gt;&gt;             - Start by downloading:
&gt;&gt;&gt;&gt;             <a href="http://elmarco.fedorapeople.org/spice.cab">http://elmarco.fedorapeople.org/spice.cab</a>
&gt;&gt;&gt;&gt;             - Create a directory for it oVirt looks by default in
&gt;&gt;&gt;&gt;             /usr/share/spice
&gt;&gt;&gt;&gt;             - Rename spice.cab to SpiceX.cab and copy it into
&gt;&gt;&gt;&gt;             /usr/share/spice
&gt;&gt;&gt;&gt;             - Now edit
&gt;&gt;&gt;&gt;             /usr/share/ovirt-engine/engine.ear/root.war/WEB-INF and
&gt;&gt;&gt;&gt;             add the following:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;              &lt;!-- SpiceX.cab --&gt;
&gt;&gt;&gt;&gt;               &lt;servlet&gt;
&gt;&gt;&gt;&gt;                 &lt;servlet-name&gt;SpiceX.cab&lt;/servlet-name&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             &lt;servlet-class&gt;org.ovirt.engine.core.FileServlet&lt;/servlet-class&gt;
&gt;&gt;&gt;&gt;                 &lt;init-param&gt;
&gt;&gt;&gt;&gt;                   &lt;param-name&gt;type&lt;/param-name&gt;
&gt;&gt;&gt;&gt;                   &lt;param-value&gt;application/octet-stream&lt;/param-value&gt;
&gt;&gt;&gt;&gt;                 &lt;/init-param&gt;
&gt;&gt;&gt;&gt;                 &lt;init-param&gt;
&gt;&gt;&gt;&gt;                   &lt;param-name&gt;file&lt;/param-name&gt;
&gt;&gt;&gt;&gt;                   &lt;param-value&gt;/usr/share/spice/SpiceX.cab&lt;/param-value&gt;
&gt;&gt;&gt;&gt;                 &lt;/init-param&gt;
&gt;&gt;&gt;&gt;               &lt;/servlet&gt;
&gt;&gt;&gt;&gt;               &lt;servlet-mapping&gt;
&gt;&gt;&gt;&gt;                 &lt;servlet-name&gt;SpiceX.cab&lt;/servlet-name&gt;
&gt;&gt;&gt;&gt;                 &lt;url-pattern&gt;/spice/SpiceX.cab&lt;/url-pattern&gt;
&gt;&gt;&gt;&gt;               &lt;/servlet-mapping&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             - Next create an html file within
&gt;&gt;&gt;&gt;             /usr/share/ovirt-engine/engine.ear/root.war
&gt;&gt;&gt;&gt;             - In the example below an html file called &quot;spice.html&quot;
&gt;&gt;&gt;&gt;             - Copy/Paste the below into spice.html:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             &lt;!DOCTYPE html&gt;
&gt;&gt;&gt;&gt;             &lt;html&gt;
&gt;&gt;&gt;&gt;             &lt;head&gt;
&gt;&gt;&gt;&gt;             &lt;title&gt;SPICE Plugin Installer&lt;/title&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             &lt;script type=&quot;text/javascript&quot;&gt;
&gt;&gt;&gt;&gt;             function installSpice()
&gt;&gt;&gt;&gt;             {
&gt;&gt;&gt;&gt;             try {
&gt;&gt;&gt;&gt;                 document.getElementById('SpiceX').innerHTML =
&gt;&gt;&gt;&gt;             '&lt;OBJECT id=&quot;SpiceX&quot; codebase=&quot;/spice/SpiceX.cab&quot;
&gt;&gt;&gt;&gt;             classid=&quot;clsid:ACD6D89C-938D-49B4-8E81-DDBD13F4B48A&quot;
&gt;&gt;&gt;&gt;             width=&quot;0&quot; height=&quot;0&quot;&gt;&lt;/OBJECT&gt;';
&gt;&gt;&gt;&gt;                 } catch (ex) {
&gt;&gt;&gt;&gt;                     alert(&quot;Epic Fail!: &quot; &#43; ex.Description);
&gt;&gt;&gt;&gt;                 }
&gt;&gt;&gt;&gt;             }
&gt;&gt;&gt;&gt;             &lt;/script&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             &lt;/head&gt;
&gt;&gt;&gt;&gt;             &lt;body&gt;
&gt;&gt;&gt;&gt;                 &lt;p&gt;
&gt;&gt;&gt;&gt;                 &lt;p&gt;&lt;b id='SpiceX'&gt;Spice ActiveX Plugin&lt;/b&gt; &lt;/p&gt;
&gt;&gt;&gt;&gt;                 &lt;button onclick='installSpice()'&gt;Install Spice
&gt;&gt;&gt;&gt;             Plugin&lt;/button&gt;
&gt;&gt;&gt;&gt;                 &lt;/p&gt;
&gt;&gt;&gt;&gt;             &lt;/body&gt;
&gt;&gt;&gt;&gt;             &lt;/html&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             - Save the file
&gt;&gt;&gt;&gt;             - You will now need to restart the ovirt-engine service
&gt;&gt;&gt;&gt;             EG: systemctl restart ovirt-engine.service OR service
&gt;&gt;&gt;&gt;             ovirt-engine restart
&gt;&gt;&gt;&gt;             - The installer page will now be available at
&gt;&gt;&gt;&gt;             http://&lt;url to ovirt server&gt;/spice.html EX:
&gt;&gt;&gt;&gt;             <a href="http://ovirt.azeroth.net/spice.html">http://ovirt.azeroth.net/spice.html</a>
&gt;&gt;&gt;&gt;             - Navigate to that page and click the install button
&gt;&gt;&gt;&gt;             - IE will prompt you to deploy/install the SpiceX
&gt;&gt;&gt;&gt;             cabinet file
&gt;&gt;&gt;&gt;             - It may gripe about an unsigned or untrusted source,
&gt;&gt;&gt;&gt;             acknowledge this an proceed anyways
&gt;&gt;&gt;&gt;             - If the install succeeds the text &quot;Spice ActiveX
&gt;&gt;&gt;&gt;             Plugin&quot; on the page will change to blank (it's actually
&gt;&gt;&gt;&gt;             the plugin with null values)
&gt;&gt;&gt;&gt;             - The console button in the user and webadmin portals
&gt;&gt;&gt;&gt;             will now launch the new virt-viwer spice based console!
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             Happy Spice Consoling to your VM's from Windows!
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             *NOTE*
&gt;&gt;&gt;&gt;             To uninstall the plugin:
&gt;&gt;&gt;&gt;             - The below removes the add-on from IE (EG: removes
&gt;&gt;&gt;&gt;             knowledge of &quot;application/x-spice&quot;)
&gt;&gt;&gt;&gt;             - pop a command terminal and type:
&gt;&gt;&gt;&gt;             On Windows XP: regsvr32 /u &quot;C:\Documents and
&gt;&gt;&gt;&gt;             Settings\Administrator\Local Settings\Application
&gt;&gt;&gt;&gt;             Data\virt-viewer\bin\SpiceX.dll&quot;
&gt;&gt;&gt;&gt;             On Windows 7 regsvr32 /u C:\Documents and
&gt;&gt;&gt;&gt;             Settings\Administrator\Local
&gt;&gt;&gt;&gt;             Settings\AppData\virt-viewer\bin\SpiceX.dll&quot;
&gt;&gt;&gt;&gt;             - Next we need to remove the rest of virt-viewer
&gt;&gt;&gt;&gt;             - Go to add/remove programs and uninstall virt-viewer,
&gt;&gt;&gt;&gt;             this removes the rest of virt-viewer from the system
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;             _______________________________________________
&gt;&gt;&gt;&gt;             Users mailing list
&gt;&gt;&gt;&gt;             <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;
&gt;&gt;&gt;&gt;             <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         _______________________________________________
&gt;&gt;&gt;&gt;         Users mailing list
&gt;&gt;&gt;&gt;         <a href="mailto:Users@ovirt.org">Users@ovirt.org</a>  &lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;
&gt;&gt;&gt;&gt;         <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;         --
&gt;&gt;&gt;         Cheers
&gt;&gt;&gt;         Douglas
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;     _______________________________________________
&gt;&gt;&gt;     Users mailing list
&gt;&gt;&gt;     <a href="mailto:Users@ovirt.org">Users@ovirt.org</a>  &lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;
&gt;&gt;&gt;     <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;     --
&gt;&gt;     Thanks
&gt;&gt;     Robert Middleswarth
&gt;&gt;     @rmiddle (twitter/Freenode IRC)
&gt;&gt;     @RobertM (OFTC IRC)
&gt;&gt;
&gt;&gt;
&gt;&gt;     _______________________________________________
&gt;&gt;     Users mailing list
&gt;&gt;     <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;
&gt;&gt;     <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; Users mailing list
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
&gt;

</pre>
</blockquote>
<br>
</body>
</html>