| Submitter | Zhai, Edwin |
|---|---|
| Date | Aug. 2, 2011, 8 a.m. |
| Message ID | <c297d8027272598a1af9b7180482f339fa25ee14.1312271833.git.edwin.zhai@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/9053/ |
| State | New, archived |
| Headers | show |
Comments
Patch
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index d8c4ba0..3b71983 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm @@ -35,10 +35,8 @@ case "$1" in chmod g+r /dev/tty[0-3] chmod o+rw /dev/input/* fi - # Using sudo -i here has the nice side effect of making sire - # HOME, USER and other previously problematic variables - # are set correctly - sudo -b -i -u $username /etc/X11/Xserver + # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211] + su -l -c '/etc/X11/Xserver&' $username # Wait for the desktop to say its finished loading dbus-wait org.matchbox_project.desktop Loaded ;;