<div dir="ltr"><div><div><div>Thanks for your answer.<br></div><div>My Ovirt is 3.4.1(Allinone on Centos6.5)<br></div><div>Client OS is ubuntu12.04(Firefox26)<br></div>I have tried your method but it doesn&#39;t work.I got this error mesg from adminportal:<br>
</div>     <span style="color:rgb(255,153,0)"> Error connecting to Virtual Machine using SPICE:<br></span></div><span style="color:rgb(255,153,0)">      Internal error (code 1032)</span><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-05-12 22:14 GMT+08:00 Nathanaël Blanchet <span dir="ltr">&lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hi,<br>
      if you want to use spice-xpi with ubuntu, something I use to do is
      getting the latest fedora RPM (for instance :
      <a href="http://fedora.xfree.com.ar/linux/releases/20/Everything/x86_64/os/Packages/s/spice-xpi-2.8.90-1.fc20.x86_64.rpm" target="_blank">http://fedora.xfree.com.ar/linux/releases/20/Everything/x86_64/os/Packages/s/spice-xpi-2.8.90-1.fc20.x86_64.rpm</a>),
      then extract the rpm files with file-roller or in CLI with </font><br>
    <pre style="min-height:48px">rpm2cpio file.rpm | cpio -idmv

</pre>
    Then copy /usr/lib64/mozilla/plugins/npSpiceConsole.so into <span></span>/usr/lib/mozilla/plugins/<br>
    <br>
    Don&#39;t forget to install spice-client before:<br>
    sudo apt-get install spice-client<br>
    <br>
    <br>
    <div>Le 08/05/2014 12:22, Zhong Qiang a
      écrit :<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div><b><span style="background-color:rgb(153,153,153)"><span style="color:rgb(204,204,204)"><br>
                cp /usr/lib/moziila/plugins/libnsISpicec.so
                /usr/lib/firefox/browser/plugins/</span></span></b><br>
        </div>
        The spice-xpi is recognized by firefox29.But cannot cennect to
        the VM console with user_portal.<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-05-08 16:47 GMT+08:00 Zhong Qiang
          <span dir="ltr">&lt;<a href="mailto:xiaoqiang3243@gmail.com" target="_blank">xiaoqiang3243@gmail.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><span style="background-color:rgb(255,0,0)">firefox29: 

                spice xpi addon was not found</span><br>
              ##########################<br>
              root@user:~/recipe-{debupstream}-0~{revno}# dpkg -L
              spice-xpi<br>
              /.<br>
              /usr<br>
              /usr/share<br>
              /usr/share/doc<br>
              /usr/share/doc/spice-xpi<br>
              /usr/share/doc/spice-xpi/README<br>
              /usr/share/doc/spice-xpi/NEWS.gz<br>
              /usr/share/doc/spice-xpi/changelog.Debian.gz<br>
              /usr/share/doc/spice-xpi/README.Debian<br>
              /usr/share/doc/spice-xpi/copyright<br>
              /usr/share/spice<br>
              /usr/share/spice/logger.ini<br>
              /usr/lib<br>
              /usr/lib/mozilla<br>
              /usr/lib/mozilla/plugins<br>
              /usr/lib/mozilla/plugins/libnsISpicec.so<br>
              /usr/lib/mozilla/plugins/libnsISpicec.la<br>
              /usr/lib/mozilla/plugins/libnsISpicec.a<br>
              /usr/lib/mozilla/install.rdf<br>
              <br>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">2014-05-08 16:11 GMT+08:00 Zhong
                Qiang <span dir="ltr">&lt;<a href="mailto:xiaoqiang3243@gmail.com" target="_blank">xiaoqiang3243@gmail.com</a>&gt;</span>:
                <div>
                  <div><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">Thanks for you help,It worked<br>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">2014-05-08 15:16
                          GMT+08:00 René Koch <span dir="ltr">&lt;<a href="mailto:rkoch@linuxland.at" target="_blank">rkoch@linuxland.at</a>&gt;</span>:
                          <div>
                            <div><br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If
                                spice-xpi 2.7 is sufficient, you can use
                                these packages:<br>
                                <a href="https://launchpad.net/%7Ejasonbrooks/+archive/ppa/+packages" target="_blank">https://launchpad.net/~jasonbrooks/+archive/ppa/+packages</a><br>
                                <br>
                                <br>
                                Regards,<br>
                                René<br>
                                <br>
                                <br>
                                On 05/08/2014 07:22 AM, Zhong Qiang
                                wrote:<br>
                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> *when i
                                  complie spice-xpi-2.8 on ubuntu12.04
                                  with firefox29,i receive<br>
                                  this error:*
                                  <div>
                                    <div><br>
################################################################################################<br>
                                      <a href="mailto:root@user:%7E/src/spice-xpi-2.8#" target="_blank">root@user:~/src/spice-xpi-2.8#</a>
                                      make<br>
                                      make  all-recursive<br>
                                      make[1]: Entering directory
                                      `/root/src/spice-xpi-2.8&#39;<br>
                                      Making all in SpiceXPI<br>
                                      make[2]: Entering directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI&#39;<br>
                                      Making all in src<br>
                                      make[3]: Entering directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src&#39;<br>
                                      Making all in plugin<br>
                                      make[4]: Entering directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin&#39;<br>
                                         GEN    nsISpicec.xpt<br>
                                      make  all-am<br>
                                      make[5]: Entering directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin&#39;<br>
                                         CXX  
                                       libnsISpicec_la-controller.lo<br>
                                      controller.cpp: In destructor
                                      &#39;SpiceController::~SpiceController()&#39;:<br>
                                      controller.cpp:73:5: warning:
                                      format not a string literal and no
                                      format<br>
                                      arguments [-Wformat-security]<br>
                                         CXX  
                                       libnsISpicec_la-np_entry.lo<br>
                                         CXX  
                                       libnsISpicec_la-npn_gate.lo<br>
                                         CXX  
                                       libnsISpicec_la-npp_gate.lo<br>
                                         CXX  
                                       libnsISpicec_la-nsScriptablePeer.lo<br>
                                      In file included from
                                      nsScriptablePeer.cpp:54:0:<br>
                                      /root/src/xulrunner-sdk/include/nsError.h:186:14:

                                      error: expected<br>
                                      constructor, destructor, or type
                                      conversion before &#39;(&#39; token<br>
                                      /root/src/xulrunner-sdk/include/nsError.h:188:14:

                                      error: expected<br>
                                      constructor, destructor, or type
                                      conversion before &#39;(&#39; token<br>
                                      make[5]: ***
                                      [libnsISpicec_la-nsScriptablePeer.lo]
                                      Error 1<br>
                                      make[5]: Leaving directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin&#39;<br>
                                      make[4]: *** [all] Error 2<br>
                                      make[4]: Leaving directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin&#39;<br>
                                      make[3]: *** [all-recursive] Error
                                      1<br>
                                      make[3]: Leaving directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI/src&#39;<br>
                                      make[2]: *** [all-recursive] Error
                                      1<br>
                                      make[2]: Leaving directory
                                      `/root/src/spice-xpi-2.8/SpiceXPI&#39;<br>
                                      make[1]: *** [all-recursive] Error
                                      1<br>
                                      make[1]: Leaving directory
                                      `/root/src/spice-xpi-2.8&#39;<br>
                                      make: *** [all] Error 2<br>
#############################################################################################<br>
                                    </div>
                                  </div>
                                  *Any help is greatly appreciated.
                                  Thank you*<br>
                                  <br>
                                  <br>
_______________________________________________<br>
                                  Users mailing list<br>
                                  <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
                                  <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
                                  <br>
                                </blockquote>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d&#39;information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
  </font></span></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>