From owner-freebsd-questions@freebsd.org Thu Jan 26 20:39:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAB6DCC3A2D for ; Thu, 26 Jan 2017 20:39:06 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A81FF1E79 for ; Thu, 26 Jan 2017 20:39:06 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-it0-f46.google.com with SMTP id r185so42270896ita.0 for ; Thu, 26 Jan 2017 12:39:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=tDVQepZOVcGBtyEgqw5+Jqr1FPHr7sjo2FGHvMsiCQg=; b=ofiDo/0w6y0JOuwlCpHN4I+0BV2TYrp6glrcy0W1TLeSrjVYjde4F7P2uFusDWs6Rb OQ+Iw9QsgXlSuy3PfUxea5GCiaZHhjtdvq0hXoERrFizhwNahH4clmsp9PJgJ5mW2GYW 2SA//qP1anmuBW1b5aQmq5npc7tDpXBx1IRehiddHjQS07ErKuN4LBDWxaprT/SqstK7 oDVKdkccAbrdP/Lj2xsjlRX3GdmHqtYYY3Pt2C2q+S9LrFN0dZtykjZzXevTz3OLLcrb kAbyEyUrxuxEKMcg4Y+iYySPFNVH39bRpSLecwqGoUlAQvIqE48orL5X877Ah1SykjHB 5YNw== X-Gm-Message-State: AIkVDXJ/7RyWf9pfN1OZFImHcrr3tJiuMC5dmJopzIuSqnAvu48R9fpFgkfh/P81obAAjA== X-Received: by 10.36.245.5 with SMTP id k5mr370186ith.100.1485463140262; Thu, 26 Jan 2017 12:39:00 -0800 (PST) Received: from WorkBox.homestead.org (65-128-162-206.mpls.qwest.net. [65.128.162.206]) by smtp.gmail.com with ESMTPSA id o1sm122176itg.4.2017.01.26.12.38.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 12:38:58 -0800 (PST) Received: from localhost (WorkBox.homestead.org [local]) by WorkBox.homestead.org (OpenSMTPD) with ESMTPA id 135b29d9; Thu, 26 Jan 2017 14:38:57 -0600 (CST) References: User-agent: mu4e 0.9.16; emacs 25.1.1 From: Brandon J. Wandersee To: David Christensen Cc: freebsd-questions@freebsd.org Subject: Re: 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="") In-reply-to: Date: Thu, 26 Jan 2017 14:38:57 -0600 Message-ID: <86wpdhtv32.fsf@WorkBox.homestead.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 20:39:07 -0000 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@freebsd:/root # freebsd-version > 11.0-RELEASE-p7 > toor@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@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 > toor@freebsd:/root # pkg info xorg | head -n 1 > xorg-7.7_2 > toor@freebsd:/root # pkg info xfce | head -n 1 > xfce-4.12_1 > toor@freebsd:/root # pkg info dbus | head -n 1 > dbus-1.10.14 > toor@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@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@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------