X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fpam_systemd.xml;h=97cb8bf2dca6d315cbbc5db0b62acec727a14ad7;hp=f312ef2b99ab4926d193a5f49feab57c4d45d1d2;hb=f685b7027953690bef06588f1961688e7e55d4a4;hpb=49ebd11fb0ea6af249990439bf0690641e8be559 diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index f312ef2b9..97cb8bf2d 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -145,8 +145,9 @@ variable takes precedence. One of unspecified, tty, - x11 or - wayland. See + x11, + wayland or + mir. See sd_session_get_type3 for details about the session type. @@ -222,6 +223,72 @@ operating system provides. + + + + The following environment variables are read by + the module and may be used by the PAM service to pass + metadata to the module: + + + + $XDG_SESSION_TYPE + + The session type. This + may be used instead of + on the + module parameter line, and is usually + preferred. + + + + $XDG_SESSION_CLASS + + The session class. This + may be used instead of + on the + module parameter line, and is usually + preferred. + + + + $XDG_SESSION_DESKTOP + + A single, short + identifier string for the desktop + environment. This may be used to + indicate the session desktop used, + where this applies and if this + information is available. For example: + GNOME, or + KDE. It is + recommended to use the same + identifiers and capitalization as for + $XDG_CURRENT_DESKTOP, + as defined by the Desktop + Entry + Specification. + + + + $XDG_SEAT + + The seat name the session + shall be registered for, if + any. + + + + $XDG_VTNR + + The VT number the + session shall be registered for, if + any. (Only applies to seats with a VT + available, such as + seat0) + +