rootless x support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xf86-video-intel: add config option to support rootless Xmeta/ meta/ | +7 | 2 replies | |
| 2/2 | xserver-nodm-init: add rootless-x supportmeta/ meta/ meta/ | +26 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] rootless x support
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
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 <[email protected]>
---
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