]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: Introduce uaccess for remote graphical sessions (#38516)
authorLennart Poettering <lennart@amutable.com>
Sun, 8 Feb 2026 20:41:21 +0000 (21:41 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Feb 2026 20:41:21 +0000 (21:41 +0100)
commit5276ef1548d6cda3ba22270a7a153334c1815e33
tree474ffcf51a86293dbcfd55144c1e20183bf67740
parent8fe50c025b36da43c1e95343d3cc08dd757b1cad
parent30a1a29d4e72a6097657b2be9e0b17cff92fba44
udev: Introduce uaccess for remote graphical sessions (#38516)

When systemd is compiled with group-render-mode=0660, only the active
seat gets access to the render devices through uaccess. Remote desktop
sessions like gnome-remote-desktop would be left with no hardware
rendering, because those sessions are not associated with a seat.

We solve the issue by granting uaccess to specifically tagged devices on
session start, if the session is marked with
XDG_SESSION_EXTRA_DEVICE_ACCESS.

udev-builtin-uaccess is refactored to grant multiple users access to a
device, taking into account the device's seat and all the active
EXTRA_DEVICE_ACCESS sessions.