From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SCjeH5G942XjFQAAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Mar 2024 01:00:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SCjeH5G942XjFQAAe85BDQ (envelope-from ) for ; Sun, 03 Mar 2024 01:00:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b=ISNFWFSo; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=fedora.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709424017; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=wFhzS0bMEsNTs8DAZIh7REKer4TD+Ibuh12ca3/+CAY=; b=YQ5ZS+uacFzWhF23CJTNEjMvAGL2w+l2edkSALkBqA+fJArLt33YEWv+btN8E2qLq2eldH fpUup1s7U61R1EK2YG1R65W0HWPrmAxjnL+PzajxzyMdWCP+TObJorDIjKFtjY9U3i0OPX dhGYZnnHRmnhIelVEfRRNWEWH8yJAFPm1MPOjmLDX7alGsWZjnXESpUm27TSskkCZ1oMcL iTSMGpGyg6xEObYVE3Lifrco9aDtRIwRvkB2nO8SfNdAsH/nPXaMSEyd7MTyU8ctE44qsX GQ22wyUcmC/bP8nU6y1j/brcuelSZce3LkCVfFV9nMIbejxcVcEGfG9bQgF3Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b=ISNFWFSo; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=fedora.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709424017; a=rsa-sha256; cv=none; b=OGM39RHWktoSaEw6WKNdnVt5BSbE4OBJXdIEliIRYFAbj0zv0rB0IIOO2df9jGGttGVAty 3Qxa+Rwm2a+kKMn2zDd/ZKli4FoQ4JWoYeI2BOlqbEBwExAlx5IbrWPCjB6nALC1uMcyhu HzbQjaPUSzRNQhSH1qOfsgqCMAlQuXzz0q5ptfaiv+kZaZ2f5LA8v898b2bUvOH+bQzaXZ Ug44EOM3QFq9NQy1/I91fZ92kkTfz6uSOOqdOzVKDlieK6iapy2uikRVUdJTwqgKSj0duI NHV1cUFuXazywsEbr8A6wMk4nsophLeyzROHduvnfmB//t1mMCO/moE4bn1g4A== 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 36BD91601A for ; Sun, 3 Mar 2024 01:00:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgZGf-0008DT-QW; Sat, 02 Mar 2024 18:59:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgZGd-0008DL-UM for help-guix@gnu.org; Sat, 02 Mar 2024 18:59:48 -0500 Received: from fedora.email ([205.185.120.125]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgZGc-0004T2-DI for help-guix@gnu.org; Sat, 02 Mar 2024 18:59:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fedora.email; q=dns/txt; s=aug2020; bh=wFhzS0bMEsNTs8DAZIh7REKer4TD+Ibuh12ca3/+CAY=; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding:in-reply-to:references; b=ISNFWFSoduSO0bWpfmL7I/nr3qcDxDTFMq/b3zyU2SIrB/qSoFuWQafVCciLCM05ePHiur2NM HIKZ34dlpPNjh3a7uuZoiA/NeEFixTvuILkd9f97UtvT4Y4fBJpAOfkxVc/uqUY9xXyn1zdZ1Dm 7p293GzhrYZFSLkG96t4WlQ= Received: from debian ([185.242.251.218] 185.242.251.218-ip.operadors.cat) (Authenticated sender: willbilly) by fedora.email (ZoneMTA) with ESMTPSA id 18e019be5e70000176.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 02 Mar 2024 23:59:38 +0000 X-Zone-Loop: d682a7de2a04f23771ef712b292751c259c6fccca2f3 X-Originating-IP: [185.242.251.218] Date: Sun, 3 Mar 2024 00:59:33 +0100 From: William To: help-guix@gnu.org Subject: Re: Cannot lock screen in lxqt desktop Message-ID: <20240303005933.5ee3d6cf@debian> In-Reply-To: <99a2fd1d-8278-bcfd-22f5-5f3e4a6438fc@gmail.com> References: <99a2fd1d-8278-bcfd-22f5-5f3e4a6438fc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=205.185.120.125; envelope-from=willbilly@fedora.email; helo=fedora.email 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, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.12 X-Spam-Score: -4.12 X-Migadu-Queue-Id: 36BD91601A X-TUID: ynQyI/1rfjk/ On Fri, 1 Mar 2024 11:28:45 +0100 Reza Housseini wrote: > Hi Guixers > > When I click "Lock Screen" in the desktop menu I get a popup with the > warning > > Failed to run "xdg-screensaver lock". Ensure you have a > locker/screensaver compatible with xdg-screensaver installed and > running. > > I tried installing xlock and slock and setting up a screen locker > service [1] with no success. > > Was anyone successfull running a screen locker in lxqt? And why does > this not work out of the box like in GNOME? > > Thanks for your help! > > Best, > Reza > > [1] screen-locker-service-type Hello. Did you add the boolean value to enable a PAM entry and disable the setuid entry? Screenlockers usually refuse or complain when started with setuid due to security. Also xdg-screensaver is a frontend that is part of the xdg-utils package. As far as I know, this program is only compatible with xscreensaver or xautolock, you should try defining one of these two on the screen-locker-service-type, not xdg-screensaver, and see if it works. Example: ``` (service screen-locker-service-type (screen-locker-configuration (name "xscreensaver") (program (file-append xscreensaver "/bin/xscreensaver")) (using-pam? #t) (using-setuid? #f))) ```