qdbus /ScreenSaver Lock fails

David L idht4n at gmail.com
Mon Jan 6 03:39:12 GMT 2014


On Sun, Jan 5, 2014 at 8:55 AM, Kevin Krammer <krammer at kde.org> wrote:

> On Sunday, 2014-01-05, 08:22:13, David L wrote:
> >
> > If I try to use the DBUS_SESSION_BUS_ADDRESS in the one file
> > in ~/.dbus/session-bus, it doesn't work.  The results I get are different
> > in my local session and in that tmp file:
> >
> > echo $DBUS_SESSION_BUS_ADDRESS
> > unix:abstract=/tmp/dbus-1i5RBi6cFV,guid=4a22a915e3c0a1082928620e52c238bf
> >
> > grep DBUS_SESSION_BUS_ADDRESS ~/.dbus/session-bus/*
> > # If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
> >
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-p7FI7sRDLO,guid=42d74b3a12b
> > 87cd5e97149cd52c238bf
>
> Strange. If you look at that file's time stamp, is it approximately the
> date/time when you started the session?
>

It looks like it's from the same time.  I just exited and restarted and
compared again:

> date
Sun Jan  5 19:34:42 PST 2014


> ls -l ~/.dbus/session-bus/583f7cbba6b4b3b7fd89fa0952c08115-0
-rw-r--r-- 1 dgl dgl 463 Jan  5 19:29
/home/dgl/.dbus/session-bus/583f7cbba6b4b3b7fd89fa0952c08115-0

> echo $DBUS_SESSION_BUS_ADDRESS
unix:abstract=/tmp/dbus-IZwbZv9WUE,guid=32307fb949df48dcc91b6b6552ca2333


> grep ADDRESS ~/.dbus/session-bus/583f7cbba6b4b3b7fd89fa0952c08115-0

# If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VM7yvrW0Au,guid=3209f9250115954e2620e49752ca2333



Perhaps this inconsistency is why I have been having problems.?

I'm up and running again with a startup script that saves the bus address
variable.  Thanks again.

      David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20140105/9f9f3a3e/attachment.htm>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list