diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2020-02-08 20:36:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-07 10:56:45 +0000 |
commit | 0dffb9470991e497025a50347f1719461e6398f3 (patch) | |
tree | 10a8304ff71d85a9198c8531d27c93957f783ddb /meta/recipes-graphics/xcursor-transparent-theme | |
parent | b61d8bc577cd76eb506d15a2c4c4e9016f0c20c5 (diff) | |
download | poky-0dffb9470991e497025a50347f1719461e6398f3.tar.gz |
xserver-nodm-init: Fix the start failure for non-root user
In order to start the xserver, a non-root user should have the
cap_sys_admin capability to set the drm master. We try to get
the cap_sys_admin capability by setting it in both the thread
and file inheritable set. The side effect of this is that we
would have to add the "pam" to the distro features if we want
use the xserver-nodm-init for a non-root user.
[Yocto #11526]
(From OE-Core rev: fec05cd1eaaad41fd72a29d7792f1c37d2a82f3e)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xcursor-transparent-theme')
0 files changed, 0 insertions, 0 deletions