Public bug reported: I was using ck-list-sessions in a script to determine if anyone was presently logged in. After upgrading to Ubuntu 13.10 the script stopped functioning. I tracked the failure down to ck-list-sessions not outputting anything.
When I run it from a terminal, this is what I get: $ ck-list-sessions $ There really needs to be a reliable way to determine if a user is logged in. It seems this breaks with every version of Ubuntu, and I need to figure out a new way to do it every time. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: consolekit 0.4.5-3.1ubuntu2 ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3 Uname: Linux 3.11.0-12-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.12.5-0ubuntu2 Architecture: amd64 Date: Sun Oct 20 00:49:00 2013 InstallationDate: Installed on 2011-05-22 (881 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) MarkForUpload: True SourcePackage: consolekit UpgradeStatus: Upgraded to saucy on 2013-10-19 (0 days ago) ** Affects: consolekit (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug saucy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1242273 Title: ck-list-sessions no longer prints anything To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1242273/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs