Red Hat Bugzilla – Bug 867749
ck-list-sessions does not list sessions
Last modified: 2013-06-19 10:43:45 EDT
Description of problem:
Happens on both F17/F18.
ck-list-sessions will only list sessions if you're using ConsoleKit to track sessions. But we're using logind for that purpose now.
> ck-list-sessions will only list sessions if you're using ConsoleKit to track
> sessions. But we're using logind for that purpose now.
Yes, so perhaps a tool which doesn't work should be removed or at least changed to return an error code.
FWIW, the Fedora Feature page states that it should work when ConsoleKit is installed:
Also verify that ConsoleKit continues to work as expected when it is installed. This can be done e.g. with the help of ck-list-sessions
2 prerequisites for ck-list-sessions to work.
* ConsoleKit-x11 rpm installed
* login manager configured to use ^^
for the latter, login manager either needs to support CK natively (none do these days, afaik, it's largely deprecated), or via pam_ck_connector.so , /etc/pam.d/lightdm contains:
-session optional pam_ck_connector.so
If you want this to work, install ConsoleKit-x11 and configure your login manager as suggested.