mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6809] w3m: Initial page loads but cannot navigate an subsequent links #3380
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#3380
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 @cameronj86 on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6809
Description
Cannot navigate any pages beyond the landing page for the website www.techmeme.com/m
Steps to Reproduce
w3m www.techmeme.com/mExpected behavior
Links load successfully
Actual behavior
Every link hangs with a blank page
Behavior without a profile
Content loads successfully
Additional context
Occasionally some webpages might us JS which w3m can't handle, but I have tried 6 different links w/ firejail vs w/o and only 1 had that issue w/o firejail.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.Log
Using one of the links returns nothing:
LC_ALL=C firejail w3m https://www.axios.com/2025/07/08/elon-musk-grok-x-twitter-hitler-posts 2>&1 | tee firejail_output.log@ghost commented on GitHub (Jul 10, 2025):
works in bookworm debian 12 but i don't have images. I narrowed that down to something in disable*,still looking
It could be similar
copy the w3m profile to .config/firejail and try to open it up to see if it starts to work.
EDIT: disable-x11.inc blocks the images, i see blacklist ${RUNUSER}/wayland-* , that could be doing the same under wayland
@cameronj86 commented on GitHub (Jul 11, 2025):
Disabling Wayland didn't improve the situation.
I did stumble across this comment in #5010 which might be somewhat related because:
The two things that gives me pause are
file:///etc/resolv.confin the firejailed w3m tab. My uneducated guess is that this means that the app can still resolve successfully.ignore private-etcenabledNot sure if it's relevant, but I am running OpenWRT + banIP along with AdGuardHome. Based on my limited reading, firejail doesn't attempt to make any DNS interventions, but if it is, any DoH traffic or traffic on unfamiliar ports is either blocked or redirected which would also lead to non
The inability to navigate between websites does seems DNS-related, altho I cannot understand how techmeme manages to load successfully while every other website is failing. If I go directly to yahoo.com or reddit.com, it never loads for example.
@kmk3 commented on GitHub (Jul 11, 2025):
Use either just
w3morfirejail /usr/bin/w3mto avoid issues like #2877.There is no obvious error message, so as @pirate486743186 mentioned, you can
copy /etc/firejail/w3m.profile to ~/.config/firejail and comment it until it
works, then post the lines that are causing issues.
You can also try using
--trace=trace.txtto see which files it tries toaccess and edit the profile accordingly.
Example:
@ghost commented on GitHub (Jul 11, 2025):
also try this
firejail --noprofile /usr/bin/w3myou'll know if it's firejail it self or something in the profile.@cameronj86 commented on GitHub (Jul 19, 2025):
I was having trouble debugging the original file and cannot create a trace for it:
I have been able to troubleshoot w/
~/.config/firejail/w3m.profileand get it working. Here are the differences between the two which point to private-bin as the culprit:I was able to get trace w/
LC_ALL. (When I tried w/o, it wouldn't print results. My uneducated guess is that w3m being a TUI is front-running output attempts):LC_ALL=C firejail --profile=w3m --trace=trace.txt /usr/bin/w3m https://spectrum.ieee.org/carfax-used-pcsAnd here is the command + trace output:
Output of
LC_ALL=C firejail --profile=w3m --trace=trace.txt /usr/bin/w3m https://spectrum.ieee.org/carfax-used-pcs@ghost commented on GitHub (Jul 20, 2025):
maybe an addon is misbehaving
try
firejail --build /usr/bin/w3m https://spectrum.ieee.org/carfax-used-pcsuse it normally, then exit.it will automatically build a profile, you can have a look at private-bin for the difference (dash=sh)
@cameronj86 commented on GitHub (Jul 21, 2025):
Gave it a shot and the suggested lib was:
private-bin less,gzip,dash,w3m,gzip was new so I added that but still no dice. There's a lot of changes relative to the stock file AFAICS.
Suggested Build & Stock profile
Build
Default
@ghost commented on GitHub (Jul 22, 2025):
check you didn't mix the profiles when installing.