Re: Sending session DBus message from system cron job?
Le 21/03/2010 vers 09:56, dans le message intitulé "Re: Sending session DBus
message from system cron job?", Michael Schuerig(Michael Schuerig
<firstname.lastname@example.org>) a écrit:
> On Wednesday 10 March 2010, Glennie Vignarajah wrote:
> > Le 09/03/2010 vers 17:49, dans le message intitulé "Sending session
> Failed to open connection to "session" message bus: Did not receive a
> reply. Possible causes include: the remote application did not send a
> reply, the message bus security policy blocked the reply, the reply
> timeout expired, or the network connection was broken.
It's seems that session bus needs a DISPLAY.
Use the DISPLAY variable associated with DBUS_SESSION_BUS_ADDRESS
Have a look at http://cweiske.de/tagebuch/DBus notify-send over network.htm
If the only tool you have is hammer, you tend to see every problem as a nail.