-
Notifications
You must be signed in to change notification settings - Fork 468
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
Linux: 2.0.0 fails to start #231
Comments
Thanks for the report! |
I've seen the bug while building from master yesterday.
I'm using mostly Debian 10 stable with kernel 4.19.98-1 and the problem persists with v2.0.0-beta2. Thanks @monga for the workaround. 👍 And thanks everyone else to be working on improving this app. 👍 REM: I'm getting something working on Raspbian too, but with many issues to fix (unstable cam, weird noisy sound and abi error while packaging). |
The thing about the work around is that you are going against the Debian's security settings. And one still needs the admin rights to get that fix. I do hope that there is a fix with this during appimage packaging. |
I could reproduce it with Ubuntu 19.10 by setting Hopefully we can solve this quickly, but if anyone has ideas on how to fix it, they'd be more than welcome. |
Tried to fix it on #235 and made a beta 4, but alas the problem persists :-/ |
@saghul we also saw the Problem, that's why we released the deb so People can start the stuff with --no-sandbox, which helps those people. The problem seems only to exist for Debian Buster and running everywhere without sandbox does not seem a good idea. |
I use other Electron apps like Trilium and Rocket.Chat, they release .deb so this is no issue |
Where can i find the .deb file for the 2.0.0. release? |
@saghul I can make a PR to add it if interested We build it already and it seems to work fine: |
Other Electron applications have the same problem. Riot chose to set the SUID bit, Signal added |
SUID bit solution is not suitable for AppImage and Snap packages, so normally |
@awlx Nice! Sure thing! What approach did you follow to get it working? |
It's to be honest pretty simple as electron-builder has a built target which is called "deb" :). |
@awlx electron-builder sets the SUID bit for the deb package but this project ships AppImage linux package only and electron-builde doesn't yet embed the |
@awlx We don't do debs, this problem seems to manifest differently for AppImages. @vladimiry Thanks for the insight! I think I'd go with the patching, since it's a tad simpler to maintain, at least for now. I'll try go get a PR up later today. Thanks for the help! |
I think I misread @vladimiry 's comment 🤦 I've spent some time trying to get it to work but AFAICT doing the repackage-package dance might be the only way forward, and I have no energy left for that. At least with the current way it will work for thoe who want to create Debian packages... |
I vote for debian packages :-) |
Would creating a flatpak help here? |
Yes, flatpak always helps. Flatpak runs on all distro's, has integration for all desktops and the package can be upgraded with software center if published on Flathub. |
@tanty: https://github.com/flathub/org.jitsi.jitsi-meet |
@hferreiro Thanks! |
CLosing as this is now documented in our readme and nothing we can act upon. |
Add a link to the jitsi#231 issue as searching the issue by hand is cumbersome
Add a link to the #231 issue as searching the issue by hand is cumbersome
Modeled after electron-userland/electron-builder#5371 (comment) but with eslint applied
Modeled after electron-userland/electron-builder#5371 (comment) but with eslint applied
Modeled after electron-userland/electron-builder#5371 (comment) but written with promised-based fs nodejs API. This allows to drop the app-builder-lib .desktop patch, as --no-sandbox is now part of all linux targets via the additional launcher script, so the arg can be dropped from the .desktop file Exec line. Manual workaround is removed from the README as well.
Modeled after electron-userland/electron-builder#5371 (comment) but written with promised-based fs nodejs API. This allows to drop the app-builder-lib .desktop patch, as --no-sandbox is now part of all linux targets via the additional launcher script, so the arg can be dropped from the .desktop file Exec line. Manual workaround is removed from the README as well.
Modeled after electron-userland/electron-builder#5371 (comment) but written with promised-based fs nodejs API. This allows to drop the app-builder-lib .desktop patch, as --no-sandbox is now part of all linux targets via the additional launcher script, so the arg can be dropped from the .desktop file Exec line. Manual workaround is removed from the README as well.
Add a link to the jitsi#231 issue as searching the issue by hand is cumbersome
Modeled after electron-userland/electron-builder#5371 (comment) but written with promised-based fs nodejs API. This allows to drop the app-builder-lib .desktop patch, as --no-sandbox is now part of all linux targets via the additional launcher script, so the arg can be dropped from the .desktop file Exec line. Manual workaround is removed from the README as well.
[193209:0407/164939.241277:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_jitsi-KCGvvK/chrome-sandbox is owned by root and has mode 4755.
I was a happy user of the previous version, but now it fails with the above error.
I'm on an Debian unstable system (x86_64), with kernel 5.5.1
As a workaround, I found out (see electron/electron#17972) that
makes it work again.
The text was updated successfully, but these errors were encountered: