Thomas Emmel - 2014-02-10

OK, during my waiting time to start a discussion I found the following:
get_active_user IS defined in user_session.cpp, but it looks as if consolekit don't give the right answer on:

$ dbus-send --system --dest=org.freedesktop.ConsoleKit --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/ConsoleKit/Seat1 org.freedesktop.ConsoleKit.Seat.GetActiveSession
Error org.freedesktop.DBus.GLib.UnmappedError.CkSeatError.Code0: Seat has no active session

and

$ ck-list-sessions
Session1:
unix-user = '30026'
realname = 'thomas'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2014-02-10T09:40:52.993215Z'
login-session-id = '1'

The FALSE is the point here.
I may be false but is it possible the Opensuse don't use ConsoleKit anymore?