Code Monkey home page Code Monkey logo

Comments (8)

 avatar commented on June 15, 2024 1

Personally, I feel that is way over complicating things, unnecessary, and plain nuts unless there are two or more physical people using it with different user logins. It might work ok enough if done well or might not if something is missed.

[What I mean to say with that is, if its installed with one user when there are multiple users for logins, then its understandable to me, but I don't like applications that try to limit by making a user for a user if the application is not designed to do it officially. Even when it is, it can be plain annoying.]

Probably wouldn't file any bug reports either since its not really proper to how the application is designed and extra problems could happen. You can see that in effect by what is written below it "Keep in mind that audio will probably be non-functional in Wine programs which are run this way if PulseAudio is used."

Lutris has a sandbox mode which should void that anyway. I don't know why it wouldn't if its a good sandbox. Sandbox is supposed to box things. So I don't see a point to using a user to sandbox.

But, I can imagine some of the Linux people wanting this having some major attitudes so whatever lol.

from agora.

strycore avatar strycore commented on June 15, 2024

I find this interesting, not because of the separate user but for the use of xhost, which I assume opens a X session within a X session. If we can emulate a display of an arbitrary size, it could solve a lot of issues with old native games.
I know this has little to do with the user thing but still something I'm considering. If we go and add xhost integration, then we could possibly let people choose which user they want to run the game as.

I'm thinking that this may add local co-op to a bunch of games that don't support it.

Also, this might already be possible to do. Here's what I would try: Create a lutris user and use it to install and configure a few games. Then log out of your lutris user back to your regular user, then instead of starting Wine, you start lutris itself in xhost, or you launch a lutris game via xhost.

from agora.

frpenguin avatar frpenguin commented on June 15, 2024

Lutris has a sandbox mode

I must say I had not seen that. As I understand it, all the games are confined inside the Windows environment when installing/running instead of the $HOME folder. I presume, one must use a lutris installer for that to be achieved. So in that case, a good approach would be (at least for now) to test the following:

  1. Install Lutris and Wine and its dependencies under another user.
  2. Do not make that user an administrator.
  3. Create a Launcher that starts lutris under xhost under your own user.

Do you agree ?

from agora.

strycore avatar strycore commented on June 15, 2024

I think there is some misunderstanding on what Wine is capable of doing.

Running Wine as a user that cannot be granted root access has never been a thing. Running wine as root, sure, that's discouraged. But putting some kind of security circus based on the idea that some Windows program could possibly gain root access on a Unix based system is completely bonkers.

So no, I don't agree with the initial motivation behind the ticket, I just think it could have some cool side effect.

from agora.

shell-ghost avatar shell-ghost commented on June 15, 2024

I didn't know Lutris had a sandbox mode. I can't seem to find in either. How do I enable it?
A secure sandbox-mode would effectively solve the "problem" with Windows games/software potentially getting access to personal files/folders located in the homefolder.

from agora.

strycore avatar strycore commented on June 15, 2024

the wine sandbox is enabled in lutris unless you explicitly disable it.

from agora.

shell-ghost avatar shell-ghost commented on June 15, 2024

the wine sandbox is enabled in lutris unless you explicitly disable it.

And this prevents software to gain access to the homefolder?

from agora.

strycore avatar strycore commented on June 15, 2024

Yes, at least from the point of view of Windows programs in regards to your home folder. Technically, a Windows program can access the Linux files through the Z: drive that is created by default (it can be removed) but the point of the sandbox is about separating the Windows home folder from your own home folder.

from agora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.