From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Bauer Subject: i3lock: problem and solution Date: Sun, 16 Jun 2019 09:29:15 -0500 Message-ID: <20190616142915.GC12459@serpent> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36657) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcW9p-0005ZA-WA for help-guix@gnu.org; Sun, 16 Jun 2019 10:29:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcW9o-0002e9-S4 for help-guix@gnu.org; Sun, 16 Jun 2019 10:29:21 -0400 Received: from mail-yw1-xc2d.google.com ([2607:f8b0:4864:20::c2d]:36827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcW9o-0002d1-Jx for help-guix@gnu.org; Sun, 16 Jun 2019 10:29:20 -0400 Received: by mail-yw1-xc2d.google.com with SMTP id t126so3713223ywf.3 for ; Sun, 16 Jun 2019 07:29:20 -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 u66sm1276645ywd.84.2019.06.16.07.29.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Jun 2019 07:29:16 -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))))