Comment on Windows 10 reaches 70% market share as Windows 11 keeps declining
cygon@lemmy.world 6 months agoI 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 :)