[yocto] xserver-xorg setuid bit

Jate Sujjavanich Jate.Sujjavanich at myfuelmaster.com
Fri Nov 1 15:35:55 PDT 2013


I have been getting a permissions error when starting X server as a non-root user. The setuid bit is not set on /usr/bin/Xorg, so I have added a recipes-graphics/xserver-xorg_1.14.0.bbappend file that contains the following:


# Setuid on Xorg server. Allows multiple users to run X
do_install_append () {
	chmod u+s ${D}${bindir}/Xorg
}


Perhaps this need to go upstream?


- Jate S.



More information about the yocto mailing list