Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I can see presentations, chat, screen-share, everything in webex meeting but can't make audio work, I always get:

"The Audio Device is Unaccessible Now"

Does anyone know what is happening?

Thanks.

share|improve this question

2 Answers

I just posted an answer to this question over at http://ubuntuforums.org/showthread.php?p=11757928

The WebEx applet uses a proprietary native module to access the sound software. It is a 32-bit .so, so it cannot be loaded by a 64-bit JVM. The usual solution seems to be to run a 32-bit browser any time you are using WebEx. As an alternative, I have patched the nspluginwrapper utility so that you can run a 32-bit Java plugin from a 64-bit browser (I've tested with Firefox, it should also work with Chrome).

Download the latest sources for nspluginwrapper from http://nspluginwrapper.org/download/

Expand the file (tar -xvzf) in a convenient location

Apply the following patch to the file npw-viewer.c:

--- npw-viewer.c    2011-06-30 23:18:57.000000000 -0400
+++ nspluginwrapper-1.4.4/src/npw-viewer.c    2012-03-11 14:09:35.104158681 -0400
@@ -5128,6 +5128,17 @@
     }
     handles[n_handles++] = handle;
     dlerror();
+#else
+    /* Install libstdc++ for java */
+    const char libstcpp[] = "libstdc++.so.6";
+    D(bug("  trying to open standard C++ runtime '%s'\n", libstcpp ));
+    if ((handle = dlopen(libstcpp, RTLD_LAZY|RTLD_GLOBAL)) == NULL) {
+      npw_printf("ERROR: %s\n", dlerror());
+      return 1;
+    }
+    handles[n_handles++] = handle;
+    dlerror();
+
 #endif
     D(bug("  %s\n", plugin_path));
     if ((handle = dlopen(plugin_path, RTLD_LAZY)) == NULL) {

You may need to get some additional libraries to make things work. In particular, I installed:

sudo apt-get install libcurl4-nss-dev libxt-dev libgtk2.0-dev g++-multilib

YMMV.

After getting the dependencies, its:

./configure
make
sudo make install

Then you will need a 32-bit jre. This can be downloaded from Oracle's website and installed.

Finally, locate the file libnpjp2.so in the lib directory of the 32-bit Java installation. I found it in /usr/lib/jvm/ia32-java-6-sun/jre/lib/i386/.

Execute

sudo nspluginwrapper -i /usr/lib/jvm/ia32-java-6-sun/jre/lib/i386/libnpjp2.so

(Or wherever your Java was installed.)

Then (re) start Firefox. Type "aboutlugins" in the address bar. You should see your newly installed 32-bit Java plugin.

Try joining a WebEx meeting with sound

share|improve this answer
Thanks for the detailed answer! – HRJ May 14 '12 at 10:48
Dan, would you mind making this a bit more newb friendly? ie, instructions on how to apply the patch? Instructions on where to put the file, ir a set if command lines that could be run to effect the same? – Brandon Bertelsen Jul 15 '12 at 23:24
Putting the patch file in the src folder and running the patch gives me a different error: patch < 0001*.txt patching file npw-viewer.c Hunk #1 FAILED at 5128. 1 out of 1 hunk FAILED -- saving rejects to file npw-viewer.c.rej – NW Tech May 17 at 0:04

Take a look here or at the initial post here.

They propose to use another installation of a browser (e.g. swiftfox) that uses a 32-bit Java plugin.

share|improve this answer
Swiftfox is no longer available for download. The lead dev quit working on it a while back and the download links all result in a 404 at current. – NW Tech May 17 at 18:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.