source: gnome/other/gdm/gdm-config.xml@ 05ecbec4

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_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 05ecbec4 was 05ecbec4, checked in by Larry Lawrence <larry@…>, 21 years ago

update to gconf-editor-0.4.1 and gdm-2.4.1.4

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

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