this post was submitted on 12 Jul 2026
65 points (94.5% liked)

Linux

66415 readers
399 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 7 years ago
MODERATORS
 

I am looking for help on how to run closed source / pirated games on linux within a virtual machine. I would like to start by saying if I could walk into a shop and buy with cash, a game on a CD like in the old days I would. I have recently become very privacy conscious and until I figure out a way to anonymously and privately purchase things like this I am going to stick with pirating. Also, it is helping me to archive content as everything seems to be moving online and I want to stick with offline applications / media etc in my control.

Now, I am familiar with virtualbox but of course, it is no good for gaming. I have read about other applications that offer much better performance with support for GPU passthrough or similar (but how does this affect the security side of things when running pirated games). Forgive me, this is all quite new to me.

What I want is a virtual machine capable of gaming so that I can more safely run pirated games on linux. Also, I am very new to linux and some help in how I should actually go about running games on linux in the first place. I do not want to just install steam because it has closed source elements and being more privacy conscious now, I’m not sure I want to. Though I am aware I can use the proton layer to enable gaming support which I believe is fully open source. For my purposes lutris sounds like it may be the route to go. Thoughts on this welcome.

As a side note, I am thinking of signing up to GOG as they, to me, seem like a better alternative to steam where I can actually own a DRM free copy of a game that I buy. On a pirating note I thought locating signed, hash checked GOG installers to be a good option for security for dipping my toe into pirating games on linux. I am much, much more comfortable with detecting and removing malware in a windows ecosystem. Linux, completely foreign. So I am trying to be careful.

Once I get fully set up I plan to buy the games I enjoy on GOG, I think that will be the path I can be most comfortable with. At the end of the day I will own a DRM free copy of the game itself. That is the best I can do where I cannot get it on physical media I think. I already do this for CD’s and DVD’s etc.

Any help would be appreciated, thank you.

top 50 comments
sorted by: hot top controversial new old
[–] borax7385@lemmy.world 8 points 2 days ago (1 children)

I just use a different user with no privileges to run any pirated or suspicious software.

[–] nootux@lemmy.ml 2 points 2 days ago (1 children)

Thank you, that is something to consider. What are your thoughts on sandboxing vs using a user with no privileges?

[–] borax7385@lemmy.world 6 points 2 days ago (1 children)

Flatpak sandboxing is weak. For truly untrusted software like pirated games I'd definitely go for a different user which in Linux provides a very strong isolation.

[–] nootux@lemmy.ml 1 points 2 days ago (1 children)

What about firejail vs a separate limited user account?

[–] borax7385@lemmy.world 2 points 2 days ago

I'm not familiar with firejail, sorry. I guess that firejail (or regular containers with podman) can be ok for CLI tools which only need access to very specific paths, if any. But for graphical applications like games you probably have to grant a lot of access.

Using a separate user is simpler and it's guaranteed that the software can only write to the home dir of the user (and other temp paths like /tmp that you don't care). In case of problems, just wipe the home dir and you are good.

[–] throwaway403@programming.dev 4 points 2 days ago (2 children)

OP, FYI: GPU passthrough isn't riskless (OpSec-wise), unfortunately. This Hacker News thread contains pointers if you'd wish to read up on that.

[–] nootux@lemmy.ml 1 points 21 hours ago

Thanks for the link, I think nothing is riskless. All just a game of chance, just trying to minimise those risks to a reasonable degree.

[–] LiveLM@lemmy.zip 7 points 2 days ago

I'd like to think that attackers making malicious pirate releases will focus on the large Windows userbase rather than the 1% of the 1% running them inside passthrough VMs but I get the point.

[–] edinbruh@feddit.it 48 points 3 days ago* (last edited 3 days ago) (17 children)

First of all, don't expose yourself to danger. Get your pirated games from reputable sources.

Most games only need a Steam emulator like Goldberg's to run without license, and you can get clean steam files from cs.rin.ru. You don't need VMs for this, it's literally the original game.

If you need an actual crack, you can also look up on cs.rin.ru and try to gauge the reputation of the uploader. You can also check fitgirl or dodirepacks, they are both highly reliable. These are unlikely to have malware, but it's not impossible.

If you want to use a vm because you still don't trust the pirated game in question (reasonable), then there is no shortcut. Use the arch wiki to learn how to setup a VM with GPU passthrough, even if you don't use arch it's always a good place to get started.

[–] placebo@lemmy.zip 1 points 2 days ago (1 children)

You don’t need VMs for this, it’s literally the original game.

How can you validate that if you don't have the original game to calculate and compare hashes?

[–] edinbruh@feddit.it 2 points 2 days ago

You don't. That's why it must be reputable sources

load more comments (16 replies)
[–] Kory@lemmy.ml 5 points 2 days ago (1 children)

