-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with Cisco Webex (LD_PRELOAD issue?) #14
Comments
For reference, here is my current YAML: app-id: com.cisco.Webex
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
command: webex
tags:
- proprietary
finish-args:
- "--share=ipc"
- "--socket=x11"
- "--socket=pulseaudio"
- "--share=network"
- "--device=all"
- "--talk-name=org.freedesktop.Notifications"
- "--talk-name=org.freedesktop.secrets"
modules:
- libsecret.json
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
tag: v2021.06
- name: webex
buildsystem: simple
build-commands:
- ar x Webex.deb
- tar xf data.tar.xz
- cp -r opt/Webex $FLATPAK_DEST/Webex
- rm $FLATPAK_DEST/Webex/lib/libstdc++.so.6
- chmod -R a-s,go+rX,go-w $FLATPAK_DEST/Webex
- install -Dm755 webex.sh $FLATPAK_DEST/bin/webex
- touch $FLATPAK_DEST/Webex/deb.dat
sources:
- type: script
dest-filename: webex.sh
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- exec zypak-wrapper /app/Webex/bin/CiscoCollabHost "$@"
- type: file
only-arches:
- x86_64
url: https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb
sha256: 5b15f4f71024685baa3675e2e1f33d0572cb75943b618ccf67673b04c70904cc
size: 216175364 |
Apologies for missing this issue previously! It looks like WebEx is using |
Would be great. WebEx is terrible with keeping its files stored in an appropriate location. Was about to post the same information. But looks like Vincent beat me to it by a few months. |
@refi64 Is there an easy way to experiment on your proposition to see if it fixes the issue? |
I just pushed my code to the |
Here is my current version: app-id: com.cisco.Webex
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: webex
tags:
- proprietary
finish-args:
- "--share=ipc"
- "--socket=x11"
- "--socket=pulseaudio"
- "--share=network"
- "--device=all"
- "--talk-name=org.freedesktop.Notifications"
- "--talk-name=org.freedesktop.secrets"
modules:
- libsecret.json
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
tag: webex
- name: webex
buildsystem: simple
build-commands:
- ar x Webex.deb
- tar xf data.tar.xz
- cp -r opt/Webex $FLATPAK_DEST/Webex
- rm $FLATPAK_DEST/Webex/lib/libstdc++.so.6
- chmod -R a-s,go+rX,go-w $FLATPAK_DEST/Webex
- install -Dm755 webex.sh $FLATPAK_DEST/bin/webex
- touch $FLATPAK_DEST/Webex/deb.dat
sources:
- type: script
dest-filename: webex.sh
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- exec env ZYPAK_QUIRKS=webex-trampoline zypak-wrapper /app/Webex/bin/CiscoCollabHost "$@"
- type: file
only-arches:
- x86_64
url: https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb
sha256: 5c54df0f70804ad1e8c8e49db8a207941fc038a15afeaf550614ae5ed1aad42d
size: 292685338 And I get:
I only get these files:
Maybe I missed something obvious? |
Makefile didn't include library at the end and thus, it wasn't preloaded properly You can try using this script for now, with fix for makefile (and libsecret from main webex flatpak repo) Overall, chat functions work fine, didn't check anything else yet, but i noticed that avatars aren't loading and only show up as name/surname (only group chats avatars work) app-id: com.cisco.Webex
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: webex
tags:
- proprietary
finish-args:
- "--share=ipc"
- "--socket=x11"
- "--socket=pulseaudio"
- "--share=network"
- "--device=all"
- "--talk-name=org.freedesktop.Notifications"
- "--talk-name=org.freedesktop.secrets"
modules:
- name: libsecret
buildsystem: meson
config-opts:
- "-Dmanpage=false"
- "-Dvapi=false"
- "-Dgtk_doc=false"
cleanup:
- "/bin"
- "/include"
- "/lib/pkgconfig"
- "/share/gir-1.0"
- "/share/man"
sources:
- type: archive
url: https://download.gnome.org/sources/libsecret/0.19/libsecret-0.19.1.tar.xz
sha256: 8583e10179456ae2c83075d95455f156dc08db6278b32bf4bd61819335a30e3a
- name: zypak
sources:
- type: git
url: https://github.com/Meister1593/zypak
branch: webex
- name: webex
buildsystem: simple
build-commands:
- ar x Webex.deb
- tar xf data.tar.xz
- cp -r opt/Webex $FLATPAK_DEST/Webex
- rm $FLATPAK_DEST/Webex/lib/libstdc++.so.6
- chmod -R a-s,go+rX,go-w $FLATPAK_DEST/Webex
- install -Dm755 webex.sh $FLATPAK_DEST/bin/webex
- touch $FLATPAK_DEST/Webex/deb.dat
sources:
- type: script
dest-filename: webex.sh
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- export ZYPAK_QUIRKS=webex-trampoline
- exec zypak-wrapper /app/Webex/bin/CiscoCollabHost "$@"
- type: file
only-arches:
- x86_64
url: https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb
sha256: 5c54df0f70804ad1e8c8e49db8a207941fc038a15afeaf550614ae5ed1aad42d
size: 292685338 I'm going to make pull request from my zypak repo into main one to fix this |
@Meister1593 It works with your change. Thanks! Edit: webcam works when disabling HD. |
Are any of you still using Webex in a flatpak? I was trying to get it working in flathub/flathub#2654 but currently, after I sign in, I get a message that it "Failed to initialize the Spark local database" with just a Close button that exits the app |
I didn't try since a long time. At the time, the app was just a more buggy version of the web app. |
Many people still feel that way 🙁 . It is a lot less buggy than it used to be (doesn't crash much for me and the audio/video quality is fine), but it still lacks key features that the web app has like chat and screen sharing on Wayland (I think; I still use X). When I don't need chat, I find it convenient to have Webex in a separate window that is easier to switch to than a browser tab / second window, and I like the pop ups the app makes for joining meetings when they start. |
Hello I tested the latest Webex Version but I get the following error: Invalid fd assignment: /app/Webex/bin/CiscoCollabHost Do you know how can solve this? or finally the better way is use the web.webex.com in the web browser? Thanks for your help. |
@diegofn The browser is definitely the more smooth experience. Cisco first released the Linux client multiple years ago and still has yet to add support for in-meeting chat, which gives an indication for how much Cisco values the Linux client. When you are regularly in meetings with 4+ other people using clients that support chat, you realize that it is impossible to use the Linux client as you miss links and other context that people add to the chat. I have not tested building the flatpak recently but I would if they added chat support. I do not like using the deb/rpm from Cisco because I found that it would download 100+ MB binaries into my home directory (I think updating parts of itself dynamically), so I would prefer to keep it sandboxed from the rest of my system if using it. One note about the browser version: for me on Firefox, it takes five minutes for the stream to appear when someone share's their screen. I just live with this but I have heard it works flawlessly in Chromium based browsers. The streams of other users' webcams work fine in Firefox. |
Unfortunately the browser does not offer the SIP and voicemail functionality. Therefore I am forced to use the Desktop client.
Apart from that no erros, but Webex still not starting (tried with and without By the way: For now I run a distrobox with ubuntu - that also works. |
Hey!
I am trying to turn Cisco WebEx into a Flatpak and I am having trouble with the sandboxing.
Zypak is unable to detect the call to sandbox. If I strace the host, I get:
I think the main issue is that it uses a library instead of the dynamic linker to find dependencies:
Neither the library nor the main binary has any dependencies, except the libc (from a linker point of view). At some point, the lib will load and mmap the "main" library (the ones that is linked to libcef).
I think this messes with the way symbols are searched through libraries.
What would be the best way to debug this in a more meaningful way? As it is trying to execute
chrome-sandbox
, I was hoping it would be possible to do something here.The text was updated successfully, but these errors were encountered: