Changeset 445f880


Ignore:
Timestamp:
07/28/2014 09:08:29 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
fa231de
Parents:
90793fd7
Message:

Update gdm.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13720 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome-systemd/desktop/gdm.xml

    r90793fd7 r445f880  
    7777    <para role="required">
    7878      <xref linkend="accountsservice"/>,
     79      <xref linkend="gtk3"/>,
     80      <xref linkend="iso-codes"/>,
    7981      <xref linkend="libcanberra"/>,
    80       <xref linkend="dbus-glib"/>, and
    81       <xref linkend="gtk3"/>
    82     </para>
    83     <bridgehead renderas="sect4">Recommended</bridgehead>
    84     <para role="recommended">
    85       <xref linkend="upower"/>
     82      <xref linkend="linux-pam"/>, and
     83      <xref linkend="yelp-xsl"/>
    8684    </para>
    8785
     
    9391    <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
    9492    <para role="required">
    95       <xref linkend="systemd"/>,
    96       <xref linkend="gnome-session"/>, and
    97       <xref linkend="gnome-shell"/>
     93      <xref linkend="gnome-session"/>,
     94      <xref linkend="gnome-shell"/>, and
     95      <xref linkend="systemd"/> (for Logind)
    9896    </para>
    9997
     
    115113<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
    116114useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
    117         -g gdm -s /bin/false gdm &amp;&amp;
    118 usermod -a -G audio gdm &amp;&amp;
    119 usermod -a -G video gdm</userinput></screen>
     115        -g gdm -s /bin/false gdm</userinput></screen>
    120116
    121117    <para>
     
    124120    </para>
    125121
    126 <screen><userinput>./configure --prefix=/usr \
    127             --sysconfdir=/etc \
     122<screen><userinput>./configure --prefix=/usr        \
     123            --sysconfdir=/etc    \
    128124            --localstatedir=/var \
    129             --disable-static &amp;&amp;
     125            --disable-static     &amp;&amp;
    130126make</userinput></screen>
    131127
     
    141137<screen role="root"><userinput>make install</userinput></screen>   
    142138
     139    <para>
     140      Install the systemd unit by running the following command as the
     141      <systemitem class="username">root</systemitem> user:
     142    </para>
     143
     144<screen role="root"><userinput>install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
     145
    143146  </sect2>
    144147
     
    146149    <title>Command Explanations</title>
    147150
    148     <para>
    149       <parameter>--with-initial-vt=7</parameter>: This switch
    150       causes <application>GDM</application> to start on vt7
    151       instead of the first free VT.
    152     </para>
    153 
    154 
    155151    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    156152      href="../../xincludes/static-libraries.xml"/>
    157153
    158154    <para>
    159       <parameter>--with-default-pam-config=lfs</parameter>: Use this
    160       switch if you did not create <filename>/etc/lfs-release</filename>
    161       or distribution auto detection will fail and you will be unable
    162       to use <application>GDM</application>.
     155      <option>--with-initial-vt=7</option>: Use this switch
     156      to make <application>GDM</application> start on VT7
     157      instead of the first free VT.
     158    </para>
     159
     160    <para>
     161      <option>--with-default-pam-config=lfs</option>: Use this
     162      switch if you did not create the
     163      <filename>/etc/lfs-release</filename> file or distribution
     164      auto detection will fail and you will be unable to use
     165      <application>GDM</application>.
    163166    </para>
    164167
     
    176179
    177180      <indexterm zone="gdm gdm-config">
    178         <primary sortas="e-etc-gdm-custom.conf">
    179         /etc/gdm/custom.conf</primary>
     181        <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
    180182      </indexterm>
    181183
     
    187189      <para>
    188190        The GDM daemon is configured using the
    189         <filename>/etc/gdm/custom.conf</filename> file.
    190         Default values are stored in GSettings in the
    191         <filename>gdm.schemas</filename> file. It is recommended that end-users
    192         modify the <filename>/etc/gdm/custom.conf</filename> file
    193         because the schemas file may be overwritten when the user updates their
    194         system to have a newer version of GDM.
     191        <filename>/etc/gdm/custom.conf</filename> file. Default values
     192        are stored in GSettings in the <filename>gdm.schemas</filename>
     193        file. It is recommended that end-users modify the
     194        <filename>/etc/gdm/custom.conf</filename> file because the schemas
     195        file may be overwritten when the user updates their system to have
     196        a newer version of <application>GDM</application>.
    195197      </para>
    196198
    197       <important>
    198         <para>
    199           If the system-wide <application>D-BUS</application> daemon was
    200           running during the installation of <application>gdm</application>,
    201           ensure you stop and restart the <application>D-BUS</application>
    202           daemon before attempting to start <command>gdm</command>.
    203         </para>
    204       </important>
     199    </sect3>
     200
     201    <sect3 id="gdm-init">
     202      <title>Systemd Units</title>
    205203
    206204      <para>
    207         <command>gdm</command> can be tested by executing it as the
    208         <systemitem class="username">root</systemitem> user. If you wish to stop
    209         it you will need to go to a different tty and then kill it.
    210       </para>
    211 
    212     </sect3>
    213 
    214     <sect3 id="gdm-init">
    215       <title>Systemd Unit</title>
    216 
    217       <para>
    218         To enable the previously installed unit file issue the following
    219         command  as the <systemitem class="username">root</systemitem> user:
     205        To start the <command>gdm</command> daemon at boot, enable
     206        the previously installed systemd unit by running the following command
     207        as the <systemitem class="username">root</systemitem> user:
    220208      </para>
    221209
     
    225213
    226214<screen role="root"><userinput>systemctl enable gdm</userinput></screen>
    227 
    228215
    229216    </sect3>
     
    241228      <seglistitem>
    242229        <seg>
    243           gdm and gdm-screenshot
     230          gdm, gdmflexiserver, and gdm-screenshot
    244231        </seg>
    245232        <seg>
     
    250237          /usr/include/gdm,
    251238          /usr/share/gdm,
     239          /usr/share/help/*/gdm,
    252240          /var/cache/gdm,
    253           /var/gdm,
    254241          /var/lib/gdm,
    255           /var/log/gdm and
     242          /var/log/gdm, and
    256243          /var/run/gdm
    257244        </seg>
Note: See TracChangeset for help on using the changeset viewer.