Package Details: kscreenlocker-git 6.0.80_r1288.g2c17bd6-2

Git Clone URL: https://aur.archlinux.org/kscreenlocker-git.git (read-only, click to copy)
Package Base: kscreenlocker-git
Description: Library and components for secure lock screen architecture
Upstream URL: https://kde.org/plasma-desktop/
Licenses: LGPL-2.0-or-later
Groups: plasma-git
Conflicts: kscreenlocker
Provides: kscreenlocker
Submitter: arojas
Maintainer: SolarAquarion (IslandC0der, chaotic-aur)
Last Packager: IslandC0der
Votes: 3
Popularity: 0.000000
First Submitted: 2015-11-05 09:04 (UTC)
Last Updated: 2024-03-01 20:35 (UTC)

Latest Comments

lito commented on 2026-02-09 18:38 (UTC) (edited on 2026-02-09 18:39 (UTC) by lito)

@SolarAquarion Please help, this package really needs to be fixed. Read my previous comment.

lito commented on 2026-01-30 02:03 (UTC) (edited on 2026-01-30 02:13 (UTC) by lito)

Is this perhaps missing the PAM service file kde?

Yes, indeed it is!

Context for the maintainer @SolarAquarion: this bug that completely breaks the lockscreen has been bothering me FOR YEARS and we found that the proper fix is to edit this package so this never ever happens again. You can read the whole conversation on plasma-login-manager-git comments.

The fix:

1. Please create this file, named kde.pam on the root of your repo, with these exact contents:

#%PAM-1.0

auth       include                     system-local-login

account    include                     system-local-login

password   include                     system-local-login

session    include                     system-local-login

This essentially tells KDE to use whatever login service it used to... well, login - to unlock the screen.

2. Add kde.pam to your sources like this:

source=("git+https://github.com/KDE/${pkgname%-git}.git"
        kde.pam)
sha256sums=('SKIP' 'SKIP')

3. Add this line right at the end of package(), after the DESTDIR=... stuff:

install -Dm644 "$srcdir"/kde.pam "$pkgdir"/usr/lib/pam.d/kde

And now you'd have fixed an issue that completely breaks the lockscreen because of that file being missing. Could you please edit your PKGBUILD and your repo so this file isn't missing anymore? So it's fixed for once and forever.

Side note: for the sake of completeness, I reproduced the instructions I gave here and now I confirmed that the resulting package has the file:

yay/kscreenlocker-git [master●] » tar tf kscreenlocker-git-6.6.80_r1615.ga08e68b6-1-x86_64.pkg.tar.zst | grep pam.d/kde
usr/lib/pam.d/kde

and that the screen lock now works. Thank you so much @peregrinus for your help!

peregrinus commented on 2026-01-29 19:24 (UTC)

Is this perhaps missing the PAM service file kde?

Like the one Archlinux provides.

davispuh commented on 2023-06-13 01:04 (UTC)

It's missing plasma-framework-git dependency

MonkeeSage commented on 2022-12-22 07:29 (UTC)

As of https://invent.kde.org/plasma/kscreenlocker/-/commit/a1744cf6 this package now requires libkscreen-git:

depends=(kidletime-git kwayland-git kdeclarative-git perl layer-shell-qt-git libkscreen-git)

Otherwise the build fails at cmake:

CMake Error at greeter/CMakeLists.txt:51 (target_link_libraries):
  Target "kscreenlocker_greet" links to:

    KF5::ScreenDpms

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

szbergeron commented on 2020-07-20 20:07 (UTC)

Fails during download:

Cloning into bare repository '/home/sawyer/.cache/yay/kscreenlocker-git/kscreenlocker'...
fatal: remote error: Please use the https: protocol to connect to anongit
==> ERROR: Failure while downloading kscreenlocker git repo
    Aborting...
error downloading sources: kscreenlocker-git

Should include https clone method for anongit:

source=('git+https://anongit.kde.org/kscreenlocker.git')

PedroHLC commented on 2020-04-27 22:55 (UTC)

Missing kcmutils as a dependency (not building without, tested on a clean chroot)

AlD commented on 2020-02-22 14:06 (UTC)

I removed the stale dependency, added provides/conflicts on kscreenlocker and orphaned this again.

raneon commented on 2017-12-18 14:00 (UTC)

The dependency "kdelibs4support-git" is obsolete and can be removed.

GottamRev1 commented on 2016-12-15 15:56 (UTC)

Should conflict with kdcreenlocker.