Table of Contents
Table of Contents
Table of Contents
ConsoleKit is a framework for keeping track of the various users, sessions, and seats present on a system. It provides a mechanism for software to react to changes of any of these items or of any of the metadata associated with them.
Table of Contents
ConsoleKit provides a D-Bus API for programs to obtain information about the users, sessions, and seats that are present on a system.
Please see the other sections of this manual for an introduction to these concepts.
This API is not yet stable and is likely to change in the future.
Table of Contents
org.freedesktop.ConsoleKit.Manager — Manager interface
OpenSession (out 's' cookie) OpenSessionWithParameters (in 'a(sv)' parameters, out 's' cookie) CloseSession (in 's' cookie, out 'b' result) GetSeats (out 'ao' seats) GetCurrentSession (out 'o' ssid) GetSessionForCookie (in 's' cookie, out 'o' ssid) GetSessionForUnixProcess (in 'u' pid, out 'o' ssid) GetSessionsForUser (in 'u' uid, out 'ao' sessions) GetSystemIdleHint (out 'b' idle_hint) GetSystemIdleSinceHint (out 's' iso8601_datetime)
org.freedesktop.ConsoleKit.Manager implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
org.freedesktop.ConsoleKit.Seat — Seat interface
GetId (out 'o' sid) GetSessions (out 'ao' sessions) GetActiveSession (out 'o' ssid) ActivateSession (in 'o' ssid)
org.freedesktop.ConsoleKit.Seat implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
org.freedesktop.ConsoleKit.Session — Session interface
GetId (out 'o' ssid) GetSeatId (out 'o' sid) GetSessionType (out 's' type) GetUser (out 'i' uid) GetX11Display (out 's' display) GetX11DisplayDevice (out 's' x11_display_device) GetDisplayDevice (out 's' display_device) GetRemoteHostName (out 's' remote_host_name) IsActive (out 'b' active) IsLocal (out 'b' local) GetCreationTime (out 's' iso8601_datetime) Activate () Lock () Unlock () GetIdleHint (out 'b' idle_hint) GetIdleSinceHint (out 's' iso8601_datetime) SetIdleHint (in 'b' idle_hint)
org.freedesktop.ConsoleKit.Session implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'user' read 'i' 'session-type' read 's' 'remote-host-name' read 's' 'display-device' read 's' 'x11-display' read 's' 'x11-display-device' read 's' 'active' read 'b' 'is-local' read 'b' 'idle-hint' read 'b'