[poky] [PATCH 0/2] rootless x support v2
Yu Ke
ke.yu at intel.com
Tue Feb 22 18:14:30 PST 2011
this patch set add the rootless X support (a.k.a non-root X)
- What is rootless X
Rootless X allow X to be runed with non-root user, to gain better security
Rerence (https://wiki.ubuntu.com/X/Rootless) has more detailed info on this.
- What changes are made to support rootless X
To support rootless X, whole stack including kernle, graphics driver, x server
and userspace setting are all required to change. Fortunately, the former three
already has required changes in upstream, so this patchset only add userspace
setting to enalbe the rootless X.
- How to enable/disable rootless X
Not all machine support rootless X currently, because rootless X requires kernel
mode setting (KMS) in graphics driver and not all graphics driver support KMS,
so a per-machine config "ROOTLESS_X" is introduced to enable/disable rootless X.
so far, ROOTLESS_X is set for atom_pc machine, because its graphics driver(intel
graphics driver) support KMS well.
this patchset has been tested in atom-pc and qemux86 machine poky-image-sato image
changes compare to v1:
- change the user name from yocto to xuser
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/nonrootx
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/nonrootx
Thanks,
Yu Ke <ke.yu at intel.com>
---
Yu Ke (2):
xf86-video-intel: add config option to support rootless X
xserver-nodm-init: add rootless-x support
meta/conf/machine/atom-pc.conf | 2 +
.../x11-common/xserver-nodm-init.bb | 22 +++++++++++++++++++-
.../x11-common/xserver-nodm-init/Xusername | 1 +
.../x11-common/xserver-nodm-init/xserver-nodm | 4 +++
.../xorg-driver/xf86-video-intel_2.14.0.bb | 5 ++++
5 files changed, 33 insertions(+), 1 deletions(-)
create mode 100644 meta/recipes-graphics/x11-common/xserver-nodm-init/Xusername
More information about the poky
mailing list