[6d32e7af] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2bee76e] | 7 | <!ENTITY consolekit-download-http "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-&consolekit-version;.tar.bz2">
|
---|
[6d32e7af] | 8 | <!ENTITY consolekit-download-ftp " ">
|
---|
[ffa27eef] | 9 | <!ENTITY consolekit-md5sum "f2657f93761206922d558471a936fbc3">
|
---|
| 10 | <!ENTITY consolekit-size "416 KB">
|
---|
| 11 | <!ENTITY consolekit-buildsize "8.1 MB">
|
---|
[4c2be438] | 12 | <!ENTITY consolekit-time "0.3 SBU">
|
---|
[6d32e7af] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="consolekit" xreflabel="ConsoleKit-&consolekit-version;">
|
---|
| 16 | <?dbhtml filename="consolekit.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>ConsoleKit-&consolekit-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="consolekit">
|
---|
| 26 | <primary sortas="a-ConsoleKit">ConsoleKit</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ConsoleKit</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>ConsoleKit</application> package is a framework for
|
---|
| 33 | keeping track of the various users, sessions, and seats present on a system.
|
---|
| 34 | It provides a mechanism for software to react to changes of any of these
|
---|
| 35 | items or of any of the metadata associated with them.</para>
|
---|
| 36 |
|
---|
[ffa27eef] | 37 | &lfs70_checked;
|
---|
[27e62762] | 38 |
|
---|
[6d32e7af] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&consolekit-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&consolekit-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &consolekit-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &consolekit-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &consolekit-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &consolekit-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">ConsoleKit Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4c2be438] | 64 | <para role="required">
|
---|
| 65 | <xref linkend="dbus-glib"/> and
|
---|
| 66 | <xref linkend="xorg7-lib"/>
|
---|
| 67 | </para>
|
---|
[6d32e7af] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[4c2be438] | 70 | <para role="recommended">
|
---|
| 71 | <xref linkend="linux-pam"/> and
|
---|
| 72 | <xref linkend="polkit"/>
|
---|
| 73 | </para>
|
---|
[6d32e7af] | 74 |
|
---|
| 75 | <warning>
|
---|
| 76 | <para>If you intend <emphasis role="strong">NOT</emphasis> to install
|
---|
[d14c6362] | 77 | <application>polkit</application>, you will need to manually edit the
|
---|
[6d32e7af] | 78 | ConsoleKit.conf file to lock down the service. Failure to do so may be a
|
---|
| 79 | huge SECURITY HOLE.</para>
|
---|
| 80 | </warning>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4c2be438] | 83 | <para role="optional">
|
---|
| 84 | <xref linkend="xmlto"/>
|
---|
| 85 | </para>
|
---|
[6d32e7af] | 86 |
|
---|
| 87 | <para condition="html" role="usernotes">User Notes:
|
---|
| 88 | <ulink url="&blfs-wiki;/consolekit"/></para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of ConsoleKit</title>
|
---|
| 94 |
|
---|
| 95 | <para>Install <application>ConsoleKit</application> by running the following
|
---|
| 96 | commands:</para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
[4c2be438] | 99 | --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit \
|
---|
| 100 | --enable-pam-module &&
|
---|
[6d32e7af] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>This package does not come with a test suite.</para>
|
---|
| 104 |
|
---|
| 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
| 114 | <para><parameter>--enable-pam-module</parameter>: This switch enables
|
---|
| 115 | <application>ConsoleKit</application> to use
|
---|
| 116 | <application>Linux-PAM</application> authentication. Remove this option if
|
---|
| 117 | <application>Linux-PAM</application> is
|
---|
| 118 | <emphasis role="strong">NOT</emphasis> installed.</para>
|
---|
| 119 |
|
---|
| 120 | <para><option>--enable-docbook-docs</option>: Use this parameter if
|
---|
| 121 | <application>xmlto</application> is installed and you wish to build the API
|
---|
| 122 | documentation.</para>
|
---|
[a41f643] | 123 |
|
---|
[6d32e7af] | 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="configuration">
|
---|
| 127 | <title>Configuring ConsoleKit</title>
|
---|
| 128 |
|
---|
| 129 | <sect3 id="ConsoleKit-config">
|
---|
| 130 | <title>Config Files</title>
|
---|
| 131 | <para><filename>/etc/dbus-1/system.d/ConsoleKit.conf</filename></para>
|
---|
| 132 |
|
---|
| 133 | <indexterm zone="consolekit ConsoleKit-config">
|
---|
| 134 | <primary sortas="e-etc-ConsoleKit-ConsoleKit.conf">/etc/dbus-1/system.d/ConsoleKit.conf</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </sect3>
|
---|
| 137 |
|
---|
| 138 | <sect3><title>Configuration Information</title>
|
---|
[8d86c672] | 139 |
|
---|
| 140 | <para>If you use <application>PAM</application> you need to configure
|
---|
| 141 | <application>PAM</application> to activate <application>ConsoleKit
|
---|
| 142 | </application> upon user login. This can be achieved by editing the
|
---|
[d7bfbad] | 143 | <filename>/etc/pam.d/system-session</filename> file as the
|
---|
[8d86c672] | 144 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 145 |
|
---|
[e40b79b6] | 146 | <screen role="root"><userinput>cat >> /etc/pam.d/system-session << "EOF"
|
---|
[d7bfbad] | 147 | # Begin ConsoleKit addition
|
---|
[8d86c672] | 148 |
|
---|
| 149 | session optional pam_loginuid.so
|
---|
[d7bfbad] | 150 | session optional pam_ck_connector.so nox11
|
---|
[8d86c672] | 151 |
|
---|
[d7bfbad] | 152 | # End ConsoleKit addition
|
---|
[8d86c672] | 153 | EOF</userinput></screen>
|
---|
| 154 |
|
---|
| 155 | <para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html for more
|
---|
| 156 | configuration.</para>
|
---|
[6d32e7af] | 157 |
|
---|
| 158 | </sect3>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
| 166 | <segtitle>Installed Programs</segtitle>
|
---|
| 167 | <segtitle>Installed Libraries</segtitle>
|
---|
| 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
| 171 | <seg>ck-history, ck-launch-session, ck-list-sessions,
|
---|
| 172 | ck-log-system-restart, ck-log-system-start, ck-log-system-stop,
|
---|
| 173 | console-kit-daemon, ck-collect-session-info, ck-get-x11-display-device,
|
---|
| 174 | ck-get-x11-server-pid, ck-system-restart, and ck-system-stop</seg>
|
---|
| 175 | <seg>libck-connector.so and pam_ck_connector.so</seg>
|
---|
[d14c6362] | 176 | <seg>/etc/ConsoleKit/{run-seat.d,run-session.d,seats.d},
|
---|
| 177 | /usr/{include/ConsoleKit/ck-connector,lib/ConsoleKit/{run-seat.d,
|
---|
| 178 | run-session.d,scripts},share/doc/ConsoleKit/spec}</seg>
|
---|
[6d32e7af] | 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
| 181 |
|
---|
| 182 | <!--
|
---|
| 183 | <variablelist>
|
---|
| 184 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 185 | <?dbfo list-presentation="list"?>
|
---|
| 186 | <?dbhtml list-presentation="table"?>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="ck-history">
|
---|
| 189 | <term><command>ck-history</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>does this .....</para>
|
---|
| 192 | <indexterm zone="consolekit ck-history">
|
---|
| 193 | <primary sortas="b-ck-history">ck-history</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="ck-launch-session">
|
---|
| 199 | <term><command>ck-launch-session</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>does this .....</para>
|
---|
| 202 | <indexterm zone="consolekit ck-launch-session">
|
---|
| 203 | <primary sortas="b-ck-launch-session">ck-launch-session</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="ck-list-sessions">
|
---|
| 209 | <term><command>ck-list-sessions</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>does this .....</para>
|
---|
| 212 | <indexterm zone="consolekit ck-list-sessions">
|
---|
| 213 | <primary sortas="b-ck-list-sessions">ck-list-sessions</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="ck-log-system-restart">
|
---|
| 219 | <term><command>ck-log-system-restart</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>does this .....</para>
|
---|
| 222 | <indexterm zone="consolekit ck-log-system-restart">
|
---|
| 223 | <primary sortas="b-ck-log-system-restart">ck-log-system-restart</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="ck-log-system-start">
|
---|
| 229 | <term><command>ck-log-system-start</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>does this .....</para>
|
---|
| 232 | <indexterm zone="consolekit ck-log-system-start">
|
---|
| 233 | <primary sortas="b-ck-log-system-start">ck-log-system-start</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="ck-log-system-stop">
|
---|
| 239 | <term><command>ck-log-system-stop</command></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>does this .....</para>
|
---|
| 242 | <indexterm zone="consolekit ck-log-system-stop">
|
---|
| 243 | <primary sortas="b-ck-log-system-stop">ck-log-system-stop</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="console-kit-daemon">
|
---|
| 249 | <term><command>console-kit-daemon</command></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>is the <application>ConsoleKit</application> daemon.</para>
|
---|
| 252 | <indexterm zone="consolekit console-kit-daemon">
|
---|
| 253 | <primary sortas="b-console-kit-daemon">console-kit-daemon</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
| 258 | <varlistentry id="ck-collect-session-info">
|
---|
| 259 | <term><command>ck-collect-session-info</command></term>
|
---|
| 260 | <listitem>
|
---|
| 261 | <para>does this .....</para>
|
---|
| 262 | <indexterm zone="consolekit ck-collect-session-info">
|
---|
| 263 | <primary sortas="b-ck-collect-session-info">ck-collect-session-info</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | <varlistentry id="ck-get-x11-display-device">
|
---|
| 269 | <term><command>ck-get-x11-display-device</command></term>
|
---|
| 270 | <listitem>
|
---|
| 271 | <para>does this .....</para>
|
---|
| 272 | <indexterm zone="consolekit ck-get-x11-display-device">
|
---|
| 273 | <primary sortas="b-ck-get-x11-display-device">ck-get-x11-display-device</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | <varlistentry id="ck-get-x11-server-pid">
|
---|
| 279 | <term><command>ck-get-x11-server-pid</command></term>
|
---|
| 280 | <listitem>
|
---|
| 281 | <para>does this .....</para>
|
---|
| 282 | <indexterm zone="consolekit ck-get-x11-server-pid">
|
---|
| 283 | <primary sortas="b-ck-get-x11-server-pid">ck-get-x11-server-pid</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | <varlistentry id="ck-system-restart">
|
---|
| 289 | <term><command>ck-system-restart</command></term>
|
---|
| 290 | <listitem>
|
---|
| 291 | <para>does this .....</para>
|
---|
| 292 | <indexterm zone="consolekit ck-system-restart">
|
---|
| 293 | <primary sortas="b-ck-system-restart">ck-system-restart</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 | </listitem>
|
---|
| 296 | </varlistentry>
|
---|
| 297 |
|
---|
| 298 | <varlistentry id="ck-system-stop">
|
---|
| 299 | <term><command>ck-system-stop</command></term>
|
---|
| 300 | <listitem>
|
---|
| 301 | <para>does this .....</para>
|
---|
| 302 | <indexterm zone="consolekit ck-system-stop">
|
---|
| 303 | <primary sortas="b-ck-system-stop">ck-system-stop</primary>
|
---|
| 304 | </indexterm>
|
---|
| 305 | </listitem>
|
---|
| 306 | </varlistentry>
|
---|
| 307 |
|
---|
| 308 | <varlistentry id="libck-connector">
|
---|
| 309 | <term><filename class='libraryfile'>libck-connector.so</filename></term>
|
---|
| 310 | <listitem>
|
---|
| 311 | <para>contains functions that .....</para>
|
---|
| 312 | <indexterm zone="consolekit libck-connector">
|
---|
| 313 | <primary sortas="c-libck-connector">libck-connector.so</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | <varlistentry id="pam_ck_connector">
|
---|
| 319 | <term><filename class='libraryfile'>pam_ck_connector.so</filename></term>
|
---|
| 320 | <listitem>
|
---|
| 321 | <para>contains functions that .....</para>
|
---|
| 322 | <indexterm zone="consolekit pam_ck_connector">
|
---|
| 323 | <primary sortas="c-pam_ck_connector">pam_ck_connector.so</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | </variablelist>
|
---|
| 329 | -->
|
---|
| 330 |
|
---|
| 331 | </sect2>
|
---|
| 332 |
|
---|
| 333 | </sect1>
|
---|