Skip to content

Instantly share code, notes, and snippets.

@cjnolet
Created July 27, 2019 22:50
Show Gist options
  • Save cjnolet/2d041a0820529062e3b48b5124924968 to your computer and use it in GitHub Desktop.
Save cjnolet/2d041a0820529062e3b48b5124924968 to your computer and use it in GitHub Desktop.
Run Cisco Webex on 64-bit Fedora 28

Run Cisco Webex on 64-bit Fedora 28/CentOS 7

With Audio and Screen Sharing Enabled

IMPORTANT NOTE :

1. The Screen Sharing works when you use Xorg instead of Wayland.
2. In my test, I disabled SELinux but maybe it works even if SElinux is permissive.
3. This was tested and worked on the DELL VOSTRO 3560 but does not work on DELL PRECISION 7510

Tests done and not working :

  • DELL Precision 7510 : Audio and Screen Sharing do not work
  • LENOVO T440p : Audio and Screen Sharing do not work (Thx to sh4d0q)

Tests done and working :

  • DELL VOSTRO 3560 : Audio and Screen Sharing work

Prerequisites

Install the libraries required to execute ELF-32 executables:

sudo dnf upgrade -y
sudo dnf install -y glibc-devel.i686 ncurses-libs.i686

Install Firefox 52 ESR (32-bit)

Beginning with Firefox 52 (released March 2017), plug-in support is limited to Adobe Flash, and drops support for NPAPI, impacting plugins for Java, Silverlight, and other similar NPAPI based plugins. Hence you need the ESR release. You can read more on that here: https://www.java.com/en/download/help/firefox_java.xml

Download Firefox ESR for Linux (32-bit) from here.

Unpack it to somewhere, for example to /opt/webex/:

sudo mkdir -p /opt/webex/
sudo tar -xjvf firefox*esr*.tar.bz2 -C /opt/webex/

Install the libraries required for Firefox (i686) to run smoothly:

sudo dnf install -y \
    gtk3.i686 \
    alsa-lib.i686 \
    dbus-glib.i686 \
    libXt.i686 \
    libXtst.i686 \
    libcanberra-gtk2.i686

Install 32-bit JRE

Download Oracle JRE for Linux (a tar.gz archive for x86 architecture) from here.

Unpack it to /opt/webex/:

sudo tar -xzvf jre*linux-i586.tar.gz -C /opt/webex/
sudo mv /opt/webex/jre* /opt/webex/jre

Enable Java support in Firefox

Create symbolic links for the Java browser plugin libraries:

sudo mkdir /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libawt.so /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libjawt.so /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libnpjp2.so /opt/webex/firefox/plugins/

Install the libraries required for Webex to run

sudo dnf install -y \
    pango.i686 \
    libXv.i686 \
    alsa-plugins-pulseaudio.i686

Create a Firefox launch script

cat << 'EOF' | sudo tee /opt/webex/firefox.sh
#!/bin/bash

export ENV_HOME=/opt/webex
export FIREFOX_HOME=$ENV_HOME/firefox
export MOZ_PLUGIN_PATH=$ENV_HOME/firefox/plugins
export JAVA_HOME=$ENV_HOME/jre
export PATH=$JAVA_HOME/bin:$PATH

#export JPI_PLUGIN2_DEBUG=1

$FIREFOX_HOME/firefox --no-remote -P
EOF

This script will start a new instance of Firefox with the ProfileManager. Choose an existing Firefox profile or create a new one.

You might want to specify a specific profile to start with. Just add the profile name after the -P flag.

Don't forget to make the script executable:

sudo chmod a+x /opt/webex/firefox.sh

You might want to create a symlink, like this:

sudo ln -s /opt/webex/firefox.sh /usr/local/bin/firefox-i686

Start a Webex session

Launch the script and join a Webex session.

If webex.com sends you a jnlp file and Firefox asks what to do with it, just download it. Further, in the Firefox Preferences > Applications, set the action for JNLP files: they should be opened with javaws (Java Web Start) which can be found here:

/opt/webex/jre/bin/javaws

(Optional) Install the missing libraries required by Webex

Find out what required libraries are be missing (note that the session number may be different):

ldd ~/.webex/T30_MC/*.so | grep "not found"

You can use https://rpmfind.net/ to find out which packages contain the libraries.

It is OK to have libjawt.so being not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment