this post was submitted on 22 Jan 2025
34 points (92.5% liked)

Linux

49177 readers
554 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

What are the best ways to run a game on sandboxed mode with only game HDD shared to it. There should not be network access for the game and there should be GPU (intel integrated) pass-through.

I have tried Gnome boxes, but GPU pass through is not working and checked distrobox, but that too shares HOME folder.

you are viewing a single comment's thread
view the rest of the comments
[–] that_leaflet@lemmy.world 27 points 1 day ago (1 children)

You can do this using Lutris.

  1. Install it from Flathub
  2. Open Lutris and have it install the tools it needs (wine, dxvk, etc)
  3. Close Lutris
  4. Use Flatseal to limit its permissions; remove network, filesystem access, etc
  5. Open Lutris and run the game

Note that this isn't a perfect sandbox. For example, the game can still send a link to your browser to open. Theoretically it could do something malicious with that. Though you could probably work around that issue by changing your default browser to a flatpak version and disable network access there. There might be other small sandbox breaks, but nothing I can think of.

[–] Kiuyn@lemmy.ml 3 points 23 hours ago (1 children)

Can the same be say with bottle?