Steps to reproduce:
Expected results:
Actual results:
More info:
notification error: (DBusException(dbus.String(u'The name :1.62 was not provided by any .service files'),),) notification error: (DBusException(dbus.String(u'The name :1.62 was not provided by any .service files'),),) notification error: (DBusException(dbus.String(u'The name :1.62 was not provided by any .service files'),),) notification error: (DBusException(dbus.String(u'The name :1.62 was not provided by any .service files'),),) notification error: (DBusException(dbus.String(u'The name :1.62 was not provided by any .service files'),),
I don't have a "notification-properties
" here, will have to find out how to get it.. To make it easier to reproduce in a VM: what distro version should I use? (and what specific commands?)
No idea what :1.62
is, were you using DISPLAY=:62
? If so, where is the :1
from!?
Do you have a dedicated dbus running for the xpra session? If not this will not work.. (and maybe should be made clearer in the docs)
this is normal debian squeeze. The command is notification-properties. ":1.62" is dbus busname?
I use "env DISPLAY=:7 dbus-launch screen -S X" and run "xpra start :7" and all my graphical applications from that screen.
dbus-monitor has things like
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string "org.freedesktop.Notifications" string ":1.67" string "" signal sender=org.freedesktop.DBus -> dest=(null destination) serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.67" string ":1.67" string "" signal sender=org.freedesktop.DBus -> dest=(null destination) serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.68" string ":1.68" string ""
so maybe the notification-daemon leaves the bus and joins with another busname?
before r583 we were always claiming the notification dbus name, which made it far too easy to stop notifications from working on the client or server (simply running xpra start ...
would stop notifications from working where this was invoked if it had access to the dbus instance used by a real desktop as it would replace it).
Since re-connecting the client fixes the problem above, there may be another issue here: we may need to detect when the connection to dbus is dead and re-connect..
In the end, testing for this was quite easy:
/usr/libexec/notification-daemon
daemon manually
The fix in r585 simply detects when the notification service is not answering and attempts to re-connect to it.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/83