Wu, Zhiwen
2014-01-07 10:28:02 UTC
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 ../user-session-***@.service /usr/lib/systemd/system/graphical.target.wants/user-session-***@seat0-5000.service
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
[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
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 ../user-session-***@.service /usr/lib/systemd/system/graphical.target.wants/user-session-***@seat0-5000.service
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
[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