all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* i3lock: problem and solution
@ 2019-06-16 14:29 Jeff Bauer
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Bauer @ 2019-06-16 14:29 UTC (permalink / raw)
  To: help-guix

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))))

^ permalink raw reply	[flat|nested] 2+ messages in thread
* i3lock: problem and solution
@ 2019-06-16 13:54 Jeff Bauer
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Bauer @ 2019-06-16 13:54 UTC (permalink / raw)
  To: help-guix

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))))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-16 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-16 14:29 i3lock: problem and solution Jeff Bauer
  -- strict thread matches above, loose matches on Subject: below --
2019-06-16 13:54 Jeff Bauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.