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

Linux Gaming

14809 readers
6 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
[–] [email protected] 16 points 11 months ago (1 children)

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

[–] [email protected] 3 points 11 months ago (1 children)

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

[–] [email protected] 4 points 11 months ago (1 children)

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

[–] [email protected] 9 points 11 months 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.

[–] [email protected] 8 points 11 months ago* (last edited 11 months 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.

[–] [email protected] 1 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months ago
load more comments
view more: next ›