diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2020-02-08 20:36:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-13 12:19:14 +0000 |
commit | ba279900933d2399eb722bd01f140f7fb4d79c07 (patch) | |
tree | 7efd2763f1f05d57eab1e4f7a324191dd9f1005f /meta/classes | |
parent | a3416a5933892df940514842a34120658096ca07 (diff) | |
download | poky-ba279900933d2399eb722bd01f140f7fb4d79c07.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: cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions