Changeset 1def00f for x/dm


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

Location:
x/dm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • x/dm/dm.xml

    r7b88d5a r1def00f  
    2323    <para>
    2424      Display Managers are graphical programs used for starting the graphical
    25       display (currently, the X server) and loging in a Windows Manager or
    26       Desktop Environment.
     25      display (currently, the X server) and providing a login capability for
     26      a Window Manager or Desktop Environment.
    2727    </para>
    2828
    2929    <para>
    3030      There are many Display Managers available. Some of the more well
    31       known include
     31      known include:
    3232      <application>GDM</application>,
    33       <application>KDM</application>,
     33      <application>KDM</application> (deprecated),
    3434      <application>LightDM</application>,
    3535      <application>LXDM</application>,
     
    3939
    4040    <para>
    41       Between the Desktop Environments available for Linux you find
     41      Among the Desktop Environments available for Linux you find:
    4242      <application>Enlightenment</application>,
    4343      <application>GNOME</application>,
     
    4949
    5050    <para>
    51       Choosing a Display Manager or Display Environment is highly subjective.
     51      Choosing a Display Manager or Desktop Environment is highly subjective.
    5252      The choice depends on the look and feel of the packages, the resources
    53       (RAM, disk space) required, and the utilities included.
     53      (memory and disk space) required, and the utilities included.
    5454    </para>
    5555
     
    5757      In this chapter, the installation instructions of some Display Managers
    5858      are presented. Later in the book, you will find other ones, which are
    59       provided as part of some Desktop Envireonments.
     59      provided as part of some Desktop Environments.
    6060    </para>
    6161
  • x/dm/lxdm.xml

    r7b88d5a r1def00f  
    3939      alternative to other Display Managers such as
    4040      <application>GNOME's</application> <application>GDM</application> or
    41       <application>KDE's</application> <application>KDM</application>.
     41      <application>LightDM</application>.
    4242    </para>
    4343
     
    8383    <para role="required">
    8484      <xref linkend="gtk2"/>,
    85       <xref linkend="iso-codes"/> and
     85      <xref linkend="iso-codes"/>, and
    8686      <xref linkend="librsvg"/> (runtime, for default theme background)
    8787    </para>
     
    228228
    229229      <para>
    230         The LXDM daemon configuration <filename>/etc/lxdm/lxdm.conf</filename>
    231         file options includes numlock on/off, backgraound image (bg), session,
    232         etc.  You can set a default session by uncommenting the line:
     230        The LXDM daemon configuration file
     231        (<filename>/etc/lxdm/lxdm.conf</filename>) specifies options that
     232        include numlock on/off, backgraound image (bg), session, etc.  You can
     233        set a default session by uncommenting the line:
    233234        session=/usr/bin/startlxde and replacing <command>startlxde</command>
    234235        with your session of choice. For <application>GNOME</application>
     
    246247
    247248      <para>
    248         You can replace the default dummy face in the greeting screen by other
     249        You can replace the default dummy face in the greeting screen by another
    249250        image representing your user. For that, copy or symlink the desired
    250         image to your home directory, with the name <filename>.face</filename>.
     251        image to your home directory with the name <filename>.face</filename>.
    251252      </para>
    252253
     
    265266
    266267      <para>
    267         By definition, X should be executed at runlevel 5, consequently, the
    268         same is true for <application>lxdm</application>. However, BLFS default
    269         runlevel is 3. Changing to runlevel 5, from the terminal, as
    270         <systemitem class="username">root</systemitem> user, makes the
    271         <command>lxdm</command> bootscript to be executed, obtaining the
     268        By convention, X should be executed at runlevel 5, consequently, the
     269        same is true for <application>lxdm</application>. However, the LFS default
     270        runlevel is 3. Changing to runlevel 5, from the console (as
     271        <systemitem class="username">root</systemitem> user) starts the
     272        <command>lxdm</command> bootscript and presents the
    272273        greeter screen:
    273274      </para>
     
    276277
    277278      <para>
    278           In order to permanently set the default to 5, obtaining the
     279          In order to permanently set the default to 5, starting the
    279280          <command>lxdm</command> greeter screen automatically, you can modify
    280           <filename>/etc/inittab</filename>, as <systemitem
    281           class="username">root</systemitem> user (the instructions below also
    282           make a backup, so you can easily revert the modification):
     281          <filename>/etc/inittab</filename>. As the  <systemitem
     282          class="username">root</systemitem> user:
    283283      </para>
    284284
     
    286286sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
    287287
    288       <para>
    289           One important script, executed after login, is
    290           <filename>/etc/lxdm/Xsession</filename>, which we have fixed to fit
     288      <note>
     289      <para>
     290          One important script, executed after login is
     291          <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit
    291292          BLFS specifications.
    292293      </para>
     294      </note>
    293295
    294296    </sect3>
  • 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.