On mar., 2016-06-21 at 17:34 +0200, Lee Garrett wrote: > ------------------------------------------------------------------------------------- > randall@saito:~$ light-locker-command -q > ** Message: Failed to get session bus: Cannot autolaunch D-Bus without X11 > $DISPLAY > randall@saito:~$ DISPLAY=":0.0" light-locker-command -q > ** Message: Locker is not running! > randall@saito:~$ ps auxw | grep light-l > randall 6265 0.1 0.1 387012 18776 pts/0 Sl+ 17:20 0:00 light-locker > --debug > randall 6279 0.0 0.0 14240 2232 pts/3 S+ 17:21 0:00 grep --color > light-l > ------------------------------------------------------------------------------------- > > If there is a way to use light-locker-command from a (non-X) tty, it would be > great if that was documented somewhere.
Well, that's the same for every D-Bus application actually. You need to be able to talk to the bus. Set the DBUS_SESSION_BUS_ADDRESS variable to the relevant value. Regards, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-xfce-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

