<div dir="ltr">The difference is that xmonad doesn't start a dbus session for you. Look at the dbus-launch command for how to start a session, depending on how that session is set up. For example, if you are using .xsession, you'll want to use the eval version to make it available to everything launched from .xsession instead of only from xmonad.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Nov 24, 2018 at 1:37 PM Thomas Järvstrand <<a href="mailto:tjarvstrand@gmail.com">tjarvstrand@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the reply! I do however believe that it is related to xmonad somehow, or at least how I'm starting it, since the same command works fine when I'm in a qtile session. Unfortunately I'm very much a newbie when in comes to DBus and systemd<br><div><br></div><div>Thomas<br></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Sat, 24 Nov 2018, 10:12 Paul Fertser, <<a href="mailto:fercerpav@gmail.com" target="_blank">fercerpav@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
On Thu, Nov 22, 2018 at 05:45:53PM +0100, Thomas Järvstrand wrote:<br>
> having trouble locking my screen using light-locker-command. When calling<br>
> "light-locker-command -l" from the command line, I get the this back:<br>
> "Received error message from the locker:<br>
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name<br>
> org.freedesktop.ScreenSaver was not provided by any .service files"<br>
<br>
This means that the application is trying to use an FDO DBus API to do<br>
the actual locking. And indeed, its description says:<br>
<br>
It relies on lightdm for locking and unlocking your session via<br>
ConsoleKit/UPower or logind/systemd.<br>
<br>
> I'm running Ubuntu's mini.iso, lightdm, and a simple session file that just<br>
<br>
So since you're using lightdm already what you need to figure out is<br>
what package exactly is supposed to be providing<br>
org.freedesktop.ScreenSaver on your system. I hope your distro people<br>
can help figuring that out, the issue seems to be absolutely unrelated<br>
to XMonad.<br>
<br>
HTH<br>
-- <br>
Be free, use free (<a href="http://www.gnu.org/philosophy/free-sw.html" rel="noreferrer" target="_blank">http://www.gnu.org/philosophy/free-sw.html</a>) software!<br>
mailto:<a href="mailto:fercerpav@gmail.com" target="_blank">fercerpav@gmail.com</a><br>
</blockquote></div>
</div>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>