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