[Bug 1242273] Re: ck-list-sessions no longer prints anything

Thaddäus Tintenfisch thad.fisch at gmail.com
Sun Oct 20 10:23:11 UTC 2013


consolekit has been replaced by logind in Ubuntu 13.10. Use this command
instead:

loginctl list-sessions

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/1242273

Title:
  ck-list-sessions no longer prints anything

Status in “consolekit” package in Ubuntu:
  New

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1242273/+subscriptions



More information about the foundations-bugs mailing list