Changeset 52250565 for x/dm/lightdm.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/lightdm.xml

    ra6b95b9d r52250565  
    310310             <phrase revision="systemd">Systemd Unit</phrase></title>
    311311
    312       <para revision="sysv">
    313         Install the <filename revision="sysv">/etc/rc.d/init.d/lightdm</filename>
    314         init script from the <xref linkend="bootscripts"/>
    315       </para>
    316 
    317 <screen role="root" revision="sysv"><userinput>make install-lightdm</userinput></screen>
    318312      <indexterm zone="lightdm lightdm-bootscript">
    319313        <primary sortas="f-lightdm">lightdm</primary>
    320314      </indexterm>
    321315
     316      <para revision="sysv">
     317        To start <command>lightdm</command> automatically when the system is
     318        switched to runlevel 5, install the
     319        <filename>/etc/rc.d/init.d/xdm</filename> script and the
     320        <filename>/etc/sysconfig/xdm</filename> configuration file
     321        included in the <xref linkend="bootscripts"/> package
     322        and adjust <filename>/etc/inittab</filename> by running
     323        as the <systemitem class="username">root</systemitem> user:
     324      </para>
     325
     326<screen role="root" revision="sysv"><userinput>make install-lightdm</userinput></screen>
     327
    322328      <para revision="systemd">
    323329        Install and enable the systemd unit.  From the
     
    334340
    335341      <para>
    336         If the lightdm bootscript has been installed, start lightdm by running, as the
    337         <systemitem class="username">root</systemitem> user:
    338       </para>
    339 
    340 <screen role="root"><userinput>/etc/rc.d/init.d/lightdm start</userinput></screen>
     342        The <command>lightdm</command> greeter can be started from the
     343        command line as the <systemitem class="username">root</systemitem>
     344        user:
     345      </para>
     346
     347<screen role="root"><userinput>telinit 5</userinput></screen>
    341348
    342349      <para>
    343         By convention, X should be executed at runlevel 5, consequently, the
    344         same is true for <application>lightdm</application>. However, LFS default
    345         runlevel is 3. Changing to runlevel 5, from a console terminal, as
    346         <systemitem class="username">root</systemitem> user, starts the
    347         <command>lightdm</command> bootscript, bringing up the greeter screen:
    348       </para>
    349 
    350 <screen role="root"><userinput>init 5</userinput></screen>
    351 
    352       <para>
    353         In order to permanently set the default to 5, starting the
    354         <command>lightdm</command> greeter screen automatically, modify
     350        Alternatively the runlevel can be permanently set to 5, starting the
     351        <command>lightdm</command> greeter screen automatically, by modifying
    355352        <filename>/etc/inittab</filename>.  As the <systemitem
    356353        class="username">root</systemitem> user:
Note: See TracChangeset for help on using the changeset viewer.