I am trying to show notification messages from my desktop background application using notify-send command. But I came to know that it won't work across the users i.e I am running my daemon as a root user and notify-send is not showing any notification. When I run my daemon as a non-root user, notify-send working as expected. Is there any way that notify-send works irrespective of users.And How the standard daemons like net-manager in Ubuntu shows the notifications on desktop when internet is connected or disconnected, though they run by root user ?
Thanks in advance.