Changeset cf75ecb


Ignore:
Timestamp:
08/30/2014 05:22:11 AM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
systemd-11177
Children:
84c9142
Parents:
74f476a
Message:

More additions and improvements to lxdm page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14126 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxde/apps/lxdm.xml

    r74f476a rcf75ecb  
    2525  </sect1info>
    2626
    27   <title>lxdm-&lxdm-version;</title>
     27  <title>LXDM-&lxdm-version;</title>
    2828
    2929  <indexterm zone="lxdm">
     
    161161  <sect2 role="configuration">
    162162    <title>Configuring LXDM</title>
     163
     164   <sect3 id="lxdm-config">
     165      <title>Config Files</title>
     166
     167      <para>
     168        <filename>/etc/lxdm/lxdm.conf</filename>
     169      </para>
     170
     171      <indexterm zone="lxdm lxdm-config">
     172        <primary sortas="e-etc-lxdm-lxdm.conf">/etc/lxdm/lxdm.conf</primary>
     173      </indexterm>
     174
     175    </sect3>
     176
     177    <sect3>
     178      <title>Configuration Information</title>
     179
     180      <para>
     181        The LXDM daemon is configured using the
     182        <filename>/etc/lxdm/lxdm.conf</filename> file.
     183        Within this file you can set a default session by uncommenting
     184        the line: session=/usr/bin/startlxde and replacing startlxde
     185        with your session of choice. For <application>GNOME</application>
     186        session=/usr/bin/gnome-session.  For <application>OPENBOX</application>
     187        session=/usr/bin/openbox-session and for <application>XFCE</application>
     188        session=/usr/bin/startxfce4.
     189      </para>
     190
     191      <para>
     192        It is also possible to set the preferred session on a per-user basis by
     193        editing the ~/.dmrc file for each user and adding:
     194        <screen><literal>[Desktop]
     195        Session=xfce</literal></screen>
     196      </para>
     197
     198      <para>
     199        To prevent the possibility of lxdm not cleanly logging out a users session
     200        add the following to the <filename>/etc/lxdm/PostLogout</filename> as the
     201        <systemitem class="username">root</systemitem> user:
     202      </para>
     203
     204<screen role="root"><userinput>cat &gt; /etc/lxdm/PostLogout &lt;&lt; "EOF"
     205# Terminate current user session
     206/usr/bin/loginctl terminate-session $XDG_SESSION_ID
     207
     208# Restart lxdm
     209/usr/bin/systemctl restart lxdm.service
     210EOF</userinput></screen>
     211
     212    </sect3>
    163213
    164214   <sect3 id="lxdm-init">
Note: See TracChangeset for help on using the changeset viewer.