Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650128 - x11-drivers/nvidia-drivers: add a ConsoleKit seat hook to add acl's to Nvidia device files for currently active session user
Summary: x11-drivers/nvidia-drivers: add a ConsoleKit seat hook to add acl's to Nvidia...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-10 18:43 UTC by nnnn20430
Modified: 2020-10-29 22:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
simple consolekit seat hook shell script (file_650128.txt,444 bytes, text/plain)
2018-03-10 18:43 UTC, nnnn20430
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 1 David Seifert gentoo-dev 2020-10-29 22:42:02 UTC
consolekit is dead and gone.