From: Randolph Sapp <[email protected]> Cleaning up some parts of weston-init, adding guards to systemd init scripts, making sure users are in the correct groups for interacting with graphics devices and finally attempting to help direct users to the global Wayland socket when they are allowed to interact with it.
The only functional change here is the addition of a profile script that checks if the user is in the correct group to interact with the global systemd socket at /run/wayland-0; if they are, then we set WAYLAND_DISPLAY to point to that socket directly. Randolph Sapp (6): weston-init: make sure the render group exists weston-init: add weston user to the render group weston-init: add the weston user to the wayland group weston-init: fix the mixed indentation weston-init: guard against systemd configs weston-init: add profile to point users to global socket meta/recipes-graphics/wayland/weston-init.bb | 88 ++++++++++--------- .../wayland/weston-init/weston-socket.sh | 20 +++++ 2 files changed, 68 insertions(+), 40 deletions(-) create mode 100755 meta/recipes-graphics/wayland/weston-init/weston-socket.sh -- 2.41.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#182602): https://lists.openembedded.org/g/openembedded-core/message/182602 Mute This Topic: https://lists.openembedded.org/mt/99441450/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
