Author: dj
Date: Sun Feb 17 00:33:12 2019
New Revision: 21185
Log:
Add gdm-3.30.2-elogind-1.patch.
Install the gdm bootscript and change initdefault to runlevel 5 for gdm.
Modified:
branches/BOOK-elogind/gnome/platform/gdm.xml
branches/BOOK-elogind/introduction/welcome/changelog.xml
Modified: branches/BOOK-elogind/gnome/platform/gdm.xml
==============================================================================
--- branches/BOOK-elogind/gnome/platform/gdm.xml Sat Feb 16 23:58:08
2019 (r21184)
+++ branches/BOOK-elogind/gnome/platform/gdm.xml Sun Feb 17 00:33:12
2019 (r21185)
@@ -71,6 +71,16 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3" revision="sysv">Additional
Downloads</bridgehead>
+ <itemizedlist spacing="compact" revision="sysv">
+ <listitem>
+ <para>
+ Recommended patch:
+ <ulink url="&patch-root;/gdm-&gdm-version;-elogind-1.patch"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
<bridgehead renderas="sect3">GDM Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@@ -118,6 +128,13 @@
-g gdm -s /bin/false gdm &&
passwd -ql gdm</userinput></screen>
+ <para revision="sysv">
+ Apply a patch to use <xref linkend="elogind"/> session tracking:
+ </para>
+
+<screen revision="sysv"><userinput>patch -Np1 -i
../gdm-&gdm-version;-elogind-1.patch &&
+autoreconf -fi</userinput></screen>
+
<para>
Install <application>GDM</application> by running the following
commands:
@@ -215,9 +232,18 @@
</sect3>
<sect3 id="gdm-init">
- <title>Systemd Units</title>
+ <title><phrase revision="sysv">Boot Script</phrase>
+ <phrase revision="systemd">Systemd Unit</phrase></title>
- <para>
+ <para revision="sysv">
+ To start the <command>gdm</command> automatically when the system
+ is booted, install the <filename>/etc/rc.d/init.d/httpd</filename>
+ init script included in the <xref linkend="bootscripts"/> package and
+ set the default runlevel to 5 (graphical login) as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+ <para revision="systemd">
To start the <command>gdm</command> daemon at boot, enable
the previously installed systemd unit by running the following command
as the <systemitem class="username">root</systemitem> user:
@@ -227,7 +253,10 @@
<primary sortas="f-gdm">gdm</primary>
</indexterm>
-<screen role="root"><userinput>systemctl enable gdm</userinput></screen>
+<screen role="root" revision="sysv"><userinput>make install-gdm &&
+sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
+
+<screen role="root" revision="systemd"><userinput>systemctl enable
gdm</userinput></screen>
</sect3>
Modified: branches/BOOK-elogind/introduction/welcome/changelog.xml
==============================================================================
--- branches/BOOK-elogind/introduction/welcome/changelog.xml Sat Feb 16
23:58:08 2019 (r21184)
+++ branches/BOOK-elogind/introduction/welcome/changelog.xml Sun Feb 17
00:33:12 2019 (r21185)
@@ -46,6 +46,13 @@
<para>February 17th, 2019</para>
<itemizedlist>
<listitem revision="sysv">
+ <para>[dj] - Install the gdm bootscript and change initdefault to
+ runlevel 5 for gdm.</para>
+ </listitem>
+ <listitem revision="sysv">
+ <para>[dj] - Add gdm-3.30.2-elogind-1.patch.</para>
+ </listitem>
+ <listitem revision="sysv">
<para>[dj] - Add mutter-3.30.2-elogind-1.patch.</para>
</listitem>
</itemizedlist>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page