Changeset fe88f584 for gnome/other


Ignore:
Timestamp:
03/28/2004 07:14:54 AM (18 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
babc75b
Parents:
ae9c528
Message:

Completed lfs-bootscripts changes

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/other/gdm/gdm-config.xml

    rae9c528 rfe88f584  
    2929<para><command>gdm</command> can be tested by executing it from a root console.</para>
    3030
    31 <para>To automate the running of <command>gdm</command>, use the following command to
    32 create the init.d script if your
    33 GNOME_PREFIX=/opt/gnome-&gnome-version;.  The fully qualified paths can
    34 be removed for GNOME_PREFIX=/usr:</para>
    35 <screen><userinput><command>cat &gt; /etc/rc.d/init.d/gdm &lt;&lt; "EOF"</command>
    36 #!/bin/sh
    37 # Begin $rc_base/init.d/gdm
     31<para>To start a graphical login at boot, install <filename>/etc/rc.d/init.d/gdm</filename>
     32init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
    3833
    39 # Based on sysklogd script from LFS-3.1 and earlier.
    40 # Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
    41 
    42 . /etc/sysconfig/rc
    43 . $rc_functions
    44 
    45 case "$1" in
    46         start)
    47                 echo "Starting GDM..."
    48                 loadproc /opt/gnome-&gnome-version;/bin/gdm
    49                 ;;
    50 
    51         stop)
    52                 echo "Stopping GDM..."
    53                 if [ -f /var/run/gdm.pid ]; then
    54                 loadproc /opt/gnome-&gnome-version;/sbin/gdm-stop
    55                 fi
    56                 ;;
    57 
    58         reload)
    59                 echo "Reloading GDM..."
    60                 reloadproc /opt/gnome-&gnome-version;/sbin/gdm-safe-restart
    61                 ;;
    62 
    63         restart)
    64                 echo "Restarting GDM..."
    65                 loadproc /opt/gnome-&gnome-version;/sbin/gdm-restart
    66                 ;;
    67 
    68         *)
    69                 echo "Usage: $0 {start|stop|reload|restart}"
    70                 exit 1
    71                 ;;
    72 esac
    73 
    74 # End $rc_base/init.d/gdm
    75 <command>EOF
    76 chmod 755 /etc/rc.d/init.d/gdm</command></userinput></screen>
    77 
    78 <para>Create the symbolic links to this file in the relevant
    79 <filename>rc.d</filename>
    80 directory with the following commands:</para>
    81 <screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    82 ln -sf ../init.d/gdm ../rc0.d/K05gdm &amp;&amp;
    83 ln -sf ../init.d/gdm ../rc1.d/K05gdm &amp;&amp;
    84 ln -sf ../init.d/gdm ../rc2.d/K05gdm &amp;&amp;
    85 ln -sf ../init.d/gdm ../rc3.d/K05gdm &amp;&amp;
    86 ln -sf ../init.d/gdm ../rc4.d/K05gdm &amp;&amp;
    87 ln -sf ../init.d/gdm ../rc5.d/S95gdm &amp;&amp;
    88 ln -sf ../init.d/gdm ../rc6.d/K05gdm</command></userinput></screen>
     34<screen><userinput><command>make install-gdm</command></userinput></screen>
    8935
    9036<para>To autostart with a graphical login, edit
Note: See TracChangeset for help on using the changeset viewer.