Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-level uinput permissions #53

Open
JPenuchot opened this issue Oct 29, 2023 · 4 comments
Open

User-level uinput permissions #53

JPenuchot opened this issue Oct 29, 2023 · 4 comments

Comments

@JPenuchot
Copy link

It just came to me that Sunshine emulates devices the same way rkvm does. However Sunshine doesn't require root permissions to do so, but instead requires user permission to access uinput through a udev rule.

It would be very nice to be able to run rkvm as a user as it would be more secure and make configuration much easier. I'll try to figure a way to do it.

Regards,
Jules

@htrefil
Copy link
Owner

htrefil commented Nov 12, 2023

Good find, thanks Jules.
Do you know if this is done automatically when installed from the package manager or if you need to do it manually?

@JPenuchot
Copy link
Author

The build system puts it where it needs to be, and given the AUR package recipe it looks there is nothing else to do.

@JPenuchot
Copy link
Author

NB: The udev rule from Sunshine has the uaccess tag. This means users can access uinput only when they are logged in (see: https://wiki.archlinux.org/title/Users_and_groups#Pre-systemd_groups).

@JPenuchot JPenuchot changed the title Better permission management User-level uinput permissions Nov 13, 2023
@LSeelig
Copy link

LSeelig commented Jul 16, 2024

I would also appreciate non-root usage. I don't need this before unlocking my user account on server or client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants