Open CarliJoy opened 5 years ago
Hi, @CarliJoy. How did you install Signal on your machine?
I have the same problem. I installed it with the recommended https://updates.signal.org/desktop/apt
apt repository.
libffmpeg.so
does not exist on debian.
Oh I see, it's because I did chmod +s signal-desktop
because otherwise it doesn't start unless you specify --no-sandbox
. I think these are the problems:
1) there's no --help
for signal-desktop
, so you wouldn't know to specify --no-sandbox
without reading the .desktop file
2) you have to specify --no-sandbox
to begin with
I think the correct solution is to rename signal-desktop
to signal-desktop.bin
or something, and replace signal-desktop with a shell script that does exec signal-desktop.bin --no-sandbox "$@"
(and maybe also provides some --help
information).
The solution of @njaard worked for me as well. I used the same recommended method for installing
Just to clarify to the Signal developers: the bug is that the Signal binary needs a special incantation to run. Therefor the solution I mentioned above is for the Signal developers to actually ship their software with.
This problem reoccured with v1.34.2 of signal-desktop. I used the workaround here and just invoke signal from bash https://github.com/signalapp/Signal-Desktop/issues/3692#issuecomment-546507577
Updated to Signal version 5.62.0 on Debian Buster via the repository. uname -r 4.19.0-22-amd64 cat /etc/debian_version 10.13 All updates installed
Got the issue. Even when I run "signal-desktop --no-sandbox" I get "signal-desktop: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory" cd /opt/Signal ls -l libffmpeg.so -rwxr-xr-x 1 root root 2991840 okt 6 01:30 libffmpeg.so ls -l signal-desktop -rwsr-xr-x 1 root root 154991496 okt 6 01:31 signal-desktop
Created signalNOsandbox.sh Containing
exec signal-desktop --no-sandbox "$@" Did chmod 740 signalNOsandbox.sh Did ./signalNOsandbox.sh Got: Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' } NODE_ENV production NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config NODE_CONFIG {} ALLOW_CONFIG_MUTATIONS undefined HOSTNAME undefined NODE_APP_INSTANCE undefined SUPPRESS_NO_CONFIG_WARNING undefined SIGNAL_ENABLE_HTTP undefined userData: /root/.config/Signal config/start: Did not find user config file (or it was empty), cache is now empty object config/start: Did not find ephemeral config file (or it was empty), cache is now empty object making app single instance [24609:1101/180450.768947:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY [24609:1101/180450.768996:ERROR:env.cc(226)] The platform failed to initialize. Exiting. [24609:1101/180450.781910:ERROR:node_util.cc(34)] Failed to CompileAndCall electron script: electron/js2c/asar_bundle The futex facility returned an unexpected error code. Aborted /Got:
Any idea's how to get Signal running again? Thanks.
Hmm, reinstalling Signal, via aptitude, solved the issue. Running /opt/Signal/signal-desktop --no-sandbox %U from the launcher in Xfce or /opt/Signal/signal-desktop --no-sandbox from the command line both work.
@zounp it appears that your signal was getting run as root somehow, and then couldn't connect to the X server for that reason.
I really wish the Signal developers would fix this, it's an easy fix with a huge quality-of-life return.
Indeed, you can not run Signal as root. However I did not run Signal as root, I ran Signal as a normal user in a terminal and got the issue (which I solved by reinstalling as mentioned above).
[x] I have searched open and closed issues for duplicates
Bug Description
When trying to start signal-desktop i get the exception
signal-desktop: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
Steps to Reproduce
I also tried copying the libary to /usr/lib which will remove the error message but still signal wont start
Expected Result:
signal-desktop should start and be visible without any manual action
Platform Info
Signal Version: 1.27.4 Operating System: Debian Stable (Buster)