]> code.ossystems Code Review - openembedded-core.git/commit
xserver-nodm-init: add rootless-x support
authorYu Ke <ke.yu@intel.com>
Tue, 22 Feb 2011 12:41:19 +0000 (20:41 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 1 Mar 2011 11:46:01 +0000 (11:46 +0000)
commita8bd58a0d835ceda1db21a30ced7d93db22cf8cf
treeb631f33a71c3af58258d8fcd62bcc5e5a14b9fbc
parentc82a6ae77941d51fb77d265eccbdcda51bfec5fb
xserver-nodm-init: add rootless-x support

most rootless X work are already done in the kernel, xserver and
graphics driver, this patches add the the remaining userspace setting:

- create /etc/X11/Xusername to set rootless X user
- add rootless X user to group video, tty to access /dev/tty[0-4]
  and /dev/dri/card0
- grant rootless X user access right to /dev/input/*, /var/log

Signed-off-by: Yu Ke <ke.yu@intel.com>
meta/recipes-graphics/x11-common/xserver-nodm-init.bb
meta/recipes-graphics/x11-common/xserver-nodm-init/Xusername [new file with mode: 0644]
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm