Code Monkey home page Code Monkey logo

Comments (5)

Emantor avatar Emantor commented on May 18, 2024

Do you get the same error when you login on a normal tty?

from swaylock.

mdeff avatar mdeff commented on May 18, 2024

I don't.

from swaylock.

daenney avatar daenney commented on May 18, 2024

The problem appears to stem from the PAM config Sway ships. For pam.linux it has:

auth include login

But at least on Arch this needs to be:

auth include system-auth

The default provided by Swaylock probably works on Debian systems, but not everywhere. This appears to be similar to the i3lock bug in Arch: https://bugs.archlinux.org/task/31544. The swaylock bug is here: https://bugs.archlinux.org/task/53358. Depending on your distro, you might need to file a bug with them too. This is also being patched in the Gentoo ebuild for i3lock: https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/i3lock/i3lock-2.12.ebuild#n35 but similarly to Arch seems to be missing from the swaylock ebuild: https://gitweb.gentoo.org/repo/gentoo.git/tree/gui-apps/swaylock/swaylock-1.4.ebuild

from swaylock.

daenney avatar daenney commented on May 18, 2024

Also, if you're running Arch, do check you don't have any .pacnew's in /etc/pam.d. system-login moved to using tally2, which should be enough to fix the issue instead of requiring the PAM config change.

from swaylock.

mdeff avatar mdeff commented on May 18, 2024

The move to tally2 indeed suppressed the errors.

from swaylock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.