mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3579] JDownloader: cannot open links in firejailed Firefox #2242
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ihasaquesion on GitHub (Aug 9, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3579
When running JDownloader with firejail like so:
firejail --profile=/etc/firejail/JDownloader.profile bash /path/JDownloader2/JDownloader2I can't get it to open a webpage with a captcha in firejailed Firefox-ESR. It either launches it but it doesn't open a page and just closes again or nothing happens.I used to get the error "Your Firefox profile cannot be loaded. It may be missing or inaccessible" and I might get it again when using an improved JDownloader.profile that allows Firefox-ESR. In that case I'd like to know how solve this problem without having to delete any Firefox profiles.
I used to use a workaround where I output the link to the captcha so that I can manually copy the link and open it in the firejailed Firefox-ESR by changing the Browser Commandline of the BrowserCaptchaSolver in the Advanced Settings of JDownloader2.
I'd like to get it to open the Webpage when clicking "Open Browser". Opening dlc/cnl files/links in JDownloader2 via firejailed Firefox work (while others do not but this could be a firewall issue).
This might also be a problem with JDownloader2 or Firefox-ESR.
Environment
firejail version 0.9.62
@rusty-snake commented on GitHub (Aug 9, 2020):
Duplicate of #2336
@rusty-snake commented on GitHub (Aug 9, 2020):
see also https://github.com/netblue30/firejail/issues/3471#issuecomment-646582480
@ihasaquesion commented on GitHub (Aug 9, 2020):
Thanks. The solution of #2336 was to add
include chromium.profileto the profile.The Browser Commandline setting under Advanced settings needed to be [ "firejail", "firefox-esr", "%s" ]
It doesn't seem to start another firejail instance but opens firefox directly without its profile (and also without installed addons). How to make it use firefox' firejail profile?
I often get this error after adding that line but sometimes it works:
Please also let me know how to allow it to run a specific executable under /usr/bin/ for a workaround until opening webpages with firefox works.
If I run it with
--whitelist=/usr/bin/filenameI getError: invalid whitelist path /usr/bin/filename.@rusty-snake commented on GitHub (Aug 12, 2020):
/usr/bin is not restricted in JDownloader.profile
@ihasaquesion commented on GitHub (Aug 13, 2020):
I can make JDownloader run a file in /usr/bin by changing [ "firejail", "firefox-esr", "%s" ] in the JDownloader settings when using the default firejail profile.
I can't do so when using the JDownloader.profile (running JDownloader with
firejail --profile=/etc/firejail/JDownloader.profile bash /path/JDownloader2/JDownloader2) even when the file is set to noblacklist (I get an error when trying to whitelist it). It also doesn't work when moving the file into /path/JDownloader2/. (And that would only be the workaround.) I recently found out that not only does JDownloader not open a new tab in firejailed firefox-esr but in a new firefox-esr window without the firefox.profile - displaying the captcha also doesn't work even with the JDownloader addon.@rusty-snake commented on GitHub (Nov 9, 2020):
still need help?
@ihasaquesion commented on GitHub (Dec 3, 2020):
Well, it didn't work with the captchas but now JDownloader2 doesn't start up at all (getting the error below):
I could not find out why it's having this error and one forum post recommended reinstalling. Edit: now I also found this post according to which it may an ownership-issue - but this or other problems occurred during starting it up and used to get solved by just trying to start it a few more times.
Maybe this issue could be solved with comments in that Thunderbird issue. However, it looks like JDownloader2 isn't entirely open source so I'm switching to pyLoad (Persepolis is another good alternative).
I think as long as JD2 isn't verifiably fully open source and switching to pyLoad is possible this issue could be closed.