From 49ebd11fb0ea6af249990439bf0690641e8be559 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 Feb 2014 18:55:18 +0100 Subject: logind: make session type and class settable via the same ways If the session type/class is set via environment variables, use that, and otherwise fallback to something that is set via the PAM module command line. --- man/pam_systemd.xml | 23 ++++++++++++++++++++++- man/sd_session_is_active.xml | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index d3edc32d2..f312ef2b9 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -127,7 +127,28 @@ Takes a string argument which sets the session class. The XDG_SESSION_CLASS environmental variable - takes precedence. + takes precedence. One of + user, + greeter, + lock-screen or + background. See + sd_session_get_class3 + for details about the session class. + + + + + + Takes a string + argument which sets the session type. + The XDG_SESSION_TYPE environmental + variable takes precedence. One of + unspecified, + tty, + x11 or + wayland. See + sd_session_get_type3 + for details about the session type. diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index bff6b04ea..4d5e6d113 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -201,7 +201,7 @@ be used to determine the type of the session identified by the specified session identifier. The returned string is one of x11, - tty or + wayland, tty or unspecified and needs to be freed with the libc free3 -- cgit v1.2.3