<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2009/432 ConsoleKit -->
<!ENTITY cmd "ck-launch-session">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.">
]>
<refentry id="ck-launch-session-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">22 Oct 2009</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>
&cmd;
</primary></indexterm>
<indexterm><primary>
ConsoleKit session launcher
</primary></indexterm>
<refnamediv id="ck-launch-session-1-name">
<refname>&cmd;</refname>
<refpurpose>
ConsoleKit session launcher
</refpurpose></refnamediv>
<refsynopsisdiv id="ck-launch-session-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg choice="plain"><option role="nodash"><replaceable>command</replaceable></option></arg>
</cmdsynopsis></refsynopsisdiv>

<refsect1 id="ck-launch-session-1-desc"><title>&desc-tt;</title>
<para>
<command>&cmd;</command> is a utility for starting a command in its own
ConsoleKit session.  This would be useful if a user wanted to start their own
session via a <command>startx</command> script and have it registered with
ConsoleKit, for example.
</para>
</refsect1>

<refsect1 id="ck-launch-session-1-oper">
<title>&oper-tt;</title>
<para>
The following operands are supported:
</para>
<variablelist termlength="narrow">

<varlistentry>
<term><option role="nodash"><replaceable>command</replaceable></option></term>
<listitem><para>
Start the specified <replaceable>command</replaceable> in its own ConsoleKit
session.
</para>
</listitem></varlistentry>
</variablelist></refsect1>

<refsect1 id="ck-launch-session-1-exam"><title>&exam-tt;</title>
<example role="example">
<title>Launch the <command>startx</command> command in its own ConsoleKit
session</title>
<para>
<screen>
example% <userinput>&cmd; <command>startx</command></userinput>
</screen>
</para>
</example>
</refsect1>

<refsect1 id="ck-launch-session-1-file"><title>&file-tt;</title>
<para>
The following files are used by this application:
</para>
<variablelist termlength="wholeline">
<varlistentry>
<term><filename>/usr/bin/&cmd;</filename></term>
<listitem><para>
Executable for ConsoleKit session launcher.
</para></listitem></varlistentry>
</variablelist></refsect1>

<refsect1 id="ck-launch-session-1-attr"><title>&attr-tt;</title>
<para>
See
<olink targetdocent="REFMAN5" localinfo="attributes-5">
<citerefentry><refentrytitle>attributes</refentrytitle>
<manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:
</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1">
<colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row>
<entry align="center" valign="middle">ATTRIBUTE TYPE</entry>
<entry align="center" valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row>
<entry><para>Availability</para></entry>
<entry><para>library/xdg/consolekit</para></entry>
</row>
<row>
<entry colname="COLSPEC0"><para>Interface stability</para></entry>
<entry colname="COLSPEC1"><para>Volatile</para></entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 id="ck-launch-session-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>
<citerefentry><refentrytitle>ck-history</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ck-list-sessions</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ck-seat-tool</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
<citerefentry><refentrytitle>console-kit-daemon</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gdm</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
</refsect1>

<refsect1 id="ck-launch-session-1-note"><title>&note-tt;</title>
<para>
Written by Brian Cameron, Sun Microsystems Inc., 2009.
Copyright (c) 2009 by Sun Microsystems, Inc.
</para>
</refsect1>
</refentry>
