|Summary:||x11-drivers/nvidia-drivers: add a ConsoleKit seat hook to add acl's to Nvidia device files for currently active session user|
|Component:||Current packages||Assignee:||Jeroen Roovers <jer>|
|Package list:||Runtime testing required:||---|
|Attachments:||simple consolekit seat hook shell script|
Description nnnn20430 2018-03-10 18:43:38 UTC
Created attachment 523348 [details] simple consolekit seat hook shell script On Gentoo Nvidia device files have permission of 0660, and are part of video group, this makes it necessary to be part of the video group to have a graphical X session; On Arch Linux Nvidia device files simply have permission of 0666, so you can use them without having to add the new user to video group; instead of doing that a simple hook can be added to "/usr/lib/ConsoleKit/run-seat.d", named something like "nvidia-acl.ck" which adds an acl entry for the currently active session user to all Nvidia device files. A working script is provided in attachments.