mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6162] gwenview: Cannot access images on sftp:// URI #3205
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#3205
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 @minhng99 on GitHub (Jan 21, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6162
Description
Gwenview showing error
Socket create failed: Operation not supportedwhen attempt to open any image with the sftp:// URI.Steps to Reproduce
Steps to reproduce the behavior
or
Run Gwenview with this command
/usr/bin/firejail /usr/bin/gwenview sftp://root@192.168.1.20/picture.jpgExpected behavior
The picture should be displayed normally.
Actual behavior
The picture never loads, Gwenview shows
Socket create failed: Operation not supportedBehavior without a profile
The application works normally.
Additional context
Environment
Arch LinuxChecklist
/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.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@rusty-snake commented on GitHub (Jan 21, 2024):
protocol inet,inet6@minhng99 commented on GitHub (Jan 21, 2024):
Yeah, that worked... but there seems to be a problem because the server is accessed with SSH key, therefore the
.sshhas to be whitelisted which isn't ideal :(also, the ssh key askpass dialog isn't click-able or type-able for some reason.
Do you have another idea?
@rusty-snake commented on GitHub (Jan 21, 2024):
Trial and error it down. Maybe one of
@kmk3 commented on GitHub (Jan 22, 2024):
@minhng99 on Jan 21:
Does it work if you add the key to ssh-agent and allow access to the ssh-agent
socket in the profile?
The socket is usually in this path: