------=_Part_62059657_817615529.1346307725496
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Thanks!
Can you wiki'fy it (@
wiki.ovirt.org) ?
Y.
----- Original Message -----
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:
http://elmarco.fedorapeople.org/spice.cab
- 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:
http://ovirt.azeroth.net/spice.html
- 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
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
------=_Part_62059657_817615529.1346307725496
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><head><style type='text/css'>p { margin: 0;
}</style></head><body><div style='font-family: times new
roman,new york,times,serif; font-size: 12pt; color: #000000'>Thanks!<div>Can
you wiki'fy it (@
wiki.ovirt.org) ?</div><div>Y.<br><br><hr
id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">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.<br><br>*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.<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: <a
href="http://elmarco.fedorapeople.org/spice.cab"
target="_blank">http://elmarco.fedorapeople.org/spice.cab<...
- Create a directory for it oVirt looks by default in /usr/share/spice<br>- Rename
spice.cab to SpiceX.cab and copy it into /usr/share/spice<br>- Now edit
/usr/share/ovirt-engine/engine.ear/root.war/WEB-INF and add the following:<br>
<br> <!-- SpiceX.cab --><br>
<servlet><br>
<servlet-name>SpiceX.cab</servlet-name><br>
<servlet-class>org.ovirt.engine.core.FileServlet</servlet-class><br>
<init-param><br>
<param-name>type</param-name><br>
<param-value>application/octet-stream</param-value><br>
</init-param><br>
<init-param><br>
<param-name>file</param-name><br>
<param-value>/usr/share/spice/SpiceX.cab</param-value><br>
</init-param><br>
</servlet><br>
<servlet-mapping><br>
<servlet-name>SpiceX.cab</servlet-name><br>
<url-pattern>/spice/SpiceX.cab</url-pattern><br>
</servlet-mapping><br><br>- Next create an html file
within /usr/share/ovirt-engine/engine.ear/root.war<br>- In the example below an html
file called "spice.html"<br>- Copy/Paste the below into
spice.html:<br>
<br><!DOCTYPE
html><br><html><br><head><br><title>SPICE
Plugin Installer</title><br><br><script
type="text/javascript"><br>function
installSpice()<br>{<br>try {<br>
document.getElementById('SpiceX').innerHTML = '<OBJECT
id="SpiceX" codebase="/spice/SpiceX.cab"
classid="clsid:ACD6D89C-938D-49B4-8E81-DDBD13F4B48A" width="0"
height="0"></OBJECT>';<br>
} catch (ex)
{<br>
alert("Epic Fail!: " + ex.Description);<br>
}<br>}
<br></script><br><br></head><br><body><br>
<p><br> <p><b
id='SpiceX'>Spice ActiveX Plugin</b> </p>
<br>
<button
onclick='installSpice()'>Install Spice
Plugin</button><br>
</p><br></body><br></html><br><br>-
Save the file<br>- You will now need to restart the ovirt-engine service EG:
systemctl restart ovirt-engine.service OR service ovirt-engine restart<br>
- The installer page will now be available at http://<url to ovirt
server>/spice.html EX: <a
href="http://ovirt.azeroth.net/spice.html"
target="_blank">http://ovirt.azeroth.net/spice.html</a>...
Navigate to that page and click the install button<br>
- IE will prompt you to deploy/install the SpiceX cabinet file<br>- It may gripe
about an unsigned or untrusted source, acknowledge this an proceed anyways<br>- If
the install succeeds the text "Spice ActiveX Plugin" on the page will change to
blank (it's actually the plugin with null values)<br>
- The console button in the user and webadmin portals will now launch the new virt-viwer
spice based console!<br><br>Happy Spice Consoling to your VM's from
Windows!<br><br>*NOTE*<br>To uninstall the plugin:<br>- The below
removes the add-on from IE (EG: removes knowledge of
"application/x-spice")<br>
- pop a command terminal and type:<br>On Windows XP: regsvr32 /u "C:\Documents
and Settings\Administrator\Local Settings\Application
Data\virt-viewer\bin\SpiceX.dll"<br>On Windows 7 regsvr32 /u C:\Documents and
Settings\Administrator\Local Settings\AppData\virt-viewer\bin\SpiceX.dll"<br>
- Next we need to remove the rest of virt-viewer<br>- Go to add/remove programs and
uninstall virt-viewer, this removes the rest of virt-viewer from the system<br>
<br>_______________________________________________<br>Users mailing
list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><br></div></div></body></html>
------=_Part_62059657_817615529.1346307725496--