mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1240] Firejail and Steam Games #846
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#846
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 @Alexey2532 on GitHub (Apr 21, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1240
Hey,
i was trying to run 2 games via 2 different firejails. i got Steam to run twice with the comment
firejail --noprofile steam. this worked twice so far and i could have logged in with 2 different accounts.The probelm is, if i start a the game on one, i can't get it run on another, i get the error
This won't let me start the game a second time.
I think the sulution would be to Isolate the game procces or firejail itself. But the Question is, how?
Do you have any idea?
regards,
Alexey
@reinerh commented on GitHub (Apr 22, 2017):
You need to find out how they detect already running instances.
So perhaps you need to block certain protocols like netlink or unix sockets, or use private directories or blacklist certain directories/files. :)
Also you mentioned to run with --noprofile, which doesn't really isolate your processes.
@daniel11609 commented on GitHub (Apr 24, 2017):
How can I tell firejail to open a new sandbox... If I run the command firejail steam again it's not opening new instance.
@daniel11609 commented on GitHub (Apr 24, 2017):
OK probably just run it in new terminal but I have almost same problem, game already running
@netblue30 commented on GitHub (Apr 26, 2017):
I think is the game doing it. As soon as you start the second instance, it detects another instance of the game running and is shutting down.
@daniel11609 commented on GitHub (Apr 26, 2017):
Hey netblue...
Could you tell me how I can start even steam multiple times? Because using firejail steam doesn't seem to work. Only once...
Am 26. April 2017 13:56:03 MESZ schrieb netblue30 notifications@github.com:
@netblue30 commented on GitHub (Apr 26, 2017):
Try this: open /etc/firejail/steam.profile in a text editor and comment out all the lines in that file (add a # in front of each line), then try to start two instances of steam. If it works, it means one of the lines there is creating the problem - my guess would be private-tmp.
@daniel11609 commented on GitHub (Apr 26, 2017):
Steam profile (applies to games/apps launched from Steam as well)
#noblacklist ${HOME}/.steam
#noblacklist ${HOME}/.local/share/steam
#include /etc/firejail/disable-mgmt.inc
#include /etc/firejail/disable-secret.inc
#include /etc/firejail/disable-common.inc
#include /etc/firejail/disable-devel.inc
#caps.drop all
#netfilter
#noroot
#seccomp
#protocol unix,inet,inet6
i open up a need terminal and do firejail steam. First time everythings fine, second time im getting this:
$ firejail steam
Reading profile /etc/firejail/steam.profile
Parent pid 5606, child pid 5607
Child process initialized
rm: cannot remove ‘/home/daniel/.steam/steam’: Is a directory
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
parent is shutting down, bye...
$
@daniel11609 commented on GitHub (Apr 26, 2017):
and yea the game checks it after launch a message pops up:
Source - error:
only one instance can run at a time
@netblue30 commented on GitHub (Apr 26, 2017):
So I can close it, right?
@daniel11609 commented on GitHub (Apr 26, 2017):
But it doesn't work?
Am 26. April 2017 18:01:58 MESZ schrieb netblue30 notifications@github.com:
@daniel11609 commented on GitHub (Apr 26, 2017):
It doesn't work?
Am 26. April 2017 18:01:58 MESZ schrieb netblue30 notifications@github.com: