37
submitted 1 week ago* (last edited 5 days ago) by koulib@sh.itjust.works to c/linux@lemmy.ml

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.

Update: I have installed Bubblejail and sandboxed Alacritty. Shared a Directory in with it on Home and disabled network. Since my game is launched using a shell script, I use this setup for it.

you are viewing a single comment's thread
view the rest of the comments
[-] kutsyk_alexander@lemmy.world 9 points 1 week ago
[-] Neptr@lemmy.blahaj.zone 11 points 1 week ago* (last edited 1 week ago)

Fitejail is a large SETUID binary which weakens security and can aid in privilege escalation. Use Bubblewrap (preinstalled on most Linux systems cus of Flatpak) which runs unpriveleged. Bubblejail is a program that makes it easier to make sandboxes profiles for apps.

[-] koulib@sh.itjust.works 2 points 5 days ago

Thank you for the recommendation. I plan to use Bubblejail.

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 22 Jan 2025
37 points (93.0% liked)

Linux

49414 readers
1477 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