[GH-ISSUE #1770] Most part of messangers can't open links in browsers other than firefox #1199

Closed
opened 2026-05-05 07:38:35 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @dmitryvakulenko on GitHub (Feb 9, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1770

I use Mint 18.3. When I change my default browser to google-chrome external links from firejailed messanger stops to open. This behaviour I see in Telegram, Stride, Slack.
In terminal where are single error
[1:1:0209/174804.713575:ERROR:nacl_fork_delegate_linux.cc(316)] Bad NaCl helper startup ack (0 bytes)

Originally created by @dmitryvakulenko on GitHub (Feb 9, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1770 I use Mint 18.3. When I change my default browser to google-chrome external links from firejailed messanger stops to open. This behaviour I see in Telegram, Stride, Slack. In terminal where are single error `[1:1:0209/174804.713575:ERROR:nacl_fork_delegate_linux.cc(316)] Bad NaCl helper startup ack (0 bytes)`
gitea-mirror 2026-05-05 07:38:35 -06:00
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 9, 2018):

This is a known issue. Its not really an issue just more of a limitation. When the messenger goes to open the link, it launches the browser itself, in the context of itself. Meaning the browser cannot access its files (due to the sandbox) and crashes/throws errors.

As for why links work in Firefox: it uses some weird way of keeping track of its instance and even if you run Firefox from in a sandbox, it'll somehow open the page in a currently running instance outside of the sandbox.

The workaround is to either use Firefox as your default browser, or manually copy/paste links when you need.

I'm sure there are issues that describe both in more detail, but I cannot seem to find any.

<!-- gh-comment-id:364498100 --> @SkewedZeppelin commented on GitHub (Feb 9, 2018): This is a known issue. Its not really an issue just more of a limitation. When the messenger goes to open the link, it launches the browser itself, in the context of itself. Meaning the browser cannot access its files (due to the sandbox) and crashes/throws errors. As for why links work in Firefox: it uses some weird way of keeping track of its instance and even if you run Firefox from in a sandbox, it'll somehow open the page in a currently running instance outside of the sandbox. The workaround is to either use Firefox as your default browser, or manually copy/paste links when you need. I'm sure there are issues that describe both in more detail, but I cannot seem to find any.
Author
Owner

@dmitryvakulenko commented on GitHub (Feb 10, 2018):

Thank you for detailed answer!

<!-- gh-comment-id:364660686 --> @dmitryvakulenko commented on GitHub (Feb 10, 2018): Thank you for detailed answer!
Author
Owner

@RalfJung commented on GitHub (Jun 26, 2022):

As for why links work in Firefox: it uses some weird way of keeping track of its instance and even if you run Firefox from in a sandbox, it'll somehow open the page in a currently running instance outside of the sandbox.

That was actually quite nice when it lasted, but it has stopped working a while ago.
If anyone has an idea for how to get Firefox to do this again, that'd be great!

<!-- gh-comment-id:1166667870 --> @RalfJung commented on GitHub (Jun 26, 2022): > As for why links work in Firefox: it uses some weird way of keeping track of its instance and even if you run Firefox from in a sandbox, it'll somehow open the page in a currently running instance outside of the sandbox. That was actually quite nice when it lasted, but it has stopped working a while ago. If anyone has an idea for how to get Firefox to do this again, that'd be great!
Author
Owner

@rusty-snake commented on GitHub (Jun 29, 2022):

#3290 https://github.com/netblue30/firejail/issues/3919#issuecomment-768078226

<!-- gh-comment-id:1170252623 --> @rusty-snake commented on GitHub (Jun 29, 2022): #3290 https://github.com/netblue30/firejail/issues/3919#issuecomment-768078226
Author
Owner

@RalfJung commented on GitHub (Jun 29, 2022):

I don't have nodbus set in this profile.

But https://github.com/glitsj16/firejail-handler-http looks great, thanks! Though I will have to understand the difference to https://github.com/glitsj16/firejail-handler-extra, they seem to be almost the same.

<!-- gh-comment-id:1170256739 --> @RalfJung commented on GitHub (Jun 29, 2022): I don't have `nodbus` set in this profile. But https://github.com/glitsj16/firejail-handler-http looks great, thanks! Though I will have to understand the difference to https://github.com/glitsj16/firejail-handler-extra, they seem to be almost the same.
Author
Owner

@rusty-snake commented on GitHub (Jun 29, 2022):

nodbus is deprecated and not set in any of your profiles. You must check for dbus-user xxx.

<!-- gh-comment-id:1170267426 --> @rusty-snake commented on GitHub (Jun 29, 2022): `nodbus` is deprecated and not set in any of your profiles. You must check for `dbus-user xxx`.
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#1199
No description provided.