I am probably not the first to come up with this, but I see no recent topics, so - could anyone give an up-to-date idea on Lutris sandboxing - is it possible to do, are there any Firejail profiles, or any other approaches - anything that would be relevant at the moment.
Also, I am curious if it is possible to sandbox separate prefixes in different ways - e. g., allow internet access for online games, and none for local ones, etc.
Yes, it is possible to do and firejail comes with a dedicated profile for Lutris. However, the Lutris profile is quite restrictive and I have not managed to get it working on Kubuntu 26.04, Lutris refuses to launch.
You could use the command prefix for each game to have that game launch with a different profile, or just apply the āānet=noneā command line argument to firejail for games who are not allowed internet access.
On my system, Lutris is firejailed with a simple profile which only restricts file system access so Lutris is unable to access anything other than what is required and all games will be running in the same sandbox.
The important question that has to be answered before sandboxing Lutris is: What do you want to achieve by doing so?
@KlotePino How did you break your system? Did you make the mistake of running the command sudo firecfg? If so, this is usually undone with sudo firecfg --clean.
maybe I should have said sandboxing IN lutris, and not lutris itself, my bad now that I read it it seems like a very dumb mistake
Basically what Iām looking for is to run D2R 3 times, and what my actual question is but better formulated āācan I even do this in/with lutrisāā
Iāll work on being much more specific and have it better thought out/written down before I hit enter next time, sorry
Weird idea to run the same game multiple times⦠I do not think this is possible with Lutris, maybe three VMās running simultaneously may be able to do the job but that would cause really poor performance.
Iām slowly starting to consider a VM with heavily debloated windows and just using the method I used to, but it would be so nice if I could just do it all in linux.
(Running multiple instances of D2R is extremely common in the community, almost everyone does it, it allows you to fill your own games and control everything that happens in it:p)
@KlotePino Since Wine does no longer support windowed mode, I cannot see how you would be able to run multiple instances of D2R on the host without some sort of trickery Iām not familiar with.
But with Linux as host, you can use Virtual Machine Manager (package virt-manager) to spin up the Linux-flavour which is most suited to run D2R, install what is required and make sure the game runs as it should. Hereafter you can clone that VM into multiple instances and run each of them in their own window and thus have multiple instances of D2R running side-by-side. Iām not sure about performance, though, and mouse lagging could become a problemā¦
Thank you so much!
I will give this a go, I have a decently beefy system, and D2R has an āold graphics modeā that greatly reduces resources used, between that, I think it should be possible.
WIll update when it works:)