After upgrading from 1.26.0 to 1.26.1, mate-screensaver no longer opens login panel, thus need killing mate-screensaver process from any of vty to go back to X screen.
I suspect prerequisite(s) for commit  upstream does not met or some additional (manual, possibly per-user) configurations are needed.
I should have tested the screen lock before committing. Looks like the new implementation of pam is the problem.
I made a GitHub issue https://github.com/mate-desktop/mate-screensaver/issues/272 with the information I have so far.
I will be able to patch the port to fix the issue temporarily.
But a proper fix will need to be done upstream.
A commit in branch main references this bug:
Author: Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2022-01-01 00:11:27 +0000
Commit: Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2022-01-01 01:34:53 +0000
x11/mate-screensaver: Fix helper option
This patch revert changes that broke --enable-authentication-scheme and --with-passwd-helper
Reported by: Tomoaki AOKI
x11/mate-screensaver/Makefile | 1 +
.../files/patch-src_gs-auth-helper.c (new) | 211 +++++++++++++++++++++
2 files changed, 212 insertions(+)
This patch should do it for now.
(In reply to Eric Turgeon from comment #4)
Confirmed working again on git src main 398c88c7582a and git src stable/13 375fdb6e161e, both on amd64.
Hope upstream add an option to toggle this behaviour at least until we can (hopefully) find any way to support new method.
Possibly, security/pam-helper needs updating?
This should be fixed in 1.26.1_1. Try updating to that.
(In reply to Tomoaki AOKI from comment #5)
I do not think it is security/pam-helper the problem.