mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6731] Add a profile for LM-Studio #3351
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#3351
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 @saltiniroberto on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6731
Description
Executing the LMStudio AppImage raises an error about the chrome-sandbox helper not being configured correctly
Steps to Reproduce
LC_ALL=C firejail --appimage LM-Studio-0.3.15-11-x64.AppImageExpected behavior
No error is given, and the LMStudio application starts.
Actual behavior
The following error is output
Additional context
The following command works.
LC_ALL=C firejail --appimage LM-Studio-0.3.15-11-x64.AppImage --no-sandboxEnvironment
uname -srm): Linux 5.15.0-92-generic x86_64mesa 1:24.3.3-2"): LM-Studio-0.3.15-11-x64.AppImage
firejail --version): 0.9.75was compiled (
git rev-parse HEAD):e2f372fd70Checklist
/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@Lonniebiz commented on GitHub (May 5, 2025):
I get that same error when I run LM Studio without firejail.
LM Studio provides a
--no-sandboxflag that I'm using successfully with and without firejail.Without firejail (after you've made the file executable):
./LM-Studio-0.3.15-11-x64.AppImage --no-sandboxWith firejail:
firejail --appimage LM-Studio-0.3.15-11-x64.AppImage --no-sandboxWith firejail (no internet access):
firejail --net=none --appimage LM-Studio-0.3.15-11-x64.AppImage --no-sandboxI could be wrong, but I don't think LM-Studio's
--no-sandboxflag can bust out of firejail's sandbox. I think that flag just means LM-Studio isn't attempting to sandboxing itself (but I'm not sure).Either way, I'd love to see a formal firejail profile for both LM-Studio and for Jan.ai too. Jan.ai provides a huge selection of models to choose from and setup without even leaving the application. I like LM-Studio's dark theme better than Jan.ai's light theme, but LM-Studio only seems to aid you in setting up your first model (that LM-Studio chooses, which is Llama 3.2 1B).