Changeset 52250565 for x/dm/lxdm.xml


Ignore:
Timestamp:
10/06/2020 12:16:17 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6d44b69
Parents:
a6b95b9d
Message:

Various clean-up and modifications to the dm pages in view of the recent
change to the bootscripts.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23788 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/dm/lxdm.xml

    ra6b95b9d r52250565  
    221221
    222222   <sect3 id="lxdm-init">
    223       <title>Boot Script</title>
     223      <title><phrase revision="sysv">Boot Script</phrase>
     224             <phrase revision="systemd">Systemd Unit</phrase></title>
     225
     226      <indexterm zone="lxdm lxdm-init">
     227        <primary sortas="f-lxdm">lxdm</primary>
     228      </indexterm>
    224229
    225230      <para revision="sysv">
    226         Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from
    227         the <xref linkend="bootscripts"/> package.
    228       </para>
     231        To start <command>lxdm</command> automatically when the system is
     232        switched to runlevel 5, install the
     233        <filename>/etc/rc.d/init.d/xdm</filename> script and the
     234        <filename>/etc/sysconfig/xdm</filename> configuration file
     235        included in the <xref linkend="bootscripts"/> package
     236        and adjust <filename>/etc/inittab</filename> by running
     237        as the <systemitem class="username">root</systemitem> user:
     238      </para>
     239
     240<screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
    229241
    230242      <para revision="systemd">
     
    233245      </para>
    234246
    235       <indexterm zone="lxdm lxdm-init">
    236         <primary sortas="f-lxdm">lxdm</primary>
    237       </indexterm>
    238 
    239 <screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
    240247<screen role="root" revision="systemd"><userinput>systemctl enable lxdm</userinput></screen>
    241248
     
    276283
    277284      <para>
    278         You can manually start <command>lxdm</command>, e.g, if the bootscript
    279         has been installed, by running, as <systemitem
     285        The <command>lxdm</command> greeter can be started from the command
     286        line as the <systemitem class="username">root</systemitem> user:
     287      </para>
     288
     289<screen role="root"><userinput>telinit 5</userinput></screen>
     290
     291      <para>
     292        Alternatively the runlevel can be permanently set to 5, starting the
     293        <command>lxdm</command> greeter screen automatically, by modifying
     294        <filename>/etc/inittab</filename>. As the  <systemitem
    280295        class="username">root</systemitem> user:
    281       </para>
    282 
    283 <screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>
    284 
    285       <para>
    286         By convention, X should be executed at runlevel 5, consequently, the
    287         same is true for <application>lxdm</application>. However, the LFS default
    288         runlevel is 3. Changing to runlevel 5, from the console (as
    289         <systemitem class="username">root</systemitem> user) starts the
    290         <command>lxdm</command> bootscript and presents the
    291         greeter screen:
    292       </para>
    293 
    294 <screen role="root"><userinput>init 5</userinput></screen>
    295 
    296       <para>
    297           In order to permanently set the default to 5, starting the
    298           <command>lxdm</command> greeter screen automatically, you can modify
    299           <filename>/etc/inittab</filename>. As the  <systemitem
    300           class="username">root</systemitem> user:
    301296      </para>
    302297
     
    304299sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
    305300
    306       <para>
    307           You should also disable default elogind power management:
    308       </para>
    309  
    310 <screen role="root"><userinput>cat &gt;&gt; /etc/elogind/logind.conf &lt;&lt; "EOF"
    311 <literal>AllowSuspend=no
    312 AllowHibernation=no</literal>
    313 EOF</userinput></screen>
    314 
    315301      <note>
    316       <para>
     302        <para>
    317303          One important script, executed after login is
    318304          <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit
    319305          BLFS specifications.
    320       </para>
     306        </para>
    321307      </note>
    322308
     
    324310
    325311  </sect2>
    326   <!--Required section-->
     312 
    327313  <sect2 role="content">
    328314    <title>Contents</title>
     
    352338      <?dbhtml list-presentation="table"?>
    353339
    354       <!-- If the program or library name conflicts (is the same) as the
    355       package name, add -prog or -lib to the varlistentry entity id
    356       and the 2nd entry of the indexterm zone entity -->
    357 
    358340      <varlistentry id="lxdm-prog">
    359341        <term><command>lxdm</command></term>
Note: See TracChangeset for help on using the changeset viewer.