[oe] Requiring root access for windowmanagers?

Koen Kooi k.kooi at student.utwente.nl
Fri Nov 28 13:26:18 UTC 2008


On 28-11-08 13:20, Koen Kooi wrote:
> Hi,
>
> What's the consensus on requiring root access for running an OE built
> windowmanager?
>
> Case in point: e-wm does 'renice -10', which only root is allow to do.
>
> Proposal: remove the 'renice' so regular users can start a window
> manager as well.

The patch:

index e5a6502..7d472fa 100644
--- a/packages/e17/e-wm/enlightenment_start.oe
+++ b/packages/e17/e-wm/enlightenment_start.oe
@@ -5,5 +5,4 @@ if [ -r /etc/enlightenment/default_profile ]; then
    . /etc/enlightenment/default_profile
  fi

-renice -10 -p $$
  exec enlightenment_start $E_PROFILE
diff --git a/packages/e17/e-wm_svn.bb b/packages/e17/e-wm_svn.bb
index 1000ebf..1aff958 100644
--- a/packages/e17/e-wm_svn.bb
+++ b/packages/e17/e-wm_svn.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The Enlightenment Window Manager Version 17"
  DEPENDS = "eet evas ecore edje efreet edbus"
  LICENSE = "MIT BSD"
  PV = "0.16.999.043+svnr${SRCREV}"
-PR = "r21"
+PR = "r22"






More information about the Openembedded-devel mailing list