Re: [Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
tis 2013-03-12 klockan 16:52 +0200 skrev Itamar Heim: On 03/12/2013 03:47 PM, Karli Sjöberg wrote: tis 2013-03-12 klockan 15:33 +0200 skrev Itamar Heim: 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 :) And here I thought you guys were like in the Matrix, /You get used to it. I don't even see the code. All I see is blonde, brunette, redhead.../;) looks good - how about making an rpm out of it and the spice deps so it can be part of the ovirt release instead of a manual process? (and for the activex as well)? That sounds terrific! Too bad I don´t know squat about making rpm´s:( But if any one would like a collaboration, I´d be happy to help out in any way I can! /Karli Thanks, Itamar /usr/share/ovirt-engine/engine.ear/root.war/spice.html: http://pastebin.com/hjK3MtMH /usr/share/ovirt-engine/engine.ear/root.war/spice.css: http://pastebin.com/dtQZ1kif 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: 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 rob...@middleswarth.netmailto:rob...@middleswarth.net mailto:rob...@middleswarth.net mailto:rob...@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 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 dougsl...@redhat.commailto:dougsl...@redhat.com mailto:dougsl...@redhat.com mailto:dougsl...@redhat.com wrote: On 08/30/2012 02:22 AM, Yaniv Kaul wrote: Thanks! Can you wiki'fy it (@ wiki.ovirt.org http://wiki.ovirt.org) ? 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: 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-nameSpiceX.cab/servlet-name servlet-classorg.ovirt.engine.core.FileServlet/servlet-class init-param param-nametype/param-name param-valueapplication/octet-stream/param-value /init-param init-param param-namefile/param-name param-value/usr/share/spice/SpiceX.cab/param-value /init-param /servlet servlet-mapping servlet-nameSpiceX.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 titleSPICE Plugin Installer/title script type=text/javascript
Re: [Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
tis 2013-03-12 klockan 16:05 -0500 skrev Dead Horse: Nicely done! I actually ended up cleaning that page up at a later date as well. Also ended up styling it to match the html/CSS I use to replace the stock html and styles with when I re-brand things. - DHC Well, you´re far too kind, it´s more of a hack-job really. I mean, standards compliance, what´s that?;) But at least it renders the same on many different OS's and browsers, most importantly Win/IE, and I put in additional fixes to make it look the same on iOS and Android as well. /usr/share/ovirt-engine/engine.ear/root.war/spice.html: http://pastebin.com/7UPxKqvW /usr/share/ovirt-engine/engine.ear/root.war/spice.css: http://pastebin.com/XRejaAgs ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
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 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). Very amusing bug:) But cripples SPICE´s 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 mention, 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 ih...@redhat.commailto:ih...@redhat.com wrote: On 09/12/2012 05:21 PM, Karli Sjöberg wrote: This is awesome work, thank you so much for this! For our users and 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 one of the edges of my *monitor*, and not into the console window- as you would expect. Maybe virt-viewer mistakenly thinks that the edges of it´s 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 provide 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 rob...@middleswarth.netmailto:rob...@middleswarth.net mailto:rob...@middleswarth.netmailto:rob...@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 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 dougsl...@redhat.commailto:dougsl...@redhat.com mailto:dougsl...@redhat.commailto:dougsl...@redhat.com wrote: On 08/30/2012 02:22 AM, Yaniv Kaul wrote: Thanks! Can you wiki'fy it (@ wiki.ovirt.orghttp://wiki.ovirt.org/ http://wiki.ovirt.org/) ? 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: 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-nameSpiceX.cab/servlet-name servlet-classorg.ovirt.engine.core.FileServlet/servlet-class init-param param-nametype/param-name param-valueapplication/octet-stream/param-value /init-param init-param param-namefile/param-name param-value/usr/share/spice/SpiceX.cab/param-value
Re: [Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
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 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). - DHC On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim ih...@redhat.com wrote: On 09/12/2012 05:21 PM, Karli Sjöberg wrote: This is awesome work, thank you so much for this! For our users and 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 one of the edges of my *monitor*, and not into the console window- as you would expect. Maybe virt-viewer mistakenly thinks that the edges of it´s 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 provide feedback. Link: http://wiki.ovirt.org/wiki/**How_to_Connect_to_SPICE_** Console_With_Portalhttp://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal - DHC On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth rob...@middleswarth.net mailto:robert@middleswarth.**netrob...@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 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 dougsl...@redhat.com mailto:dougsl...@redhat.com wrote: On 08/30/2012 02:22 AM, Yaniv Kaul wrote: Thanks! Can you wiki'fy it (@ wiki.ovirt.org http://wiki.ovirt.org/) ? 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: http://elmarco.fedorapeople.**org/spice.cabhttp://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-nameSpiceX.cab/**servlet-name servlet-classorg.ovirt.**engine.core.FileServlet/** servlet-class init-param param-nametype/param-name param-valueapplication/** octet-stream/param-value /init-param init-param param-namefile/param-name param-value/usr/share/spice/** SpiceX.cab/param-value /init-param /servlet servlet-mapping servlet-nameSpiceX.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