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
  • gnome/platform/gdm.xml

    ra6b95b9d r52250565  
    128128passwd -ql gdm</userinput></screen>
    129129
    130 <!--
    131     <note revision="sysv">
    132       <para>
    133         The <application>gdm</application> login screen is managed by
    134         <application>gnome-shell</application>, which relies on the
    135         <command>systemd-localed</command> daemon to get the system
    136         settings. Since this daemon is not present on this system, a
    137         <command>sed</command> is applied in the <xref
    138         linkend="gnome-shell"/> instructions to change this behavior,
    139         but then <application>gdm</application> uses the system settings,
    140         which default to a US <quote>qwerty</quote> keyboard layout. This may
    141         be an inconvience to enter a password when the machine keyboard
    142         has a different layout. One possibility is to use the screen-keyboard
    143         from the accessibility menu. Another possibility is to change the
    144         defaults at compile time, by creating the following file:
    145       </para>
    146 
    147 <screen><userinput>cat &gt; data/dconf/defaults/01-keyboard &lt;&lt; EOF
    148 <literal>[org/gnome/desktop/input-sources]
    149 sources=[('xkb','<replaceable>layout</replaceable>')]</literal>
    150 EOF</userinput></screen>
    151 
    152       <para>
    153         where <replaceable>layout</replaceable> should be replaced with
    154         the acronym for your keyboard layout (one of the filenames in
    155         <filename class="directory">/usr/share/X11/xkb/symbols</filename>).
    156       </para>
    157     </note>
    158 -->
    159130    <para>
    160131      Install <application>GDM</application> by running the following
     
    270241
    271242      <para revision="sysv">
    272         To start the <command>gdm</command> automatically when the system
    273         is booted, install the <filename>/etc/rc.d/init.d/gdm</filename>
    274         init script included in the <xref linkend="bootscripts"/> package and
    275         set the default runlevel to 5 (graphical login) as the
    276         <systemitem class="username">root</systemitem> user:
    277       </para>
    278 
    279       <para revision="systemd">
    280         To start the <command>gdm</command> daemon at boot, enable
    281         the previously installed systemd unit by running the following command
     243        To start <command>gdm</command> automatically when the system is
     244        switched to runlevel 5, install the
     245        <filename>/etc/rc.d/init.d/xdm</filename> script and the
     246        <filename>/etc/sysconfig/xdm</filename> configuration file
     247        included in the <xref linkend="bootscripts"/> package
     248        and adjust <filename>/etc/inittab</filename> by running
    282249        as the <systemitem class="username">root</systemitem> user:
    283250      </para>
     
    294261<screen role="root" revision="sysv"><userinput>sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
    295262
     263      <para revision="systemd">
     264        To start the <command>gdm</command> daemon at boot, enable
     265        the previously installed systemd unit by running the following command
     266        as the <systemitem class="username">root</systemitem> user:
     267      </para>
     268
     269<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
     270
     271<!-- [pierre October 2020] I don't understand why this is here: power
     272     management works perfectly well
    296273      <para revision="sysv">
    297274          You should also disable default elogind power management:
     
    302279AllowHibernation=no</literal>
    303280EOF</userinput></screen>
    304 
    305 <screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
     281-->
    306282
    307283    </sect3>
Note: See TracChangeset for help on using the changeset viewer.