Changeset 1def00f for x/dm/sddm.xml


Ignore:
Timestamp:
08/01/2015 11:47:07 PM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
fc580439
Parents:
7b88d5a
Message:
  • Several fixes for the files in the Chapter "Display Managers"; patch sent by Bruce Dubbs. Thanks! Fix 3 for #6639.
  • Added instruction to install the sddm bootscript. Fix 2 for #6639.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/dm/sddm.xml

    r7b88d5a r1def00f  
    3636    <para>
    3737      The <application>SDDM</application> package contains a lightweight
    38       display manager written in <application>Qt</application> and QML.
     38      display manager based upon <application>Qt</application> and QML.
    3939    </para>
    4040
     
    107107
    108108    <para>
    109       It is recommended to have a dedicated user and group to take
     109      First, create a dedicated user and group to take
    110110      control of the <command>sddm</command> daemon after it is
    111111      started. Issue the following commands as the
     
    114114
    115115<screen role="root"><userinput>groupadd -g 64 sddm &amp;&amp;
    116 useradd -c "SDDM Daemon Owner" -d /var/lib/sddm -u 64 \
    117         -g sddm -s /bin/false sddm</userinput></screen>
     116useradd -c "SDDM Daemon" -d /var/lib/sddm -u 64 -g sddm -s /bin/false sddm</userinput></screen>
    118117
    119118    <para>
     
    150149    <para>
    151150      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
    152       apply higher level of the compiler optimizations.
     151      apply additional compiler optimizations.
    153152    </para>
    154153
     
    162161  <sect2 role="configuration">
    163162    <title>Configuring SDDM</title>
     163
     164    <sect3 id="sddm-bootscript">
     165      <title>Boot Script</title>
     166
     167      <para>
     168        Install the <filename>/etc/rc.d/init.d/sddm</filename> init script from
     169        the <xref linkend="bootscripts"/> package.
     170      </para>
     171
     172      <indexterm zone="sddm sddm-bootscript">
     173        <primary sortas="f-sddm">sddm</primary>
     174      </indexterm>
     175
     176<screen role="root"><userinput>make install-sddm</userinput></screen>
     177
     178    </sect3>
    164179
    165180    <sect3>
     
    191206# End /etc/pam.d/sddm</literal>
    192207EOF
     208
    193209cat &gt; /etc/pam.d/sddm-autologin &lt;&lt; "EOF" &amp;&amp;
    194210<literal># Begin /etc/pam.d/sddm-autologin
     
    209225# End /etc/pam.d/sddm-autologin</literal>
    210226EOF
     227
    211228cat &gt; /etc/pam.d/sddm-greeter &lt;&lt; "EOF"
    212229<literal># Begin /etc/pam.d/sddm-greeter
     
    229246
    230247      <para>
    231         You can manually start <command>sddm</command>, e.g, if the bootscript
    232         has been installed, by running, as <systemitem
     248        If the sddm bootscript has been installed, start it by running, as
     249        <systemitem class="username">root</systemitem> user:
     250      </para>
     251
     252<screen role="root"><userinput>/etc/rc.d/init.d/sddm start</userinput></screen>
     253
     254      <para>
     255        By convertion, X should be executed at runlevel 5, consequently, the
     256        same is true for <application>sddm</application>. However, LFS default
     257        runlevel is 3. Changing to runlevel 5, from a console terminal, as
     258        <systemitem class="username">root</systemitem> user, starts the
     259        <command>sddm</command> bootscript, bringing up the greeter screen:
     260      </para>
     261
     262<screen role="root"><userinput>init 5</userinput></screen>
     263
     264      <para>
     265        In order to permanently set the default to 5, starting the
     266        <command>sddm</command> greeter screen automatically, modify
     267        <filename>/etc/inittab</filename>.  As the <systemitem
    233268        class="username">root</systemitem> user:
    234       </para>
    235 
    236 <screen role="root"><userinput>/etc/rc.d/init.d/sddm start</userinput></screen>
    237 
    238       <para>
    239         By definition, X should be executed at runlevel 5, consequently, the
    240         same is true for <application>sddm</application>. However, BLFS default
    241         runlevel is 3. Changing to runlevel 5, from the terminal, as
    242         <systemitem class="username">root</systemitem> user, makes the
    243         <command>sddm</command> bootscript to be executed, obtaining the
    244         greeter screen:
    245       </para>
    246 
    247 <screen role="root"><userinput>init 5</userinput></screen>
    248 
    249       <para>
    250         In order to permanently set the default to 5, obtaining the
    251         <command>sddm</command> greeter screen automatically, you can modify
    252         <filename>/etc/inittab</filename>, as <systemitem
    253         class="username">root</systemitem> user (the instructions below also
    254         make a backup, so you can easily revert the modification):
    255269      </para>
    256270
     
    279293        <seg>
    280294          $QT5DIR/qml/SddmComponents,
    281           /usr/share/sddm and
     295          /usr/share/sddm, and
    282296          /var/lib/sddm
    283297        </seg>
     
    295309          <para>
    296310            is a display and login manager based on
    297             <application>Qt</application> technologies.
     311            <application>Qt</application> libraries.
    298312          </para>
    299313          <indexterm zone="sddm sddm-prog">
     
    308322          <para>
    309323            is an auxiliary process that displays the greeter,
    310             a graphical user interface to perform the
    311             authentication and select the session to run.
     324            a graphical user interface that performs user
     325            authentication and initiates the selected window manager
     326            or display environment.
    312327          </para>
    313328          <indexterm zone="sddm sddm-greeter">
Note: See TracChangeset for help on using the changeset viewer.