suggestion: export DISPLAY=:0 ; notify-send -t 15 "Check env before using X commands in CLI"
Try this -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/782333 Title: notify-send fails with scary output -- "GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed", "aborting...", "Aborted" -- when running in ssh with DISPLAY unset To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/782333/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs