From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Bauer Subject: i3lock: problem and solution Date: Sun, 16 Jun 2019 08:54:04 -0500 Message-ID: <20190616135404.GA12459@serpent> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57596) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcVbn-0004Et-2H for help-guix@gnu.org; Sun, 16 Jun 2019 09:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcVbm-00062h-1u for help-guix@gnu.org; Sun, 16 Jun 2019 09:54:11 -0400 Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:44262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcVbl-00061h-OG for help-guix@gnu.org; Sun, 16 Jun 2019 09:54:10 -0400 Received: by mail-yb1-xb33.google.com with SMTP id x187so3300519ybc.11 for ; Sun, 16 Jun 2019 06:54:08 -0700 (PDT) Received: from localhost (c-68-32-100-39.hsd1.tn.comcast.net. [68.32.100.39]) by smtp.gmail.com with ESMTPSA id q66sm2258027ywb.85.2019.06.16.06.54.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Jun 2019 06:54:05 -0700 (PDT) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Thanks to support on #guix irc, I was able to get i3lock working. After installing the package, i3lock would not accept my login password. It was suggested that I add to my config.scm: (screen-locker-service i3lock "i3lock") However, I still wasn't able to unlock my screen. Next suggestion was to add i3lock to config.scm packages, but that also didn't work. Finally xavierm02_ suggested that I uninstall i3lock as a user package which fixed the problem. Per kmicu: "my guess is that your i3lock from specification->packages shadows i3lock from the service which has setuid set." Changes to my config.scm below. Posting here on the mail list in case anyone else experiences similar issues. Thanks to everyone for their advice. -Jeff (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) +(use-package-modules wm) (operating-system (locale "en_US.utf8") @@ -35,6 +36,7 @@ (packages (append (list (specification->package "i3-wm") + (specification->package "i3lock") (specification->package "nss-certs")) %base-packages)) @@ -42,6 +44,7 @@ (append (list (service xfce-desktop-service-type) (service openssh-service-type) + (screen-locker-service i3lock "i3lock") (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))))