I'm running everything that is proprietary (Steam for example) on a second user that is a not an admin account. Heroic and the like are installed via Flatpak that is sandboxed. Sometimes games contain malware, even on Steam. If something goes badly wrong, I purge that second user.

[–] nootux@lemmy.ml 2 points 2 days ago

Sounds like a good idea, thank you for the suggestion.

[–] umbrella@lemmy.ml 7 points 3 days ago (1 children)

you can with GPU passthrough. not a simple process though, and not all hardware supports it.

plus you need a dedicated gpu for the VM.

[–] DecentM@lemmy.blahaj.zone 5 points 2 days ago (2 children)

It's actually possible to do it with a single gpu but it's trickier than if you had two. You can use libvirt hooks to stop all graphical processes (and log your gui session out), unload the kernel drivers for the gpu, and start the VM with the now unused primary gpu. Then do the reverse when the VM stops and you're back to your login screen.

[–] LiveLM@lemmy.zip 2 points 2 days ago

Pain in the ass, fickle as hell, most GPUs fuck up the Reset, in the end it is barely more practical than a dual boot.

[–] umbrella@lemmy.ml 2 points 2 days ago (1 children)
[–] DecentM@lemmy.blahaj.zone 4 points 2 days ago* (last edited 2 days ago) (1 children)

On machines with just one gpu it's either that or no passthrough tbf

I set it all up as an automated step before a VM named "win" boots, and I can just start the vm and these steps happen on their own

[–] umbrella@lemmy.ml 2 points 2 days ago* (last edited 2 days ago)

oh for sure. upside is maybe it's an easier and better documented process now a few years later from my last attempt.

might be worth it for the annoying anticheat games.

[–] helix@feddit.org 12 points 3 days ago* (last edited 3 days ago) (1 children)

tldr: use firejail. I already answered in your other thread: https://feddit.org/comment/13927222

You know you can cross-post so it shows up as cross-posted in other communities? You just need to hit that "copy" button once you posted the first one.

I'd have answered here instead of !piracy if I had seen that it's a crosspost.

load more comments (1 replies)
[–] eclipse7@feddit.nu 2 points 2 days ago

QubesOS? :D

[–] buried_treasure@feddit.uk 10 points 3 days ago (1 children)

You keep talking about "safely" running these programs. What is the threat that you are trying to protect yourself against? Are you concerned that your unofficial copy of the program may contain malware, are you worried that the copyright owners may try to find you (via IP address perhaps?) and prosecute, or what.

[–] nootux@lemmy.ml 6 points 3 days ago

My primary concern is malware.

[–] Obnomus@lemmy.ml 2 points 2 days ago (2 children)

If piratded games have malicious files its most likely for windows users, you can install repacks on Linux very easily though.

[–] prole@lemmy.blahaj.zone 1 points 2 days ago (2 children)

I had trouble with fitgirl repacks the last couple of times I tried

[–] Obnomus@lemmy.ml 1 points 11 hours ago* (last edited 11 hours ago) (1 children)

Did repack stuck on a certain space? Then just disable WOW64 mode. Thats it. What issue did you face?

[–] prole@lemmy.blahaj.zone 1 points 10 hours ago

The game installed, but it wouldn't play regardless of how I tried to launch it.

But the replies I've gotten seem to imply that they generally work, so maybe I'll give it another try

[–] mysterious_cake@feddit.nl 1 points 2 days ago

What problems?

[–] nootux@lemmy.ml 1 points 2 days ago (1 children)

When you say repacks, are these repacks of files designed to be used in windows with pre-installed cracks etc or is it more specifically a repack designed to be run under linux?

[–] Obnomus@lemmy.ml 1 points 11 hours ago

They work on Linux like they do on windows. Use heroic games launcher add any repack, make sure to DISABLE "WOW64" mode because it'll make your repack stuck on a certain point, so disable it.

[–] BananaTrifleViolin@piefed.world 4 points 3 days ago (2 children)

So I'm not condoning or condeming.

I would say you can dual boot linux - that is have TWO entirely separate Linux installs on your PC. Have one be your main Linux desktop, and have a separate partition which you boot into to use for riskier stuff. Just ensure it has no access at all to your other drive and be careful mouting peripherals like USB drives. That way you can get full native experience with your PC, without having to sacrifice performance for a VM set up. I would also set up a VPN to run at all times within that 2nd Linux install, with kill switch for the network if it disconnects.

[–] nootux@lemmy.ml 2 points 2 days ago

This is a thought, thank you for your suggestion.

In defence of my pirating, it is more complicated that just getting stuff for free. See this comment.

Sure, there was a time I'd pirate just because I could, now I have matured there are real reasons and ethical dilemmas. The above comment explains things pretty well though.

load more comments (1 replies)
load more comments
view more: next ›