[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i3lock: problem and solution

From: Jeff Bauer
Subject: i3lock: problem and solution
Date: Sun, 16 Jun 2019 09:29:15 -0500
User-agent: Mutt/1.11.4 (2019-03-13)

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.


 (use-modules (gnu))
 (use-service-modules desktop networking ssh xorg)
+(use-package-modules wm)

   (locale "en_US.utf8")
@@ -35,6 +36,7 @@
       (list (specification->package "i3-wm")
+            (specification->package "i3lock")
             (specification->package "nss-certs"))
@@ -42,6 +44,7 @@
       (list (service xfce-desktop-service-type)
             (service openssh-service-type)
+            (screen-locker-service i3lock "i3lock")
                 (keyboard-layout keyboard-layout))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]