Skip to content

build: Improve PAM prefix handling or remove it

Currently the PAM prefix can be set at configure time via --with-pam-prefix, otherwise it is set to $sysconfdir by default. Several problems arise:

If the ability to choose this prefix serves any purpose, it should be improved, otherwise it should just be removed.

Because if this prefix is not correctly set, /etc/pam.d/xfce4-screensaver is not correctly installed and locking fails, forcing to kill xfce4-screensaver from a tty to be able to access your session again (the build warning about this can be missed, and anyway it was always displayed before c1ef19a7).

Edited by Gaël Bonithon