David Herrmann [2013-12-01 16:57 +0100]: > Screen can be fixed to call: > pam_start(&pamh) > pam_open_session(pamh) > > and during shutdown: > pam_close_session(pamh) > pam_end(pamh)
Please not; screen has no business interfering with the PAM stack, it does not start login sessions by itself. Also, IIRC this would require root privileges, which screen usually does not (and should not) have. > This way, screen will keep an "active" reference to the session and > systemd-logind will not mark it as "closing". But that screen process would still be running in the user's logind session cgroup, so logind can see that the session is still active that way? (Unless you configured it to kill all session processes on logout). Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel