My use-case of notify-send is detailed in bug 693207 comment 8. Apart from the problem of "cluttering up" notification panel, it used to work well on both Fedora 15 and Fedora 16. But quite recently (after some update I think), I am not able to use notify-send over SSH any more. I used to use a command like this: --- ssh $HOST 'DISPLAY=:0 notify-send test' --- Even setting XAUTHORITY environment variable as is set normally on the target machine will not help: --- ssh $HOST 'XAUTHORITY=/var/run/gdm/auth-for-jpokorny-DNDX2Q/database DISPLAY=:0 notify-send test' --- I have no idea what has changed that notify-send command executed over SSH is no longer working. I will be pleased to provide further details and will appreaciate any proposed workarounds. $ rpm -qf $(which notify-send) libnotify-0.7.4-1.fc16.x86_64
I used your command: ssh $HOST 'DISPLAY=:0 notify-send test' and successfully sent messages between two VMs. One was Fedora 15, second Fedora 16. Message sent to F15 and to F16 as well. libnotify-0.7.2-1.fc15.x86_64 libnotify-0.7.4-1.fc16.x86_64 I was in gnome-shell fallback mode. Then I tried sent message from VM to my host Fedora 16 with normal gnome-shell and it successfully arrived too. Try to verify your libnotify installation by: $ rpm -V libnotify; echo $? 0
That checking command gives me: > prelink: /usr/bin/notify-send: > at least one of file's dependencies has changed since prelinking > ?S....... /usr/bin/notify-send > prelink: /usr/lib64/libnotify.so.4.0.0: > at least one of file's dependencies has changed since prelinking > ?S....... /usr/lib64/libnotify.so.4.0.0 > 1 Anyway, it all works for me again (leading to CLOSED if nobody resists). I wonder if this was a PEBKAC case or the issue was present shortly and then disappeared when I restarted the machine (NOTABUG is probably best here). From "grep -e notif -e panel /var/log/yum.log": --- Oct 24 16:56:45 Updated: notification-daemon-0.7.3-1.fc16.x86_64 Oct 24 16:56:50 Updated: gnome-panel-libs-3.2.1-1.fc16.x86_64 Oct 24 17:00:07 Updated: gnome-panel-3.2.1-1.fc16.x86_64 Oct 31 17:26:42 Updated: notification-daemon-0.7.3-2.fc16.x86_64 Oct 31 17:27:26 Updated: gnome-panel-libs-3.2.1-2.fc16.x86_64 Oct 31 17:33:42 Updated: gnome-panel-3.2.1-2.fc16.x86_64 --- and it is possible that I haven't done any restart/gnome-shell restart before 2011-11-04.