freebsd dbus[732]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.11" (uid=13250 pid=1005 comm="") interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=877 comm="")

Brandon J. Wandersee brandon.wandersee at gmail.com
Thu Jan 26 20:39:07 UTC 2017


David Christensen writes:

> I'm reposting, changing the subject to the exact error message -- David.
>
>
>
> freebsd-questions:
>
> I have a computer with Intel DQ67SWR3 motherboard, Intel i7-2600S 
> processor, 8 GB memory, 16 GB SSD, and:
>
> toor at freebsd:/root # freebsd-version
> 11.0-RELEASE-p7
> toor at freebsd:/root # uname -a
> FreeBSD freebsd 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu 
> Sep 29 03:40:55 UTC 2016 
> root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
> toor at freebsd:/root # pkg info xorg | head -n 1
> xorg-7.7_2
> toor at freebsd:/root # pkg info xfce | head -n 1
> xfce-4.12_1
> toor at freebsd:/root # pkg info dbus | head -n 1
> dbus-1.10.14
> toor at freebsd:/root # pkg info polkit | head -n 1
> polkit-0.113_2
>
>
>
> When I log in at the console, run 'startx', and log out, I see the 
> following error messages on the console:
>
> toor at freebsd:/root # dmesg -a | tail -n 4 | head -n 2
> Jan 25 19:02:20 freebsd dbus[732]: [system] Rejected send message, 2 
> matched rules; type="method_call", sender=":1.11" (uid=13250 pid=1005 
> comm="") interface="org.freedesktop.ConsoleKit.Manager" 
> member="CanSuspend" error name="(unset)" requested_reply="0" 
> destination=":1.4" (uid=0 pid=877 comm="")
> Jan 25 19:02:20 freebsd dbus[732]: [system] Rejected send message, 2 
> matched rules; type="method_call", sender=":1.11" (uid=13250 pid=1005 
> comm="") interface="org.freedesktop.ConsoleKit.Manager" 
> member="CanHibernate" error name="(unset)" requested_reply="0" 
> destination=":1.4" (uid=0 pid=877 comm="")
>
>
> I do not want or need suspend or hibernate.
>
>
> STFW I guessed at a solution:
>
> toor at freebsd:/root # cat /usr/local/etc/polkit-1/rules.d/51-suspend.rules
> polkit.addRule(function (action, subject) {
>    if (action.id == "org.freedesktop.consolekit.system.suspend"
>        && subject.isInGroup("dpchrist")) {
>      return polkit.Result.NO;
>    }
f> });
>
>
> This just causes more error messages.
>
>
> How do configure Xfce and/or dbus to not use suspend and hibernate (and 
> stop issuing error messages)?
>
>
> TIA,
>
> David
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


That's just normal console chatter. I'd only worry about console
messages that correlate with an actual problem (read: something that
actually keeps you from doing what you need to do or makes your system
unstable). Desktop environments usually have their own daemons, or rely
on third-party daemons, that do their own thing in the background. If
they're not able to do what they expect they should be able to then
they'll just spit out a warning or error message.

Actually, just about every graphical program is going to complain about
something or other from time to time. Emacs complains about the default
icon theme not being installed every time I start it, even though I've
had Emacs configured for years to never even try to show me any
icons. Emacs still works, though. Firefox likes to moan on about this
and that from time to time, too.

-- 
::  Brandon J. Wandersee
::  brandon.wandersee at gmail.com
::  --------------------------------------------------
::  'The best design is as little design as possible.'
::  --- Dieter Rams ----------------------------------


More information about the freebsd-questions mailing list