diff options
author | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | 2014-05-27 17:46:48 +0200 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | 2014-05-27 17:46:48 +0200 |
commit | 55233520e1281d0651abe4b8b94b9c99591a0707 (patch) | |
tree | 51ca88d5e51594ac23d6c2265b458ced8bf47098 | |
parent | 1fb83980ef55709d166ac443f0dc62e2ed6ed42c (diff) | |
download | weston-common-55233520e1281d0651abe4b8b94b9c99591a0707.tar.gz weston-common-55233520e1281d0651abe4b8b94b9c99591a0707.tar.bz2 weston-common-55233520e1281d0651abe4b8b94b9c99591a0707.zip |
Framebuffer support: Add the "display" user to the "video" group
Is the framebuffer is enabled, only members of the "video" group
can access the dedicated device /dev/fb0. Adding this permits
to run display-manager service with the framebuffer.
Change-Id: I38160706dbbcb89fec2f939444c1f3c17164d87f
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
-rw-r--r-- | packaging/weston-common.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/weston-common.spec b/packaging/weston-common.spec index 34283b3..01d43e0 100644 --- a/packaging/weston-common.spec +++ b/packaging/weston-common.spec @@ -135,9 +135,10 @@ getent group weston-launch >/dev/null || %{_sbindir}/groupadd -r -o weston-launc # create user 'display' getent passwd %{daemon_user} >/dev/null || %{_sbindir}/useradd -r -g %{daemon_group} -d /run/display -s /bin/false -c "Display daemon" %{daemon_user} -# add user 'display' to groups 'weston-launch' and 'input' +# add user 'display' to groups 'weston-launch', 'input' and 'video' groupmod -A %{daemon_user} weston-launch groupmod -A %{daemon_user} input +groupmod -A %{daemon_user} video # setup display manager service mkdir -p %{_unitdir}/graphical.target.wants/ |