[Spice-devel] Porting spice-xpi-2.8 to Chromium

Alon Levy alevy at redhat.com
Sun Sep 1 05:14:40 PDT 2013


> Hi all
> 
> I tried to use spice-xpi-2.8.0 with Chromium (on a RaspPi).
> 
> Now, I get this error when the UserPortal tries to connect with the plugin.
> 
> pi at raspberrypi ~ $ /usr/bin/chromium --user-agent="Mozilla/5.0 (X11; Debian;
> Linux armv6l; rv:21.0) Gecko/20100101 Firefox/21.0"
> [1:1:3688624088:ERROR:nss_util.cc(692)] Failed to load NSS libraries.
> [4:4:3690695725:ERROR:nss_util.cc(452)] Error initializing NSS without a
> persistent database: libsoftokn3.so: cannot open shared object file:
> Permission denied

You are missing NSS libraries on your raspberry. The above error is the indication. Where is the plugin from? You will need to copy any libraries it depends on to the raspberry, like libsoftokn3.so . They have to be the correct ABI too. 

> [10964:10964:3692312655:ERROR:gl_surface_glx.cc(57)] glxQueryVersion failed
> [10964:10964:3692313783:ERROR:gl_surface_linux.cc(58)]
> GLSurfaceGLX::InitializeOneOff failed.
> [7:7:3808190575:ERROR:webplugin_delegate_proxy.cc(311)] Plug-in crashed on
> start
> 
> (I use the --user-agent parameter because we can't patch the UserPortal at
> the moment)
> 
> root at raspberrypi:~# ls -alh /usr/lib/chromium/plugins/
> drwxr-xr-x 2 root root 4.0K Aug 30 02:41 .
> drwxr-xr-x 6 root root 4.0K Aug 29 22:33 ..
> -rwxr-xr-x 1 root root 322K Aug 30 01:51 nsISpicec.so
> -rw-r--r-- 1 root root 1.2K Aug 30 01:51 nsISpicec.xpt
> 
> Has anyone an idea why the plugin crashes? I have sadly no idea how to debug
> the plugin.
> 
> Thank you very much
> 
> Kind regards
> Ueli Banholzer
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list