[GH-ISSUE #7115] element: Error: no suitable /usr/bin/element-desktop executable found #3489

Open
opened 2026-05-05 10:01:44 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @mYnDstrEAm on GitHub (Mar 25, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7115

Description

When I run LC_ALL=C firejail --profile=/etc/firejail/element-desktop.profile /usr/bin/element-desktop Element does not launch and this is the output:

Reading profile /etc/firejail/element-desktop.profile
Reading profile /home/username/.config/firejail/element-desktop.local
Reading profile /etc/firejail/riot-desktop.profile
Reading profile /etc/firejail/riot-web.profile
Reading profile /etc/firejail/electron-common.profile
Reading profile /etc/firejail/blink-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-common.local
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /home/username/.config/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
firejail version 0.9.74

Parent pid 142044, child pid 142048
Warning: not remounting /var/lib/containers/storage/overlay
Warning: not remounting /var/lib/containers/storage/overlay/id1/merged
Warning: not remounting /var/lib/containers/storage/overlay-containers/id2/userdata/shm
Warning: not remounting /var/lib/containers/storage/overlay
Warning: not remounting /var/lib/containers/storage/overlay/id1/merged
Warning: not remounting /var/lib/containers/storage/overlay-containers/id2/userdata/shm
Warning: cannot find /var/run/utmp
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Base filesystem installed in ... ms
Child process initialized in ... ms
Error: no suitable /usr/bin/element-desktop executable found

Steps to Reproduce

Steps to reproduce the behavior

  1. Run in bash LC_ALL=C firejail --profile=/etc/firejail/element-desktop.profile /opt/Element/element-desktop (or command above) on Debian 13
  2. It doesn't launch: see console output.

Expected behavior

It should launch.

Actual behavior

It does not launch.

Behavior without a profile

It launches.

Additional context

I renamed the element-desktop.local file to have an empty local config. Should there be some config and if so what should it be? I think the profiles come with firejail.

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.12.74+deb13+1-amd64 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Debian 13
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1,
    mesa 1:24.3.3-2"): 1.12.13
  • Version of Firejail (firejail --version): 0.9.74
  • If you use a development version of firejail, also the commit from which it
    was compiled (git rev-parse HEAD):

Checklist

  • I am using firejail 0.9.80 or later
  • I am using the full program path (e.g. firejail /usr/bin/vlc instead of firejail vlc; see https://github.com/netblue30/firejail/issues/2877)
  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of LC_ALL=C firejail /path/to/program

output goes here

Output of LC_ALL=C firejail --debug /path/to/program

output goes here

Originally created by @mYnDstrEAm on GitHub (Mar 25, 2026). Original GitHub issue: https://github.com/netblue30/firejail/issues/7115 ### Description When I run `LC_ALL=C firejail --profile=/etc/firejail/element-desktop.profile /usr/bin/element-desktop` Element does not launch and this is the output: ``` Reading profile /etc/firejail/element-desktop.profile Reading profile /home/username/.config/firejail/element-desktop.local Reading profile /etc/firejail/riot-desktop.profile Reading profile /etc/firejail/riot-web.profile Reading profile /etc/firejail/electron-common.profile Reading profile /etc/firejail/blink-common.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-common.local Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-runuser-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /home/username/.config/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file firejail version 0.9.74 Parent pid 142044, child pid 142048 Warning: not remounting /var/lib/containers/storage/overlay Warning: not remounting /var/lib/containers/storage/overlay/id1/merged Warning: not remounting /var/lib/containers/storage/overlay-containers/id2/userdata/shm Warning: not remounting /var/lib/containers/storage/overlay Warning: not remounting /var/lib/containers/storage/overlay/id1/merged Warning: not remounting /var/lib/containers/storage/overlay-containers/id2/userdata/shm Warning: cannot find /var/run/utmp Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Base filesystem installed in ... ms Child process initialized in ... ms Error: no suitable /usr/bin/element-desktop executable found ``` ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run in bash `LC_ALL=C firejail --profile=/etc/firejail/element-desktop.profile /opt/Element/element-desktop` (or command above) on Debian 13 2. It doesn't launch: see console output. ### Expected behavior It should launch. ### Actual behavior It does not launch. ### Behavior without a profile It launches. ### Additional context I renamed the element-desktop.local file to have an empty local config. Should there be some config and if so what should it be? I think the profiles come with firejail. ### Environment - Name/version/arch of the Linux kernel (`uname -srm`): Linux 6.12.74+deb13+1-amd64 x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Debian 13 - Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): 1.12.13 - Version of Firejail (`firejail --version`): 0.9.74 - If you use a development version of firejail, also the commit from which it was compiled (`git rev-parse HEAD`): ### Checklist - [ ] I am using firejail [0.9.80 or later](https://github.com/netblue30/firejail/tree/master/SECURITY.md) - [x] I am using the full program path (e.g. `firejail /usr/bin/vlc` instead of `firejail vlc`; see `https://github.com/netblue30/firejail/issues/2877`) - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [ ] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [x] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>LC_ALL=C firejail /path/to/program</code></summary> <p> ``` output goes here ``` </p> </details> <details> <summary>Output of <code>LC_ALL=C firejail --debug /path/to/program</code></summary> <p> <!-- If the output is too long, save it to a file (e.g. "fjdebug.txt") and attach it to the comment: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files If that does not work, create a secret gist at https://gist.github.com/ and link it here. --> ``` output goes here ``` </p> </details>
gitea-mirror added the
needinfo
old-version
labels 2026-05-05 10:01:44 -06:00
Author
Owner

@kmk3 commented on GitHub (Mar 26, 2026):

Version of Firejail (firejail --version): 0.9.74

Note that we do not maintain that version of firejail:

Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.

See also:

What happens with the latest released version?

<!-- gh-comment-id:4133246916 --> @kmk3 commented on GitHub (Mar 26, 2026): > Version of Firejail (firejail --version): 0.9.74 Note that we do not maintain that version of firejail: * <https://github.com/netblue30/firejail/blob/master/SECURITY.md> Versions other than the latest usually have outdated profiles and may contain bugs and security vulnerabilities that were fixed in later versions. See also: * <https://github.com/netblue30/firejail#installing> * #7110 What happens with the latest released version?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3489
No description provided.