Comments (5)
Do you get the same error when you login on a normal tty?
from swaylock.
I don't.
from swaylock.
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.
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.
The move to tally2
indeed suppressed the errors.
from swaylock.
Related Issues (20)
- swaylock work not well on 10 bit display HOT 1
- Fails to build with Clang due to -Werror=sign-compare HOT 1
- swaylock either migrated to another output or failed to catch hotplug on labwc HOT 2
- Multiple instances of swaylock HOT 3
- Immediate relaunch HOT 4
- Output on/off HOT 3
- 2 waybars on screen after unlocking
- swaylock doesn't allow typing on keyboard if it's not connected on activation HOT 1
- CRITICAL SECURITY ISSUE: Unlock when connecting external monitor HOT 1
- Swaylock red screens or doesn't work with udev rules HOT 2
- Swaylock using 940% of CPU HOT 2
- [bug] hyprland swaylock HOT 3
- view lockpad on wakeup ? HOT 4
- Mouse cursor visible in swaylock HOT 7
- [feature-request] Would it be possible to add the current time in the middle of circle or the current username HOT 4
- Swaylock prevents gnome calls from playing ringtone HOT 4
- Screencopy failed on hyprland dpms on HOT 1
- Caps Lock indicator colors not used HOT 3
- Swaylock blocked and cannot interact with HOT 4
- All `finished` events are resulting in an `exit(2)`, when the protocol states otherwise HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swaylock.