From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mHGZIOGYFGKrDQAAgWs5BA (envelope-from ) for ; Tue, 22 Feb 2022 09:03:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uExWHeGYFGKWYgEAauVa8A (envelope-from ) for ; Tue, 22 Feb 2022 09:03:45 +0100 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 01FC02E122 for ; Tue, 22 Feb 2022 09:03:44 +0100 (CET) Received: from localhost ([::1]:56062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMQ99-0002QD-SB for larch@yhetil.org; Tue, 22 Feb 2022 03:03:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMQ4R-0000rN-6w for guix-devel@gnu.org; Tue, 22 Feb 2022 02:58:51 -0500 Received: from mail-tycjpn01olkn2096.outbound.protection.outlook.com ([40.92.99.96]:5543 helo=JPN01-TYC-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMQ4O-00082I-Qo for guix-devel@gnu.org; Tue, 22 Feb 2022 02:58:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bUf+yapBmeXUBK2S+xLg9iubrCkzXAXUNcW/6pXHcRfUHQC1M6PK1ZcQKxZswkmePyN73HeZXPcSSlSp0+TDEyavHl+NyUEmlL4tlTNTylwEyjUfGH2nXS7hVpo3LhVWpUgcPheMdxsrkabZGln3sR7H3XkWkg9h6xEF3ycIdfuNLvA4FyK6Kqh/DwYtGGr0kOnOAgzne81WcfbXWmbDadNgl45qTW3Ril5zF0vg08XwcLG15w7bM6GavnrjZzjj3Jircm7WQkQRNFUObeMKYbttHYzAB6ex+ywuqvNJtEXDV7GpYSxwZdKLfAWPOquq/omIJIsyKbjRXwPiHIXCEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=adpizYtF2b8hVW6UsXCfCh2QSj3OL0RS27vhLwVxH3k=; b=TgqcyvrxyVAWaKEdFEZ+SC2IlP11/fRCK/1fOWpTyXkPEl0LCIMkbLot4A3DlfYGgAtwTht4xQJiClf88qDS/Gyg/j+xO9ZyVfsA2To5P+0DbcIKEZRR2C/7rNYUs51XrRO09N9CjBvynbtr+0CoUSY3B64jqyzKyOmMYX+DOJl4mQ56BlxL8aWXRnAV43FzxuSPboAcSDfeiV9auBVzdRW59hEFQAAVfNu62/7ep3631IWbQrjhYtgCp5Rm+X/No2eOpSbdPHT8dion7yrOpj2xkjMXUms3bRBwnaekUY/f9xpj62CYCL4Ms3xrSOgq7MiQLKLzltoMJnfmh/y9HQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=adpizYtF2b8hVW6UsXCfCh2QSj3OL0RS27vhLwVxH3k=; b=uFeDQ59RNoux6y6feBCw3+J8JVr8s2WvJiJ52jKoIUxBX6EMX4De3zhovxaiTpGff3jvBTAGA8cOsnb9prTQf8AiVY+a/k2kkLexaC+LVscj3njqDT1oMhbN37/CzNyaQUzTu50rCwkv+rKIyY3nbOLUu3gaUoN4kMyHfY25+KPRuQ8I0cCjG/lza3woyP94Z3EPNL/ygB+QF3WO2pVd9j9Ij+YlOgBh892Ne2PxmxoVyc+mpyeecLbzpG+WMbwIJNbByUd8VHpWGvdqVhG2YYl9YeEW0x3SOIYBkAV3ADQ5j4lMsgai6uy9cW6vD7wMrtU7hMfyGlbkxCdKCcPbZw== Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) by TYCP286MB1947.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:104::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.18; Tue, 22 Feb 2022 07:58:45 +0000 Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::51f5:8561:6bc0:1f64]) by TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::51f5:8561:6bc0:1f64%4]) with mapi id 15.20.4995.027; Tue, 22 Feb 2022 07:58:45 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: tumashu Subject: Re: [bug]: xfce4: xfpm-power-backlight-helper alway let me input password. References: <7c27e895.adc.17f1f04cd97.Coremail.tumashu@163.com> <71584684.3d7a.17f204972bf.Coremail.tumashu@163.com> <4a8a8aa9.3e60.17f204e46cd.Coremail.tumashu@163.com> Date: Tue, 22 Feb 2022 15:58:40 +0800 In-Reply-To: <4a8a8aa9.3e60.17f204e46cd.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 22 Feb 2022 15:21:15 +0800 (CST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [HHIN8wgOsGdZgMgIlXXmtxOFqSJ1AjzBO4Q+uHTAlUQ=] X-ClientProxiedBy: HK2PR04CA0068.apcprd04.prod.outlook.com (2603:1096:202:15::12) To TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) X-Microsoft-Original-Message-ID: <87pmnffi33.fsf@think.home> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d36e5155-f267-4151-f326-08d9f5d9264a X-MS-TrafficTypeDiagnostic: TYCP286MB1947:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eYlfSLilaiBjHeZVQ/FVje1VCYACoDhGxh5AQHLKG3099tv+oUJc8bcHE8IQzb3s7ezA9uDs11O3zuK8osDtX0oojtUH9pOj8clnvOExPfoK1lehwXlcR58ueI8SO90c6EmYIKGnBCN6Ybrjt+0M6lRPlx5rvz+Z/1B9nZpEYWS1Vm3xAE8UYQiCYQpvzmRlYaPbgTW0vRY80HpPCBohq+VaT9giQ4GJyXUTF2oeR3dlfVAcnBIiSufWoe/ZG3LbR8Umb43hLZqqN1BxnuAxGKXmjJdrDjy0c+opbVhOfTyKLXtd5hx1IbZilOX3PA5RIz66Lb5Y4FVE6CNgqhBERx7gYGbgoudApKd7q/skLNKN1/qEQY24StrTpIJkp24Dnm2+hC3wUNDL82DCMcQzwhqIxVfKAQND/stWGsB7h8ClqN1xAaxbInUu+H62Ese+/srFqmuxHb7IHrvQNtIKhqlRzKrK9ROAh8y6kMN/pXu6rvC2w8M15Zky59HllMxGqcgWXvPXn657ZFDZlizcRAkDh26mWuTH8Ly41Zx0VS4bQB0cg6DVLdQWjD0Vgbp3Oct4ib5aRbclv7qIPvWDVQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K1ZhT0wyM2pDb2tDVUVlSkl2d05LL0pHaU4vZTBsRUZOM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aNkpHQWJZeDgzU1NheC91czUvd09q?= =?utf-8?B?QmxuWjNLeTNCcEVSZFh6dEJiM1RCbzAyM0pldTdQRE5oekZIYjVKMlFrbkJ3?= =?utf-8?B?aC8zdGtzRXRmcWlERHJzUmpRdWRQeHZ3L0FDYjhyRXdjSWtUZ0pIYlNIR1Qr?= =?utf-8?B?UjA2Q2lCcHZzYkFFZFdGZVh6djJXbnNKMlR1cFhOR3VoK2pPNThJU3J1SFV6?= =?utf-8?B?VTR5Y3R6NXQrMmd0Zzc2MTdUOVJxNXBuQ2l2UlNlV01uWmFBcXpXZmJIVEt1?= =?utf-8?B?VVg3SnpYQ2NsZEtwak5STVhyK2V1QTV5a2pVMC9MNVdSUTVPTUtnVk9vVWJq?= =?utf-8?B?RGJOM0wzOHl6Nmd4RWNRRi9ZKzlXNTNLM1NueTlkWEZUaEtrQT09?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d36e5155-f267-4151-f326-08d9f5d9264a X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2022 07:58:45.1446 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCP286MB1947 Received-SPF: pass client-ip=40.92.99.96; envelope-from=iyzsong@outlook.com; helo=JPN01-TYC-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645517025; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=adpizYtF2b8hVW6UsXCfCh2QSj3OL0RS27vhLwVxH3k=; b=QZHuQKaNXeC+TKdPF4NP/SDZapNpoEDHNwdrAaoT8GLuRbg2SUos0hbBSyIuigyOKCM86v T3LT0Bfl0gLt36QOrH1UXMJRs0m+fiGkROaPWXqtaGnXx+X7igUiLze2KGFbRB6ofmXhA4 mfUVh4PSbDwS65ta2xLrYf0SMawXvgU58dqgyiftyda3IAwtjtRYKbDbmolGtKu2MQ27FX BAC54hefijOOEG+CbTTm28v+8dyANCpdAneIDkKxC8aphxhzFyf+4YSQXoeOamDQByTU8v WrgnLwUieRwW+y4JRWfGBwVsQUbNwzqQgoIYumBRKmbCZVOICO3L5ahtJclEDA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645517025; a=rsa-sha256; cv=pass; b=IVaWju+8IPusy6f/QwCx75LSoj8lA1Cgvr0l6pZC6VJKlhcxqhzEN4vpbKJI4TTQtm9+Zw rfhrL2Ko14zJ14hBrAXOVs/mUcNtXAz6jtPBwqOI1xftAj25JNpBwqA6mlP0e2BiKgO1Nu JXsKzp49BN2OvXoJnw/rjLNR6/4zdpLc0NOsIAXOKmQFhymG4sRyduI0wEK8dYzX18b6b0 4jNcfYVJ6Tgx3CGd7LRfpYP+P5mTogT+cLgzWxuJls+2hvRz+Mlv6KhVwEnJvVPL4bbgut flLPLY3W8aT7IP4JS/SfrB5lrGrcZyCHLRWHLxFNJcsgMG+whC+bC3o5nAzi5w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=uFeDQ59R; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=uFeDQ59R; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 01FC02E122 X-Spam-Score: -6.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 747e3sfE3U7q tumashu writes: >>At 2022-02-22 15:04:22, "=E5=AE=8B=E6=96=87=E6=AD=A6" wrote: >> >>>tumashu writes: >>> >>>> Hello: >>>> >>>> When I update my guix system today, I have found that run xfce4: xfp= m-power-backlight-helper alway let me input password, how to avoid input p= assword? >>> >>>No answer yet, my understand is that: >>> >>>1. xfpm-power-backlight-helper need to run with 'pkexec'. >>>2. 'pkexec' will always ask for password unless some polkit rules allow >>> the action. >>>3. '/etc/polkit-1/actions/org.xfce.power.policy' allows the action, but = its >>> executable is something like >>> '/gnu/store/vsnzjhjm37cd42w7vv7mxgy8hi8w6zi0-xfce4-power-manager-4.16= .0/sbin/xfpm-power-backlight-helper'. >>> =20 >>>So run 'pkexec xfpm-power-backlight-helper' will ask for password while = 'pkexec /gnu/store/.../xfpm-power-backlight-helper' will not. >> >>no, need input password when run "pkexec /gnu/store/.../xfpm-power-backl= ight-helper" >> >>I do not run this command by hand, when I start xfce4 with slim, a windo= w pop and let me input password many time, >>when I press Fkey, ask password again. > > When I test gnome and mate, have no this problem. > The policykit rule only allow "active" session, I guess slim may lack 'elogind-service' support to be an "active" session. I have 'elogind-service' and use 'sx' to start xfce, no problem here... My ~/.config/sx/sxrc: #!/bin/sh setxkbmap dvorak xsetroot -solid sienna -cursor_name cross exec dbus-run-session -- startxfce4 Hope this helps!