Share wayland shared memory with different user
Hello,
I want to let another user run wayland applications on my sway, but I dont want to give him access rights to my $XDG_RUNTIME_DIR
. (Least privileges)
I shared the socket via socat UNIX-LISTEN:wayland-0,forever,fork UNIX-CONNECT:/run/user/1000/wayland-0
, which works great. The user can run basic commands which dont need shared memory, but programs using wayland shared memory wont work.
Is there an easy possibility to make this work, without sharing the XDG_RUNTIME_DIR?