Skip to contentSkip to conversation

Run weston as custom user and non-root

DISCUSSION Gundlupet Raju, Sandeep 2 participants 2 messages Oct 1, 2025

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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.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.

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