Run weston as custom user and non-root
Hi All,
I'm trying to run weston as a custom user(non-weston user) and non-root on arm64 using scarthgap, I can modify /etc/systemd/system/graphical.target.wants/weston.service with username User=root, Group=video and then run as root user which works OOB, but end goal to run weston as custom user which belongs to video group.
Any help is appreciated.
Thanks,
Sandeep
Quoted 8 lines · Sandeep
Hi All,
I'm trying to run weston as a custom user(non-weston user) and non-root on arm64 using scarthgap, I can modify
/etc/systemd/system/graphical.target.wants/weston.servicewith username User=root, Group=video and then run as root user which works OOB, but end goal to run weston as custom user which belongs to video group.
I'm not sure why that wouldn't work other than maybe you also need to change USERADD_PARAM in weston-init.bb?
Quoted 6 lines
Any help is appreciated.
Thanks,
Sandeep