aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
AgeCommit message (Collapse)Author
2014-09-03xserver-nodm-init: Only start in runlevel 5Dan McGregor
Runlevel 3 is often multi-user without X, so don't start the X server in runlevel 3. This allows one to start up a machine without X running from the bootloader. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04xserver-nodm-init: Add xuser to input groupDarren Hart
Fixes [YOCTO 4164](3/3) Input devices come and go, so a single chmod in this init script is not adequate to ensure rootless X servers can use input devices. The o+rw method also introduces a security hole. The newly added input group and input udev rule address this in a secure way. Ensure the xuser is added to the input group. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Saul Wold <sgw@linux.intel.com> Cc: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-27xserver-nodm: Correct initscript headerRichard Purdie
The init script header is incorrect, we only start this at runlevels 2 and 5. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07xserver-nodm-init: Change hidraw mode to allow normal user accessZhai Edwin
USB HID like touch screen could be presented as hidraw* device, this change make user under rootless X can access them. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-08-31xserver-nodm: Disable dbus-wait as it causes users too much confusionRichard Purdie
In the event the xserver fails to start the dbus-wait has to time out and this causes many users a lot of confusion. If we wish to reinstate this, we need to find a safer mechanism to do it where X failing to start cancels the timeout (sends a dbus event at that point?) The comments are left in the file as an example in case some user does wish to enable is. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04xserver-nodm-init: Fix X start failure on some platformZhai Edwin
sudo is used to run rootless X in xserver-nodm, and start to fail with "xf86OpenConsole: Cannot open /dev/tty0" error after upgrade to 1.8.1. sudo seems wait for some resource that is unavailable in early phase of booting. This patch swith to "su" for rootless X starting as a fix. [YOCTO #1211] got fixed Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-03-01xserver-nodm-init: add rootless-x supportYu Ke
most rootless X work are already done in the kernel, xserver and graphics driver, this patches add the the remaining userspace setting: - create /etc/X11/Xusername to set rootless X user - add rootless X user to group video, tty to access /dev/tty[0-4] and /dev/dri/card0 - grant rootless X user access right to /dev/input/*, /var/log Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>