I would highly advice against using Wine. It requires constant root access, just like virus scanners, making your system vulnerable.
This can’t be right. Was it maybe a particular workflow you used that required root access? I know I’ve used wine as part of Steam’s Proton as well as via Lutris and neither app has ever requested privilege escalation. I’ve also run wine
manually from the terminal also without being root.
cygon@lemmy.world 6 months ago
I think you’re mistaken there.
Wine is a vanilla Linux executable that runs as the user who launched it. The Windows program it runs thus also runs under that user. That’s possible because Wine doesn’t do anything system-wide (like intercepting calls or anything), it already gave the process its own version of i.e.
LoadLibrary()
(the Windows API function to load a DLL) and can happily remap any loaded DLL to Wine’s reimplementation of said DLL as needed.Here are, for example, the processes created when I run Paint Shop Pro on my system (the leftmost column indicates the user each process is running as): Processes running after launching a Windows executable via Wine
Also, some advice from WineHQ: WineHQ warning never to run Wine as root
LordWiggle@lemmy.world 6 months ago
I guess I’m wrong than :)
I’m just saying what my experience was with Wine a while ago and what all my Linux friends tell me. But I guess things changed! Awesome!
RedstoneValley@sh.itjust.works 6 months ago
Did you know you can edit your posts? Could be helpful for other readers since you were incorrectly posting in several messages that wine needs root access.
LordWiggle@lemmy.world 6 months ago
Check, will do! Good point :)