Changeset cfe2f1b6


Ignore:
Timestamp:
04/28/2012 12:59:46 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
512577a9
Parents:
61f9c87
Message:

gdm 3.4.1, gnome core done

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r61f9c87 rcfe2f1b6  
    789789
    790790<!-- System Services -->
    791 <!ENTITY gdm-version                  "3.2.1.1">
     791<!ENTITY gdm-version                  "3.4.1">
    792792
    793793<!-- Chapter 33 -->
  • general/sysutils/dbus.xml

    r61f9c87 rcfe2f1b6  
    280280          the <filename>~/.xinitrc</filename> file.</para>
    281281        </listitem>
     282<!-- Enabled by default.
    282283        <listitem>
    283284          <para>If you use <command>gdm</command> or some other display manager
     
    286287          <application>GDM</application> instructions to create a file
    287288          containing <command>dbus-launch</command>.</para>
    288         </listitem>
     289        </listitem>-->
    289290        <listitem>
    290291          <para>The examples shown previously use
  • gnome/core/gdm.xml

    r61f9c87 rcfe2f1b6  
    55  %general-entities;
    66
    7   <!ENTITY gdm-download-http "&gnome-download-http;/gdm/&gnome-version;/gdm-&gdm-version;.tar.xz">
    8   <!ENTITY gdm-download-ftp  "&gnome-download-ftp;/gdm/&gnome-version;/gdm-&gdm-version;.tar.xz">
    9   <!ENTITY gdm-md5sum        "df3f38061066f5e0816676b4eef7854a">
     7  <!ENTITY gdm-download-http "&gnome-download-http;/gdm/3.4/gdm-&gdm-version;.tar.xz">
     8  <!ENTITY gdm-download-ftp  "&gnome-download-ftp;/gdm/3.4/gdm-&gdm-version;.tar.xz">
     9  <!ENTITY gdm-md5sum        "fda0470340f9c0bc2f8daccb280af520">
    1010  <!ENTITY gdm-size          "1.6 MB">
    11   <!ENTITY gdm-buildsize     "59 MB">
    12   <!ENTITY gdm-time          "0.7 SBU">
     11  <!ENTITY gdm-buildsize     "50 MB">
     12  <!ENTITY gdm-time          "0.8 SBU">
    1313]>
    1414
     
    5858    </itemizedlist>
    5959
    60     <!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>
     60    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6161    <itemizedlist spacing="compact">
    6262      <listitem>
    6363        <para>Required patch: <ulink
    64         url="&patch-root;/gdm-&gdm-version;-fixes-1.patch"/></para>
    65       </listitem>
    66     </itemizedlist>-->
     64        url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/></para>
     65      </listitem>
     66      <listitem>
     67        <para>Required patch: <ulink
     68        url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/></para>
     69      </listitem>
     70    </itemizedlist>
    6771
    6872    <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
    6973
    7074    <bridgehead renderas="sect4">Required</bridgehead>
    71     <para role="required"><xref linkend="accountsservice"/>,
    72     <xref linkend="gnome-panel"/>,
    73     <xref linkend="linux-pam"/>, and
    74     <xref linkend="xorg7-lib"/></para>
     75    <para role="required">
     76      <xref linkend="accountsservice"/>,
     77      <xref linkend="dconf"/>,
     78      <xref linkend="gtk3"/>,
     79      <xref linkend="libcanberra"/>,
     80      <xref linkend="linux-pam"/> and
     81      <xref linkend="nss"/>
     82    </para>
     83
     84    <bridgehead renderas="sect4">Required (runtime)</bridgehead>
     85    <para role="required">
     86      <xref linkend="gnome-session"/> and either
     87      <xref linkend="gnome-shell"/> or
     88      <xref linkend="gnome-panel"/> and
     89      <xref linkend="metacity"/> (for the Greeter Window Manager).
     90    </para>
    7591
    7692    <bridgehead renderas="sect4">Recommended</bridgehead>
    77     <para role="recommended"><xref linkend="consolekit"/>
    78     (Required for Shutdown/Restart functionality) and
    79     <xref linkend="polkit-gnome"/></para>
     93    <para role="recommended">
     94      <xref linkend="consolekit"/>
     95      (Required for Shutdown/Restart functionality),
     96      <xref linkend="libxklavier"/> and
     97      <xref linkend="upower"/>
     98    </para>
    8099
    81100    <bridgehead renderas="sect4">Optional</bridgehead>
    82101    <para role="optional">
    83     <xref linkend='check'/> (required to run the testsuite),
    84     <xref linkend="upower"/>,
    85     <xref linkend="libxklavier"/>, and
    86     <xref linkend="tcpwrappers"/></para>
     102      <xref linkend="check"/> (required to run the testsuite),
     103      <xref linkend="gobject-introspection"/> and
     104      <xref linkend="tcpwrappers"/>
     105    </para>
    87106
    88107    <para condition="html" role="usernotes">User Notes:
     
    95114
    96115    <para>It is recommended to have a dedicated user and group to take
    97     control of the <command>gdm-binary</command> daemon after it is
     116    control of the <command>gdm</command> daemon after it is
    98117    started. Issue the following commands as the
    99118    <systemitem class="username">root</systemitem> user:</para>
     
    101120<screen role='root'><userinput>groupadd -fg 21 gdm &amp;&amp;
    102121useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
    103     -g gdm -s /bin/false gdm  || [ $? == 9 ]</userinput></screen>
     122        -g gdm -s /bin/false gdm</userinput></screen>
    104123
    105124    <para>Install <application>GDM</application> by running
    106125    the following commands as an unprivileged user:</para>
    107126
    108 <screen><userinput><!--patch -Np1 -i ../gdm-&gdm-version;-fixes-1.patch &amp;&amp;-->
    109 ./configure --prefix=$GNOME_PREFIX \
    110             --sysconfdir=$GNOME_SYSCONFDIR \
    111             --libexecdir=$GNOME_PREFIX/lib/gdm \
     127<screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &amp;&amp;
     128patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &amp;&amp;
     129./configure --prefix=/usr \
     130            --sysconfdir=/etc \
    112131            --localstatedir=/var \
    113             --with-pam-prefix=/etc \
    114             --enable-static=no &amp;&amp;
     132            --libexecdir=/usr/lib/gdm \
     133            --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
     134            --disable-static &amp;&amp;
    115135make</userinput></screen>
    116136
     
    121141
    122142<screen role='root'><userinput>make install &amp;&amp;
    123 ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/gnome-settings-daemon \
    124         $GNOME_PREFIX/lib/gdm &amp;&amp;
    125 ln -fsv /usr/lib/ConsoleKit/ck-get-x11-display-device \
    126         $GNOME_PREFIX/lib/gdm &amp;&amp;
    127 ln -fsv /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 \
    128         $GNOME_PREFIX/lib/gdm &amp;&amp;
    129 ln -fsv /usr/lib/gnome-session/gnome-session-check-accelerated \
    130         $GNOME_PREFIX/lib/gdm
    131 </userinput></screen>
    132 
    133    <para>If your <envar>GNOME_SYSCONFDIR</envar> is <emphasis>not</emphasis>
    134    simply <filename class="directory">/etc</filename> then you need to create
    135    some more symlinks so that the menus and some <literal>.desktop</literal>
    136    files (in particular <filename>gnome-settings-daemon.desktop</filename>) will
    137    be found, because <envar>XDG_CONFIG_DIRS</envar> is not respected when
    138    <command>gdm</command> invokes <command>gnome-session</command>. Run the
    139    following commands, still as the <systemitem class="username">root</systemitem>
    140    user:</para>
    141 
    142 <screen role='root'><userinput>ln -sfv $GNOME_SYSCONFDIR/xdg/menus /etc/xdg &amp;&amp;
    143 pushd $GNOME_SYSCONFDIR/xdg/autostart &amp;&amp;
    144 FILES=`ls` &amp;&amp;
    145 popd &amp;&amp;
    146 for F in $FILES; do
    147     ln -sfv $GNOME_SYSCONFDIR/xdg/autostart/$F /etc/xdg/autostart
    148 done
     143chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
    149144</userinput></screen>
    150145
     
    154149    <title>Command Explanations</title>
    155150
     151<!--    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     152    href="../../xincludes/gnome-prefix.xml"/>
     153
    156154    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    157     href="../../xincludes/gnome-prefix.xml"/>
    158 
    159     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    160     href="../../xincludes/gnome-sysconfdir.xml"/>
    161 
    162     <para><parameter>--libexecdir=$GNOME_PREFIX/lib/gdm</parameter>: This
     155    href="../../xincludes/gnome-sysconfdir.xml"/> -->
     156
     157    <para><parameter>--libexecdir=/usr/lib/gdm</parameter>: This
    163158    parameter is used so that the <application>GDM</application> internal
    164159    support programs are installed in the preferred location of <filename
    165     class='directory'>$GNOME_PREFIX/lib/gdm</filename> instead of <filename
    166     class='directory'>$GNOME_PREFIX/libexec</filename>.</para>
    167 
    168     <para><parameter>--localstatedir=/var</parameter>: This command
    169     puts files in <filename class="directory">/var</filename> instead of
    170     <filename class="directory">$GNOME_PREFIX/var</filename>.</para>
    171 
    172     <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
    173     <application>PAM</application> configuration files in
    174     <filename class="directory">/etc/pam.d</filename> instead of
    175     <filename class="directory">$GNOME_SYSCONFDIR</filename>.</para>
    176 
    177     <para><parameter>--enable-static=no</parameter>: This switch prevents the static
    178     libraries being installed.</para>
    179 
    180     <para><parameter>ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/...</parameter>:
    181     these three symlinks allow the shutdown/restart functions in
    182     <application>gdm</application> to work.</para>
     160    class='directory'>/usr/lib/gdm</filename> instead of <filename
     161    class='directory'>/usr/libexec</filename>.</para>
     162
     163    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     164    href="../../xincludes/static-libraries.xml"/>
    183165
    184166  </sect2>
     
    190172      <title>Config Files</title>
    191173
    192       <para><filename>$GNOME_SYSCONFDIR/gdm/custom.conf</filename></para>
     174      <para><filename>/etc/gdm/custom.conf</filename></para>
    193175
    194176      <indexterm zone="gdm gdm-config">
    195         <primary sortas="e-etc-gnome-&gnome-version;&gnome-minor-version;gdm-custom.conf">
    196         $GNOME_SYSCONFDIR/gdm/custom.conf</primary>
     177        <primary sortas="e-etc-gdm-custom.conf">
     178        /etc/gdm/custom.conf</primary>
    197179      </indexterm>
    198180
     
    203185
    204186      <para>The GDM daemon is configured using the
    205       <filename>$GNOME_SYSCONFDIR/gdm/custom.conf</filename> file.
     187      <filename>/etc/gdm/custom.conf</filename> file.
    206188      Default values are stored in GConf in the
    207189      <filename>gdm.schemas</filename> file. It is recommended that end-users
    208       modify the <filename>$GNOME_SYSCONFDIR/gdm/custom.conf</filename> file
     190      modify the <filename>/etc/gdm/custom.conf</filename> file
    209191      because the schemas file may be overwritten when the user updates their
    210192      system to have a newer version of GDM.</para>
    211 
    212       <para>The <application>GDM</application> <application>PAM</application>
    213       configuration files contain modules not present in a BLFS installation.
    214       Issue the following
    215       commands as the <systemitem class="username">root</systemitem> user to
    216       replace those files with files containing correctly specified
    217       modules:</para>
    218 
    219 <screen role="root"><userinput>cat &gt; /etc/pam.d/gdm &lt;&lt; "EOF"
    220 <literal>auth        required    pam_env.so
    221 auth        required    pam_unix.so
    222 account     required    pam_nologin.so
    223 account     required    pam_unix.so
    224 password    required    pam_unix.so
    225 session     optional    pam_keyinit.so force revoke
    226 session     required    pam_unix.so
    227 session     required    pam_loginuid.so
    228 session     optional    pam_console.so</literal>
    229 
    230 EOF
    231 chmod -v 644 /etc/pam.d/gdm
    232 
    233 cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"
    234 <literal>auth        required    pam_env.so
    235 auth        required    pam_permit.so
    236 account     required    pam_nologin.so
    237 account     required    pam_unix.so
    238 password    required    pam_unix.so
    239 session     optional    pam_keyinit.so force revoke
    240 session     required    pam_unix.so
    241 session     required    pam_loginuid.so
    242 session     optional    pam_console.so</literal>
    243 
    244 EOF
    245 chmod -v 644 /etc/pam.d/gdm-autologin
    246 
    247 cat &gt; /etc/pam.d/gdm-welcome &lt;&lt; "EOF"
    248 <literal>auth        required    pam_env.so
    249 auth        required    pam_permit.so
    250 account     required    pam_nologin.so
    251 account     required    pam_unix.so
    252 password    required    pam_unix.so
    253 session     required    pam_loginuid.so
    254 session     optional    pam_keyinit.so force revoke
    255 session     required    pam_unix.so</literal>
    256 
    257 EOF
    258 chmod -v 644 /etc/pam.d/gdm-welcome
    259 </userinput></screen>
    260 
    261       <indexterm zone="gdm gdm-config">
    262         <primary sortas="e-etc-pam.d-gdm">/etc/pam.d/gdm</primary>
    263       </indexterm>
    264       <indexterm zone="gdm gdm-config">
    265         <primary
    266         sortas="e-etc-pam.d-gdm-autologin">/etc/pam.d/gdm-autologin</primary>
    267       </indexterm>
    268 
    269       <para id="gdm-config-dbus">The shipped <filename>gnome.desktop</filename>
    270       file does not start the session <application>D-BUS</application> daemon, and
    271       as a result not all the files required by a <application>GNOME</application>
    272       window manager will be found.  You can create a new
    273       Xsession file using the following command as the root user.</para>
    274 
    275 <screen role="root"><userinput>cat &gt; $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop &lt;&lt; "EOF"
    276 <literal>[Desktop Entry]
    277 Encoding=UTF-8
    278 Name=GNOME with D-BUS
    279 Comment=GNOME Desktop with D-BUS support
    280 Exec=dbus-launch --exit-with-session gnome-session
    281 TryExec=/usr/bin/dbus-launch
    282 Icon=
    283 Type=Application</literal>
    284 
    285 EOF
    286 chmod -v 644 $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop</userinput></screen>
    287 
    288       <para>Choose this session using the session selection dialog on the
    289       display manager login screen. You also have the opportunity to make this
    290       your default session.</para>
    291 
    292       <para>After you have compared the results from using these two different
    293       files, and particularly if the translations in the shipped file are useful
    294       to you, you can edit the <literal>Exec</literal> and <literal>TryExec</literal>
    295       commands in the provided <filename>gnome.desktop</filename> file. Alternatively,
    296       you can delete it if you find it useless.</para>
    297 
    298       <note>
    299         <para>You may use the <filename class='extension'>.desktop</filename>
    300         file created above as an example to create additional
    301         <filename class='extension'>.desktop</filename> files and add any other
    302         desired items to the <application>GDM</application> display manager session
    303         selection menu.</para>
    304       </note>
    305193
    306194      <important>
     
    322210      <para>To start a graphical login when the system is booted, install the
    323211      <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
    324       <xref linkend="bootscripts"/> package. If your
     212      <xref linkend="bootscripts"/> package.<!-- If your
    325213      <envar>GNOME_PREFIX</envar> environment variable is anything other than
    326214      <filename class='directory'>/usr</filename> or <filename
     
    328216      you will need to modify the <envar>PATH</envar> statement in the script
    329217      to include the path where you have <application>GNOME</application>
    330       installed.</para>
     218      installed.--></para>
    331219
    332220      <indexterm zone="gdm gdm-init">
     
    355243
    356244      <seglistitem>
    357         <seg>Default, Default.sample, Default, Default, Xsession, gdm,
    358         gdm-screenshot, gdmflexiserver, gdm-crash-logger, gdm-factory-slave,
    359         gdm-host-chooser, gdm-product-slave, gdm-session-worker,
    360         gdm-simple-chooser, gdm-simple-greeter, gdm-simple-slave,
    361         gdm-user-switch-applet, gdm-xdmcp-chooser-slave, gdm, and gdm-binary</seg>
    362         <seg>libfingerprint.so, libpassword.so, libsmartcard.so</seg>
    363         <seg>$GNOME_SYSCONFDIR/{dbus-1/system.d.gdm/{Init,PostLogin,PostSession,PreSession}},
    364         <envar>$GNOME_PREFIX</envar>/{lib/gdm,share/{gnome/help/gdm/*,omf/gdm,
    365         pixmaps/faces}},
    366         /var/{cache/gdm,gdm,lib/gdm/.gconf.mandatory,log/gdm,
    367         run/gdm/greeter}</seg>
     245        <seg>
     246          gdm, gdmflexiserver and gdm-screenshot
     247        </seg>
     248        <seg>
     249          libgdmgreeter.so and libgdmsimplegreeter.so
     250        </seg>
     251        <seg>
     252          /etc/dconf/db/gdm.d, /etc/gdm, /usr/include/gdm,
     253          /usr/lib/gdm, /usr/share/gdm, /usr/share/gnome/help/gdm,
     254          /usr/share/omf/gdm and /var/{cache,lib,log,run}/gdm
     255        </seg>
    368256      </seglistitem>
    369257    </segmentedlist>
     
    373261      <?dbfo list-presentation="list"?>
    374262      <?dbhtml list-presentation="table"?>
     263
     264      <varlistentry id="gdm-prog">
     265        <term><command>gdm</command></term>
     266        <listitem>
     267          <para>is the <application>GNOME</application> based login prompt.</para>
     268          <indexterm zone="gdm gdm-prog">
     269            <primary sortas="b-gdm">gdm</primary>
     270          </indexterm>
     271        </listitem>
     272      </varlistentry>
    375273
    376274      <varlistentry id="gdmflexiserver">
     
    395293      </varlistentry>
    396294
    397       <varlistentry id="gdm-prog">
    398         <term><command>gdm</command></term>
    399         <listitem>
    400           <para>is a wrapper script to execute the
    401           <application>GDM</application> binary, the configurable
    402           <application>GNOME</application> based login prompt.</para>
    403           <indexterm zone="gdm gdm-prog">
    404             <primary sortas="b-gdm">gdm</primary>
    405           </indexterm>
    406         </listitem>
    407       </varlistentry>
    408 
    409       <varlistentry id="gdm-binary">
    410         <term><command>gdm-binary</command></term>
    411         <listitem>
    412           <para>is the <application>GNOME</application> based login prompt.</para>
    413           <indexterm zone="gdm gdm-binary">
    414             <primary sortas="b-gdm-binary">gdm-binary</primary>
    415           </indexterm>
    416         </listitem>
    417       </varlistentry>
    418 
    419  <!--<varlistentry id="gdm-restart">
    420         <term><command>gdm-restart</command></term>
    421         <listitem>
    422           <para>sends the HUP signal to the <application>GDM</application>
    423           daemon so that it restarts. It's used after the config file
    424           is edited</para>
    425           <indexterm zone="gdm gdm-restart">
    426             <primary sortas="b-gdm-restart">gdm-restart</primary>
    427           </indexterm>
    428         </listitem>
    429       </varlistentry>
    430 
    431       <varlistentry id="gdm-safe-restart">
    432         <term><command>gdm-safe-restart</command></term>
    433         <listitem>
    434           <para>sends the USR1 signal to the <application>GDM</application>
    435           daemon so that it restarts. It's used after the config file
    436           is edited.</para>
    437           <indexterm zone="gdm gdm-safe-restart">
    438             <primary sortas="b-gdm-safe-restart">gdm-safe-restart</primary>
    439           </indexterm>
    440         </listitem>
    441       </varlistentry>
    442 
    443       <varlistentry id="gdm-stop">
    444         <term><command>gdm-stop</command></term>
    445         <listitem>
    446           <para>sends the TERM signal to the <application>GDM</application>
    447           daemon so that it stops. It's used after the config file is
    448           edited.</para>
    449           <indexterm zone="gdm gdm-stop">
    450             <primary sortas="b-gdm-stop">gdm-stop</primary>
    451           </indexterm>
    452         </listitem>
    453       </varlistentry>-->
    454 
    455295    </variablelist>
    456296
  • introduction/welcome/changelog.xml

    r61f9c87 rcfe2f1b6  
    6161          <para>[krejzi] - gvfs 1.12.2.</para>
    6262        </listitem>
     63        <listitem>
     64          <para>[krejzi] - gdm 3.4.1.</para>
     65        </listitem>
    6366      </itemizedlist>
    6467    </listitem>
Note: See TracChangeset for help on using the changeset viewer.