From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wICXE528tl+wBQAA0tVLHw (envelope-from ) for ; Thu, 19 Nov 2020 18:42:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IIdYD528tl+CLwAAbx9fmQ (envelope-from ) for ; Thu, 19 Nov 2020 18:42:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5007F9403A8 for ; Thu, 19 Nov 2020 18:42:36 +0000 (UTC) Received: from localhost ([::1]:59876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfot8-0008Vy-2T for larch@yhetil.org; Thu, 19 Nov 2020 13:42:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfoqg-0006yU-Px for bug-guix@gnu.org; Thu, 19 Nov 2020 13:40:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfoqg-0008VR-Fj for bug-guix@gnu.org; Thu, 19 Nov 2020 13:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfoqg-000790-Cq for bug-guix@gnu.org; Thu, 19 Nov 2020 13:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#22952: Backlight brightness keys in GDM and MATE require password authentication Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Nov 2020 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: fixed To: Marius Bakke Received: via spool by 22952-submit@debbugs.gnu.org id=B22952.160581118327433 (code B ref 22952); Thu, 19 Nov 2020 18:40:02 +0000 Received: (at 22952) by debbugs.gnu.org; 19 Nov 2020 18:39:43 +0000 Received: from localhost ([127.0.0.1]:40912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfoqN-00078P-I3 for submit@debbugs.gnu.org; Thu, 19 Nov 2020 13:39:43 -0500 Received: from pelzflorian.de ([5.45.111.108]:60122 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfoqL-00078G-Bw for 22952@debbugs.gnu.org; Thu, 19 Nov 2020 13:39:42 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id DB81D3605A8; Thu, 19 Nov 2020 19:39:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1605811179; bh=kCDlOJkWZQn08MSIizKRGNt/pPUQx8ybpMfZG7G+7lI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=L/3241y+SqKNObY/T8XUYGR6mZ+RN2EwMkTgykBvyMbSsYcjjaW86rRzYGymaqL1x idyKYf40lba/epWh9/o2HI/tREMiAMqMALWT4LZKIqK2cyyXO7CZY2wPEVTyZIBpPW zQKkgwY1+ANxQYBIriLSfZ8YGkXXSKgUCJQxzVu0= Date: Thu, 19 Nov 2020 19:39:29 +0100 From: "pelzflorian (Florian Pelz)" Message-ID: <20201119183929.gsxe3rv5fehrwen5@pelzflorian.localdomain> References: <56DF5744.6000706@fripost.org> <20201117212349.lhhytr4hovctw5e7@pelzflorian.localdomain> <87sg96bc5j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sg96bc5j.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 22952@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=L/3241y+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: +rCzApelkukB On Wed, Nov 18, 2020 at 10:14:32PM +0100, Marius Bakke wrote: > To work around it locally, try adding: > > (simple-service 'gsd-polkit polkit-service-type > (list gnome-settings-daemon)) > > to the (services ...) section of your system configuration. Thank you. You are correct for GDM. Adding this fixes changing the backlight in GDM. Perhaps the GDM service should extend the polkit service like that. It also does not conflict with adding a gnome-service-type. MATE still complains. Without changing services, normally both on the first log-in to MATE and on subsequent log-ins, when pressing the keys to change the backlight, a message window still tells me that /gnu/store/5kmmwc9q23lihpy3nv2knbvsr9qv2aln-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper needs to be authenticated as the super user; I need to enter the password. Only with gnome-service-type and when not removing the GDM service, after GDM (which uses the gsd), on the first log-in to the MATE desktop, the backlight keys do nothing at all. When I try to log out, it says Power Manager is not responding. When I force the log-out despite the Power Manager, then log back in, I again get the message each time I press the backlight keys. I added: (simple-service 'mate-power-polkit polkit-service-type (list mate-power-manager)) It does not work. Regards, Florian