Context
You can see what I’ve tried:
opened 08:21PM - 27 Oct 24 UTC
platform/linux
bug
has-repro-comment
32-x-y
### Preflight Checklist
- [x] I have read the [Contributing Guidelines](https:/… /github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.
### Electron Version
32.2.1
### What operating system(s) are you using?
Ubuntu
### Operating System Version
Ubuntu 24
### What arch are you using?
x64
### Last Known Working Electron version
_No response_
### Expected Behavior
When `/opt/Custom App/chrome-sandbox` has SUID set, I expect to start Electron app `/opt/Custom App/custom-app`.
### Actual Behavior
I have a custom app packed with electron-builder and installed on Ubuntu 24. `postins` script from electron-builder does not set SUID on Ubuntu 24 (E.g. see https://github.com/electron-userland/electron-builder/issues/8440), then when I run the app it fails with:
```
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 /opt/Custom App/chrome-sandbox is owned by root and has mode 4755.
```
So I set SUID as suggested: `sudo chmod 4755 "/opt/Custom App/chrome-sandbox"`
And now, if the path is without space (e.g. `/opt/CustomApp/custom-app`), then the Electron app `custom-app` works OK. When it has a space, like `/opt/Custom App/custom-app`, it fails with:
```
LaunchProcess: failed to execvp:
/opt/Custom
```
When I set up AppArmor profile, or do workaround `sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0`, then the app starts even with a space in the install path. But I would like to start it when the SUID is set too, because that's what the app suggest to the user (and is simple workaround for inexperienced users.)
### Additional Information
See also #41066 .
Also reported to Ubuntu issue, see https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844#157 and few comments bellow. Maybe this is Ubuntu bug, but I report it here because I think Electron team can better nail the root of the problem and report in to the Ubuntu team.
However, appending --version or --help to /app/bin/bitwarden merely causes it to invoke as usual, from what I see.
Rationale
The reason I ask is because, unlike the browser client, which prints its version as YAML, the desktop client prints its versions space-delimited. I want to be able to easily convert this via the CLI into a language that’s easier to syntax-highlight (like YAML) when pasting it into bug reports.
rokejulianlockhart:
The reason I ask
Also, “Copy” doesn’t work for me anymore:
opened 08:19PM - 16 Feb 25 UTC
bug
desktop
### Steps To Reproduce
1. go to any entry
2. click on copy username (or passwor… d)
### Expected Result
user or pass copied to system clipboard
### Actual Result
clipboard unchanged
### Screenshots or Videos
_No response_
### Additional Context
log output:
```
Error occurred in handler for 'clipboard.write': [Error: Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable] {
code: 'GenericFailure'
}
```
Electron's Wayland support enabled via env var
```
ELECTRON_OZONE_PLATFORM_HINT=auto
```
### Operating System
Linux
### Operating System Version
Pop!_OS 24.04 LTS
### Installation method
Other
### Build Version
Version 2025.2.0 SDK 'main (28c7e29)' Shell 34.0.0 Renderer 132.0.6834.83 Node 20.18.1 Architecture x64
### Issue Tracking Info
- [x] I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
grb
November 25, 2025, 8:06pm
3
rokejulianlockhart:
via the CLI
The Bitwarden CLI is a separate client app, independent from the Desktop app (i.e., invoking the Desktop app binary from a shell command-line does not execute the CLI). Perhaps you are asking if the Desktop app executable has any undocumented optional arguments that could help you achieve your goal?
@grb , I am. I don’t want to be forced to try hacks like:
electron
grb
November 25, 2025, 8:53pm
5
Not sure if you’d consider this to be a “hack”, but perhaps you can script something that uses jq to extract the version number from the desktop app’s data.json file:
{
"global_config_byServer": {
"https://api.bitwarden.com": {
"version": "2025.11.0"
}
}
}
Other than that, open a feature request topic to request implementation of the aforementioned command-line arguments.
1 Like