--_000_E6D1D0304EB84B0ABE0D12FEAF616E25sluse_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
13 sep 2012 kl. 01.21 skrev Dead Horse:
Thank you! glad to be able to help ;)
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 runn=
ing the spice client in a VM when the guest tools/drivers for mouse handlin=
g are not present (In my case most of the time VirtualBox).
Very amusing "bug":) But cripples SPICE=B4s usage.
I have tested this from 5 different physical machines running Win7/IE, and =
this behavior shows itself only on machines with more than one monitor, or =
a laptop with another monitor attached .e.g. These guest tools you both men=
tion, would these be "http://spice-space.org/download/binaries/spice-guest-=
tools-0.1.exe"? And can you install them in a physical machine as well?
/Karli
- DHC
On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim
Spice ActiveX Plugin
Thank you! glad to be able to help ;)
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 runn= ing the spice client in a VM when the guest tools/drivers for mouse handling are not present (In my case mos= t of the time VirtualBox).
- DHC
On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim<iheim@redhat.com<= /a>> wrote:
On 09/12/2012 05:21 PM, Karli Sj=F6berg wrote:
This is awesome work, thank you so much for this! For our= users andone of the edges of my *monitor*, and not into the console window- as
administrators, having a button you just click to get a console is sooo
much easier than having to copy-paste a bunch of cryptic addresses and
passwords, and having to use the infamous, dangerous hacker tool VNC:)
I followed the wiki instructions and a vital piece missing is to restart
ovirt-engine before trying to install the spice-client from the install
portal. I went back and read through the email you first posted and the
restart was mentioned there so I did and then it worked! Wohoo! So you
might want to add that point to the wiki page as well, to avoid future
confusion.
But...when I have virt-viewer(-0.5.3) installed, log in to webadmin and
click for console on a guest, the console shows up. But when I try to go
into the console window with the mouse cursor, the cursor jumps off to
you would expect. Maybe virt-viewer mistakenly "thinks" that the = edges
of it=B4s window really are the edges of the whole monitor? Am I holding
it wrong?
do you have spice guest side drivers for local mouse handling?
/Karli
6 sep 2012 kl. 22.36 skrev Dead Horse:
Wiki page added. Feel free to change/edit/contribute or p= rovide feedback.
Link:
http://wiki.ovirt.org/wiki/How_to_Connect_= to_SPICE_Console_With_Portal
- DHC
On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth
<robert@middleswarth.net <mailto:robert@middleswarth.net>>= 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 t= o
grant the proper create/edit page access or create a stub pag= e
and allow edit access to it.
- DHC
On Thu, Aug 30, 2012 at 3:03 PM, Douglas Landgraf
<dougsland@redhat.com <mailto:dougsland@redhat.com>> wrot= e:
On 08/30/2012 02:22 AM, Yaniv Kaul wrote:
Thanks!+1
Can you wiki'fy it (@ wiki.ovirt.org <http://wiki.ovirt.org/>) ?
Y.
Thanks!
----------------------------------------= --------------------------------Users@ovirt.org <mailto:Users@ovirt.org>
I have seen this question asked m= any times on this list
and the spice-devel list. Now hav= ing figured out how to
make it work I will provide the a= nswer to the rest of
the community.
*NOTE* this only applies to Windo= ws/Internet Explorer
users. There exists no other opti= on other than the html5
spice console (still beta/in deve= lopment) for windows
users ATM. This will also only wo= rk with Internet Explorer.
Basic Steps:
- Install an oVirt server.
- Add at least one node
- Setup storage/iso/export domain= s
Advanced steps
- Start by downloading:
http://elmarco.fedorapeople.o= rg/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/en= gine.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><= br> <param-na= me>type</param-name>
<param-va= lue>application/octet-stream</param-value>
</init-param>=
<init-param><= br> <param-na= me>file</param-name>
<param-va= lue>/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/en= gine.ear/root.war
- In the example below an html fi= le called "spice.html"
- Copy/Paste the below into spice= .html:
<!DOCTYPE html>
<html>
<head>
<title>SPICE Plugin Install= er</title>
<script type=3D"text/java= script">
function installSpice()
{
try {
document.getElement= ById('SpiceX').innerHTML =3D
'<OBJECT id=3D"SpiceX&quo= t; codebase=3D"/spice/SpiceX.cab"
classid=3D"clsid:ACD6D89C-93= 8D-49B4-8E81-DDBD13F4B48A"
width=3D"0" height=3D&q= uot;0"></OBJECT>';
} catch (ex) {
alert= ("Epic Fail!: " + ex.Description);
}
}
</script>
</head>
<body>
<p>
<p><b id= =3D'SpiceX'>Spice ActiveX Plugin</b> </p>
<button onclick= =3D'installSpice()'>Install Spice
Plugin</button>
</p>
</body>
</html>
- Save the file
- You will now need to restart th= e ovirt-engine service
EG: systemctl restart ovirt-engin= e.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/in= stall the SpiceX
cabinet file
- It may gripe about an unsigned = or untrusted source,
acknowledge this an proceed anywa= ys
- If the install succeeds the tex= t "Spice ActiveX
Plugin" on the page will cha= nge 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-viwe= r spice based console!
Happy Spice Consoling to your VM'= s from Windows!
*NOTE*
To uninstall the plugin:
- The below removes the add-on fr= om 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 Sett= ings\Application
Data\virt-viewer\bin\SpiceX.= u>dll"
On Windows 7 regsvr32 /u C:\Docum= ents and
Settings\Administrator\Local
Settings\AppData\virt-viewer\<= /u>bin\SpiceX.dll"
- Next we need to remove the rest= of virt-viewer
- Go to add/remove programs and u= ninstall virt-viewer,
this removes the rest of virt-vie= wer from the system
______________________________= _________________
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
________________________________________= _______
Users mailing list
http://lists.ovirt.org/mailman/listinfo= /users
Users@ov= irt.org <mailto:Users@ovirt.org>
--
Cheers
Douglas
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Users@ov= irt.org <mailto:Users@ovirt.org>
--
Thanks
Robert Middleswarth
@rmiddle (twitter/Freenode IRC)
@RobertM (OFTC IRC)
_______________________________________________
Users mailing list
Users@ovirt.org &l= t;mailto:Users@ovirt.o= rg>
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
karli.sjoberg@slu= .se <mailto:karli.sjoberg@adm.slu.se>
Med V=E4nliga H=E4lsningar
-------------------------------------------------------------= ------------------
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users