signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

Can't launch signal-desktop on fresh Linux Mint installation #7013

Closed hurani closed 1 month ago

hurani commented 2 months ago

Using a supported version?

Overall summary

Just installed Linux Mint and installed Signal Desktop using these commands from the official site

# NOTE: These instructions only work for 64-bit Debian-based
# Linux distributions such as Ubuntu, Mint etc.

# 1. Install our official public software signing key:
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null

# 2. Add our repository to your list of repositories:
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
  sudo tee /etc/apt/sources.list.d/signal-xenial.list

# 3. Update your package database and install Signal:
sudo apt update && sudo apt install signal-desktop

(source: https://signal.org/download/linux/)

Now Signal Desktop doesn't launch. I haven't had this issue on Fedora as of this week, FWIW.

Here is the logging I see when I run signal-desktop --enable-logging=stderr --v=2

[54904:0909/185708.148154:INFO:cpu_info.cc(53)] Available number of cores: 4
[54904:0909/185708.148470:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates
[54901:0909/185708.156477:VERBOSE1:bus.cc(916)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.freedesktop.login1"

[54903:0909/185708.159591:INFO:cpu_info.cc(53)] Available number of cores: 4
[54903:0909/185708.159918:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates
Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME karimint
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/karim/.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
[54901:0909/185709.077903:VERBOSE1:key_storage_util_linux.cc(51)] Password storage detected desktop environment: XFCE
[54901:0909/185709.104935:VERBOSE1:device_event_log_impl.cc(198)] [18:57:09.083] Display: EVENT: x11_display_manager.cc:110 Displays updated, count: 2
[54901:0909/185709.105026:VERBOSE1:device_event_log_impl.cc(198)] [18:57:09.104] Display: EVENT: x11_display_manager.cc:112 Display[2763197193410388] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
[54901:0909/185709.105111:VERBOSE1:device_event_log_impl.cc(198)] [18:57:09.105] Display: EVENT: x11_display_manager.cc:112 Display[8564274688388437] bounds=[1920,0 1920x1080], workarea=[1920,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
[54901:0909/185709.105217:VERBOSE1:pref_proxy_config_tracker_impl.cc(191)] 0x25bc000479c0: set chrome proxy config service to 0x25bc0007a760
[54901:0909/185709.107167:VERBOSE1:media_stream_manager.cc(1527)] MSM::InitializeMaybeAsync([this=0x25bc022b0140])
[54901:0909/185709.110088:VERBOSE1:media_stream_manager.cc(1527)] MDM::MediaDevicesManager()
[54901:0909/185709.110168:VERBOSE1:media_stream_manager.cc(1527)] MSM::MediaStreamManager([this=0x25bc022b0140]))
[54901:0909/185709.114810:VERBOSE1:select_file_dialog_linux_portal.cc(297)] File chooser portal available: yes
[54901:0909/185709.124878:VERBOSE1:bus.cc(916)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.freedesktop.portal.Desktop"

[54901:0909/185709.171532:VERBOSE1:key_storage_util_linux.cc(51)] Password storage detected desktop environment: XFCE
[54901:0909/185709.171571:VERBOSE1:key_storage_linux.cc(118)] Selected backend for OSCrypt: GNOME_LIBSECRET
[54935:0909/185709.435414:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.

Steps to reproduce

  1. Install Linux Mint
  2. Install Signal Desktop from signal repositories
  3. Launch Signal Desktop

Expected result

Signal Desktop launches

Actual result

Signal Desktop doesn't launch

Screenshots

No response

Signal version

7.23.0

Operating system

OS: Linux Mint wilma 22 x86_64

Kernel: Linux 6.8.0-38-generic

Version of Signal on your phone

No response

Link to debug log

No response

scottnonnenberg-signal commented 2 months ago

Thanks for the report - I'm sorry this is happening to you! We primarily test on Ubuntu, so we haven't seen this.

What happens when you try to run other Electron-based apps like Slack? Or Chromium? What do you see if you try to run Electron Fiddle? https://www.electronjs.org/fiddle

You can use Electron Fiddle to figure out which versions of Electron work for you and which don't. Knowing that detail would really help the Electron folks figure out what went wrong for you.

hurani commented 1 month ago

Hey @scottnonnenberg-signal, this issue resolved itself after a few attempts to install and uninstall Signal from different sources. I don't recall something specific fixing it. I'll close this issue and maybe it can be re-opened if someone else runs into it.