I used this method to send a message which is triggered by udev to the login screen. Which was working on Debian 10 with Gnome.
On Debian 11 this is not working anymore. The user Debian-gdm which owns the login screen has no directory /run/user/$id/dbus-session. I don't know why. I have searched but didn't found an answer what changed to Debian 11.
Do someone know the reason for this? Or has someone an advice for my task to send an notification to the login screen as another user.
Btw. if a process owned by Debian-gdm sends a notification it will displayed on login screen