MAN page from Fedora 15 ConsoleKit-libs-0.4.5-1.fc15.x86_64.rpm
Section: ConsoleKit Manual (8)
pam_ck_connector - Register session with ConsoleKit
- pam_ck_connector.so [debug]
DESCRIPTIONThe pam_ck_connector PAM module registers a login session withthe system-wideConsoleKitdaemon. This PAM module should be used withcaution; only local login managers such aslogin(1)should use this. Since theConsoleKitdaemon can accept both anttyand an X11 display the normal parameters set by PAM are not alwaysuseful.
An application can therefore override these with the PAM environmentvariablesCKCON_TTY,CKCON_X11_DISPLAYandCKCON_X11_DISPLAY_DEVICE(the application should remember to unset these before starting thelogin session).
Also note that theConsoleKitdaemon may reject registration attempts if the given set of data areinconsistent with each other. More more information, see theConsoleKitdocumentation on theOpenSessionWithParameters()method call on theorg.freedesktop.ConsoleKit.ManagerD-Bus interface.
If registration with theConsoleKitdaemon succeeds, this PAM module will set the environment variableXDG_SESSION_COOKIEwhich is used to defined membership of a login session.
This PAM module has the side effect that it creates a connection tothe system message bus that is kept open until the session ends. Thisis used by theConsoleKitdaemon to track the life-cycle of thesession and, as such, should the login manager crash, the session willbe properly unregistered.
- Print debug information.
- Do not create a session if PAM specifies an X11 display instead of a/dev/tty terminal.
pam_ck_connector was written by David Zeuthen <davidzAATTredhat.com>.
- SEE ALSO
This document was created byman2html,using the manual pages.