From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: Unprivileged power managing in GuixSD: dbus-send not working Date: Fri, 29 Jan 2016 16:55:27 +0100 Message-ID: <2c239fa148b4a7ade1ae22d918bf05ed@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPBOX-0001Yr-Bf for guix-devel@gnu.org; Fri, 29 Jan 2016 10:55:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPBOS-00046g-U8 for guix-devel@gnu.org; Fri, 29 Jan 2016 10:55:33 -0500 Received: from mx1.riseup.net ([198.252.153.129]:37162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPBOS-00046b-Lp for guix-devel@gnu.org; Fri, 29 Jan 2016 10:55:28 -0500 Received: from cotinga.riseup.net (unknown [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id D7FB81A0243 for ; Fri, 29 Jan 2016 15:55:27 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel Hi I'm using GuixSD with xfce recently pulled, reconfigured and restarted. I have found that power managing dbus-send commands (from http://andrusiv.com/blog/2011/12/12/shutdown-dbus.html) does not work at all, eg: $ dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files or $ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist Is this because dbus / polkit is currently misconfigured? Is there anything I can do about it? I'm guessing the incapability of the xfce power menu to function is related to this. cheers sdb