source: gnome/other/gdm/gdm-config.xml@ ae9c528

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ae9c528 was 369af35a, checked in by Igor Živković <igor@…>, 20 years ago

s/source/./ in init scripts

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

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[21ed669]1<sect2>
[8f28642]2<title>Configuring <application>GDM</application></title>
[21ed669]3
4<sect3><title>Config files</title>
[e80cc95]5<para><filename>/opt/gnome2/gdm.conf</filename>, <filename>/opt/gnome2/gnomerc</filename></para>
[21ed669]6</sect3>
7
8<sect3><title>Configuration Information</title>
9
[8f28642]10<para>The <application>GDM</application> <application>PAM</application>
[05ecbec4]11config files contain modules not present in a <acronym>BLFS</acronym>
[d718dddd]12installation. The following commands will replace those files:</para>
[05ecbec4]13<screen><userinput><command>cat &gt; /etc/pam.d/gdm &lt;&lt; "EOF"</command>
[2f66c98]14auth required pam_unix.so
15auth required pam_nologin.so
16account required pam_unix.so
17password required pam_unix.so
18session required pam_unix.so
[a75063d4]19<command>EOF
20cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"</command>
[2f66c98]21auth required pam_env.so
22auth required pam_nologin.so
23auth required pam_permit.so
24account required pam_unix.so
25password required pam_unix.so
26session required pam_unix.so
[05ecbec4]27<command>EOF</command></userinput></screen>
[2f66c98]28
[05ecbec4]29<para><command>gdm</command> can be tested by executing it from a root console.</para>
[2f66c98]30
[05ecbec4]31<para>To automate the running of <command>gdm</command>, use the following command to
[a75063d4]32create the init.d script if your
33GNOME_PREFIX=/opt/gnome-&gnome-version;. The fully qualified paths can
34be removed for GNOME_PREFIX=/usr:</para>
[05ecbec4]35<screen><userinput><command>cat &gt; /etc/rc.d/init.d/gdm &lt;&lt; "EOF"</command>
[369af35a]36#!/bin/sh
[d718dddd]37# Begin $rc_base/init.d/gdm
[2f66c98]38
[d718dddd]39# Based on sysklogd script from LFS-3.1 and earlier.
40# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
41
[369af35a]42. /etc/sysconfig/rc
43. $rc_functions
[d718dddd]44
45case "$1" in
46 start)
[8f28642]47 echo "Starting GDM..."
[a513a17]48 loadproc /opt/gnome-&gnome-version;/bin/gdm
[d718dddd]49 ;;
50
51 stop)
[8f28642]52 echo "Stopping GDM..."
[ac931bb]53 if [ -f /var/run/gdm.pid ]; then
[a513a17]54 loadproc /opt/gnome-&gnome-version;/sbin/gdm-stop
[ac931bb]55 fi
[d718dddd]56 ;;
57
58 reload)
[8f28642]59 echo "Reloading GDM..."
[a513a17]60 reloadproc /opt/gnome-&gnome-version;/sbin/gdm-safe-restart
[d718dddd]61 ;;
62
63 restart)
[8f28642]64 echo "Restarting GDM..."
[a513a17]65 loadproc /opt/gnome-&gnome-version;/sbin/gdm-restart
[d718dddd]66 ;;
67
68 *)
[1b12c18]69 echo "Usage: $0 {start|stop|reload|restart}"
[d718dddd]70 exit 1
71 ;;
72esac
73
74# End $rc_base/init.d/gdm
[05ecbec4]75<command>EOF
[a75063d4]76chmod 755 /etc/rc.d/init.d/gdm</command></userinput></screen>
[d718dddd]77
[1100e0d]78<para>Create the symbolic links to this file in the relevant
79<filename>rc.d</filename>
[a75063d4]80directory with the following commands:</para>
[05ecbec4]81<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
[d718dddd]82ln -sf ../init.d/gdm ../rc0.d/K05gdm &amp;&amp;
83ln -sf ../init.d/gdm ../rc1.d/K05gdm &amp;&amp;
84ln -sf ../init.d/gdm ../rc2.d/K05gdm &amp;&amp;
85ln -sf ../init.d/gdm ../rc3.d/K05gdm &amp;&amp;
86ln -sf ../init.d/gdm ../rc4.d/K05gdm &amp;&amp;
87ln -sf ../init.d/gdm ../rc5.d/S95gdm &amp;&amp;
[a75063d4]88ln -sf ../init.d/gdm ../rc6.d/K05gdm</command></userinput></screen>
[d718dddd]89
90<para>To autostart with a graphical login, edit
[a75063d4]91<filename>/etc/inittab</filename> so that the line reading</para>
[d718dddd]92<screen>id:3:initdefault:</screen>
[a75063d4]93<para>is changed to</para>
94<screen>id:5:initdefault:</screen>
[2f66c98]95
[21ed669]96</sect3>
97
98</sect2>
99
Note: See TracBrowser for help on using the repository browser.