One game is not able to run without root and running “sudo lutris” give me the don’t run lutris as root. Please help me bypass this message or suggest any other ideas how I could run an .exe with proton as admin.
Hello, which game needs root rights? You should never launch or need to launch an app, a game, on Linux with root rights.
Hello, thanks for answering. It’s a heavily moddified version of HoMM3 thats barely holding together and the launcher need root.
AFAIK Proton is a fork of Wine, and as apps running in Wine are concerned, they are running as Administrator. You should not need to do anything special. And running wine as root you are giving it full access to root files and probably borking permissions in .wine folder. There must be something else at play, and giving proton root access probably won’t fix it.
I did enough testing and tinkering. I does not work without root. Is there no possible way to run it under root? I understand the risk.
If you insist on running it as root, IMO your only option is to add this as native linux game to lutris and use same command as you would use when launching this from terminal (e.g. sudo wine game.exe
).
However I would strongly suggest trying to use fakeroot
instead of sudo
, as this seems very, very fishy.
I personally would rather focus on finding the issue why does it require root, because there is no real reason why would some windows game need root (because it is not aware of linux environment at all) and it would only mess things up, like ownership of files.
If there is no linux malware bundled along which would require root, I’d guess you do not have properly set up some rights in /dev (e.g. missing some group on your user or bad udev rules) or somewhere else on filesystem.
Thanks, I guess this solve the issue thank you for the reply. It’s the first time I hear about fakeroot. Thanks