this post was submitted on 02 May 2024
1108 points (98.5% liked)

Technology

59448 readers
3487 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Statcounter reports that Windows 11 continues to lose its market share for the second month in a row. Windows 10, meanwhile, is gaining more users and is now back above the 70% mark.

you are viewing a single comment's thread
view the rest of the comments
[–] cygon 7 points 6 months ago (1 children)

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 1 points 6 months ago (1 children)

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!

[–] [email protected] 5 points 6 months ago (1 children)

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 3 points 6 months ago

Check, will do! Good point :)