Changeset 06936b84


Ignore:
Timestamp:
04/03/2012 11:52:39 PM (12 years ago)
Author:
Ken Moffat <ken@…>
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:
4501a2a
Parents:
433a30b0
Message:

Fixes for gdm.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/core/gdm.xml

    r433a30b0 r06936b84  
    3434    useful for allowing configurable graphical logins.</para>
    3535
    36     &lfs70_built;
     36    &lfs70_checked;
    3737
    3838    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    121121
    122122<screen role='root'><userinput>make install &amp;&amp;
    123 <!-- fixed by assumption
    124 ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon-2.0/gnome-settings-daemon \
    125         $GNOME_PREFIX/lib/gdm &amp;&amp;-->
    126123ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/gnome-settings-daemon \
    127124        $GNOME_PREFIX/lib/gdm &amp;&amp;
     
    132129</userinput></screen>
    133130
     131   <para>If your <envar>GNOME_SYSCONFDIR</envar> is <emphasis>not</emphasis>
     132   simply <filename class="directory">/etc</filename> then you need to create
     133   some more symlinks so that the menus and some <literal>.desktop</literal>
     134   files (in particular <filename>gnome-settings-daemon.desktop</filename>) will
     135   be found, because <envar>XDG_CONFIG_DIRS</envar> is not respected when
     136   <command>gdm</command> invokes <command>gnome-session</command>. Run the
     137   following commands, still as the <systemitem class="username">root</systemitem>
     138   user:</para>
     139
     140<screen role='root'><userinput>ln -sfv $GNOME_SYSCONFDIR/xdg/menus /etc/xdg &amp;&amp;
     141pushd $GNOME_SYSCONFDIR/xdg/autostart &amp;&amp;
     142FILES=`ls` &amp;&amp;
     143popd &amp;&amp;
     144for F in $FILES; do
     145    ln -sfv $GNOME_SYSCONFDIR/xdg/autostart/$F /etc/xdg/autostart
     146done
     147</userinput></screen>
     148
    134149  </sect2>
    135150
     
    160175    <para><parameter>--enable-static=no</parameter>: This switch prevents the static
    161176    libraries being installed.</para>
     177
     178    <para><parameter>ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/...</parameter>:
     179    these three symlinks allow the shutdown/restart functions in
     180    <application>gdm</application> to work.</para>
    162181
    163182  </sect2>
     
    191210      <para>The <application>GDM</application> <application>PAM</application>
    192211      configuration files contain modules not present in a BLFS installation.
    193       If you have <application>PAM</application> installed, issue the following
     212      Issue the following
    194213      commands as the <systemitem class="username">root</systemitem> user to
    195214      replace those files with files containing correctly specified
     
    208227
    209228EOF
     229chmod -v 644 /etc/pam.d/gdm
     230
    210231cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"
    211232<literal>auth        required    pam_env.so
     
    220241
    221242EOF
     243chmod -v 644 /etc/pam.d/gdm-autologin
     244
    222245cat &gt; /etc/pam.d/gdm-welcome &lt;&lt; "EOF"
    223246<literal>auth        required    pam_env.so
     
    230253session     required    pam_unix.so</literal>
    231254
    232 EOF</userinput></screen>
     255EOF
     256chmod -v 644 /etc/pam.d/gdm-welcome
     257</userinput></screen>
    233258
    234259      <indexterm zone="gdm gdm-config">
     
    240265      </indexterm>
    241266
    242       <para id="gdm-config-dbus">If you have <application>D-BUS</application>
    243       installed and you want to start the session
    244       <application>D-BUS</application> daemon when you start the GNOME desktop
    245       environment using <command>gdm</command>, you'll need to create a new
    246       Xsession file. Create the file using the following command as the root
    247       user.</para>
     267      <para id="gdm-config-dbus">The shipped <filename>gnome.desktop</filename>
     268      file does not start the session <application>D-BUS</application> daemon, and
     269      as a result not all the files required by a <application>GNOME</application>
     270      window manager will be found.  You can create a new
     271      Xsession file using the following command as the root user.</para>
    248272
    249273<screen role="root"><userinput>cat &gt; $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop &lt;&lt; "EOF"
     
    264288      your default session.</para>
    265289
     290      <para>After you have compared the results from using these two different
     291      files, and particularly if the translations in the shipped file are useful
     292      to you, you can edit the <literal>Exec</literal> and <literal>TryExec</literal>
     293      commands in the provided <filename>gnome.desktop</filename> file. Alternatively,
     294      you can delete it if you find it useless.</para>
     295
    266296      <note>
    267297        <para>You may use the <filename class='extension'>.desktop</filename>
     
    280310
    281311      <para><command>gdm</command> can be tested by executing it as the
    282       <systemitem class="username">root</systemitem> user. Use the
    283       <command>gdm-stop</command> command if you wish to stop the display
    284       manager.</para>
     312      <systemitem class="username">root</systemitem> user. If you wish to stop
     313      it you will need to go to a different tty and then kill it.</para>
    285314
    286315    </sect3>
Note: See TracChangeset for help on using the changeset viewer.