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

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 v1_0 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 b6c918a was b6c918a, checked in by Larry Lawrence <larry@…>, 21 years ago

update to gdm-2.4.0.12

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

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