1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Tizen Login Manager Reference Manual: Introduction</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="Tizen Login Manager Reference Manual">
8 <link rel="up" href="ch01.html" title="Introduction">
9 <link rel="prev" href="ch01.html" title="Introduction">
10 <link rel="next" href="TlmConfig.html" title="TlmConfig">
11 <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts"></td>
17 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19 <td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20 <td><a accesskey="n" href="TlmConfig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
22 <div class="refentry">
23 <a name="tlm-intro"></a><div class="titlepage"></div>
24 <div class="refsect1">
25 <a name="id-1.2.2.2"></a><h2>What is TLM?</h2>
27 TLM is a daemon that handles user logins in a multi-user, multi-seat system by
28 authenticating the users through PAM, and setting up, launching, and tracking user
32 TLM daemon itself does not include any UI for interacting with
33 the users; any such interaction is handled through TLM's authentication plugin system (see
34 <a class="link" href="TlmAuthPlugin.html" title="TlmAuthPlugin">TlmAuthPlugin</a>).
35 TLM can be configured to log-in a default ("guest") user when no other
36 user is logged in at a specific seat.
39 TLM also exports a <a class="link" href="gdbus-org.tizen.Tlm.Login.html" title="org.tizen.Tlm.Login">D-Bus API</a>, that can be used to log in, log out and
40 switch users on a seat.
43 Under examples, tlm-ui demonstrates the usage of tlm daemon's dbus
44 interface for login, logout and switch user functionality. Login
45 object with root access is exported at TLM_DBUS_ROOT_SOCKET_ADDRESS
46 which can be used to login, logout and switch any user.
47 TLM_DBUS_ROOT_SOCKET_ADDRESS can be fetched as a variable from package
48 configuration file tlm.pc.
49 Besides whenever a user is logged in, a dbus login object is also
50 exported which can be used for 'logout-user' and 'switch-user'
51 functionalities by that user. The dbus object can be accessed at
52 TLM_DBUS_SOCKET_PATH/<seat_id-uid> by the user (uid) who is logged
53 in at the seat (seat_id).
56 <div class="refsect1">
57 <a name="id-1.2.2.3"></a><h2>Plugin development</h2>
59 Plugins should be named "libtlm-plugin-<plugin_name>.so" and
61 "tlm_<plugin_type>_plugin_<plugin_name>_get_type"
62 symbol that is a function that returns a #GType of the plugin object.
63 plugin_type is "auth" for authentication plugins and "account" for
67 If Tlm has been configured with --enable-debug, plugin directory can
68 be overriden with TLM_PLUGINS_DIR environment variable.
74 Generated by GTK-Doc V1.20</div>