this post was submitted on 07 Aug 2023
19 points (100.0% liked)

Linux Gaming

15802 readers
40 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
top 8 comments
sorted by: hot top controversial new old
[–] cmnybo@discuss.tchncs.de 17 points 1 year ago (1 children)

Lutris is just a launcher, it doesn't sandbox anything.

[–] Fizz@lemmy.nz 3 points 1 year ago (1 children)

Ans I'm pretty sure wine doesn't sandbox either.

[–] giloronfoo@beehaw.org 4 points 1 year ago (1 children)

Could we call it a "sandbox" if each game is in it's own wine prefix?

[–] Max_P@lemmy.max-p.me 9 points 1 year ago

It's not a sandbox, even though it somewhat acts like one.

There's not a whole lot preventing a Windows exe from containing Linux code and executing it and effectively "breaking out" of the "sandbox". Wine presents a Windows compatible view of the system but there isn't anything really locking it down/preventing the executable from calling the Linux functions instead. It mostly just converts between the PE and ELF binary formats and provides the Windows libraries and interfaces.

So, it has a slight sandboxing effect but it's essentially security through obscurity and Windows programs generally not expecting to have a whole Linux environment available.

A real sandbox enforces restrictions and makes it so you have to exploit the sandbox to break out of it. A good chunk of Wine is just Windows DLLs built with Linux awareness to do the plumbing, there's no clear solid separation of both worlds.

[–] mranderson17@infosec.pub 9 points 1 year ago* (last edited 1 year ago) (1 children)

Bottles (https://usebottles.com/) is what you're looking for, sandboxing is one of it's primary features. It can use lutris prefixes too if you need them.

EDIT: It's only sandboxed if you use the flatpak, just FYI.

[–] jackpot@lemmy.ml 1 points 1 year ago (1 children)
[–] mranderson17@infosec.pub 1 points 1 year ago

Probably? Honestly I just read the sections of the docs that were relevant to what I needed and clicked buttons until things worked. Tutorials are dangerous because the moment they are published they are out of date, unless the author goes back and updates it regularly which is pretty rare, or impossible if it's something like a youtube video.

Anyway it's a GUI application with lots of tool tips and all that, it's not difficult to use.

[–] gbrlsnchs@lemmy.one 1 points 1 year ago