On Tue, Jan 07, 2014 at 10:28:02AM +0000, Wu, Zhiwen wrote: > Hi All, > I have been trying to bring up a basic wayland image on Intel mobile device. > I got blocked by running weston-launch in systemd user session. Actually, I > copied what IVI does on systemd stuff for wayland, but it doesn't work for > me. The error is: > > "Jun 10 19:23:28 localhost systemd[217]: Failed at step STDIN spawning > /usr/bin/weston-launch: Permission denied". > > The related systemd setup for wayland is: > ln -s ../[email protected] > /usr/lib/systemd/system/graphical.target.wants/[email protected] > ln -sf weston.target /usr/lib/systemd/user/default.target > ln -s ../weston.service /usr/lib/systemd/user/weston.target.wants > > and the weston.service is: > ============================================ > [Unit] > Description=Weston > Requires=dbus.socket > > [Service] > ExecStart=/usr/bin/weston-launch > StandardInput=tty > TTYPath=/dev/tty10
Seems it failed to chown /dev/tty10 to the user but failed with "Permission denied", what 'ls -l /dev/tty10' looks like. It should be owned by the user and mode is 0620. -- Thanks, Chengwei > > [Install] > WantedBy=weston.target > ============================================== > > Do I miss any points? Ps: I used kexec to boot the kernel.bak and add > "security=none" to cmdline.bak to work around smack check. > > Thanks > ----------- > OTC PRC Visualization Team > Wu Zhiwen > > > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev
signature.asc
Description: Digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
