On 2014-01-07, 10:21 -0800, Kok, Auke-jan H wrote: > On Tue, Jan 7, 2014 at 4:46 AM, Yang Chengwei <[email protected]> wrote: > > 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. > > With user-session-launch you don't get to choose your tty number - > yet. Please try tty0 instead.
tty1? in user-session-launch currently PAM_TTY is hardcoded as tty1... Kangkai _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
