All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] rootless x support
@ 2011-02-22 16:00 Yu Ke
  2011-02-22 16:00 ` [PATCH 1/2] xf86-video-intel: add config option to support rootless X Yu Ke
  2011-02-22 16:00 ` [PATCH 2/2] xserver-nodm-init: add rootless-x support Yu Ke
  0 siblings, 2 replies; 8+ messages in thread
From: Yu Ke @ 2011-02-22 16:00 UTC (permalink / raw)
  To: poky

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 <ke.yu@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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/2] rootless x support v2
@ 2011-02-23  2:14 Yu Ke
  2011-02-23  2:14 ` [PATCH 2/2] xserver-nodm-init: add rootless-x support Yu Ke
  0 siblings, 1 reply; 8+ messages in thread
From: Yu Ke @ 2011-02-23  2:14 UTC (permalink / raw)
  To: poky

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@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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-23  2:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 16:00 [PATCH 0/2] rootless x support Yu Ke
2011-02-22 16:00 ` [PATCH 1/2] xf86-video-intel: add config option to support rootless X Yu Ke
2011-02-22 20:03   ` Saul Wold
2011-02-23  1:21     ` Yu Ke
2011-02-22 16:00 ` [PATCH 2/2] xserver-nodm-init: add rootless-x support Yu Ke
2011-02-22 20:20   ` Saul Wold
2011-02-23  1:23     ` Yu Ke
  -- strict thread matches above, loose matches on Subject: below --
2011-02-23  2:14 [PATCH 0/2] rootless x support v2 Yu Ke
2011-02-23  2:14 ` [PATCH 2/2] xserver-nodm-init: add rootless-x support Yu Ke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.