mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6386] steam: Steam beta won't start (dbus) #3257
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#3257
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 @nutta-git on GitHub (Jun 17, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6386
Description
With firejail's default profile, steam beta won't start
Steps to Reproduce
Then start steam from the terminal.
Expected behavior
Steam should start
Actual behavior
Steam doesn't start
Behavior without a profile
steam starts normally
Additional context
I wasn't able to get a error message with the default profile, but

with my custom profile: https://gist.github.com/nutta-git/6e1496525ab1a8806421d2fd63d7b092
I was able to get an error in terminal:
It seems like a dbus error, so I changed:
#dbus-user nonetodbus-user nonein the default profile and was able to start steam normally.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.--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@nutta-git commented on GitHub (Jun 19, 2024):
I think I found the issue:
I was starting plasma desktop via .bash_profile, following the guide found here. Its recommended to start plasma via
dbus-run-session startplasma-waylandHowever, that seems to causing issues with the way firejail handles dbus permission, if you are using systemd's init system.
I don't know if this is a correct explanation, but it seems to make sense.
@kmk3 commented on GitHub (Jun 19, 2024):
@nutta-git on Jun 17:
Note that steam includes other profiles which may also have changed, so mixing
and matching profiles from firejail versions could lead to other issues.
It's recommended to install firejail-git from the AUR instead.
Example:
Also, please add the log in text (rather than image) form.
If it's too large you can put it in a gist.
@nutta-git on Jun 19:
So it works now?
If so, what was changed to make it work?
What is the path to the dbus socket?
@nutta-git commented on GitHub (Jun 19, 2024):
@kmk3
Hi,
steam-runtime only redirects to steam.profile (I think)
I am linking both steam-runtime and steam to firejail, because app launchers (rofi, wofi ... ) can't unify steam and steam-runtime to the same entity (steam).
I was, please view my Environment.
Sorry about that, but I do have a gist log for the default profile .
Yup
In my .bash_profile I changed:
to
How would I go about finding this out for you? (chatgpt isn't providing much help)
@kmk3 commented on GitHub (Jun 23, 2024):
@nutta-git on Jun 19:
Sorry; I got confused by the curl command.
Note that you can just copy the locally installed profiles. Example:
Interesting.
I'm not very familiar with dbus (nor
dbus-run-session), but I think thatdbus-launchis the command usually used for this. dbus-launch(1) even hasexamples that start DE sessions:
dbus-launch(1) examples
Though it could be different for wayland.
It's usually part of the
DBUS_SESSION_BUS_ADDRESSenvironment variable.Try this:
From the error in the image it looks like something is failing to find/access
the socket.
What is the output of the following commands?