The GDM package contains GNOME's Display Manager daemon. This is useful for allowing configurable graphical logins.
Download (HTTP): http://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-2.6.0.2.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-2.6.0.2.tar.bz2
Download size: 2.9 MB
Estimated Disk space required: 54 MB
Estimated build time: 0.65 SBU
Install GDM by running the following commands:
groupadd gdm &&
useradd -c gdm -d /dev/null -g gdm -s /bin/bash gdm &&
./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
--libexecdir=`pkg-config --variable=prefix ORBit-2.0`/sbin \
--sysconfdir=/etc/gnome --localstatedir=/var/lib \
--with-pam-prefix=/etc &&
make &&
make install
--sysconfdir=/etc/gnome: This command puts configuration files in /etc/gnome instead of /opt/gnome2/etc.
--localstatedir=/var/lib: This command puts files in /var/lib instead of /opt/gnome2/var.
--with-pam-prefix=/etc: This command puts PAM configuration files in /etc/pam.d instead of /etc/gnome.
The GDM PAM config files contain modules not present in a BLFS installation. The following commands will replace those files:
cat > /etc/pam.d/gdm << "EOF" auth required pam_unix.so auth required pam_nologin.so account required pam_unix.so password required pam_unix.so session required pam_unix.so EOF cat > /etc/pam.d/gdm-autologin << "EOF" auth required pam_env.so auth required pam_nologin.so auth required pam_permit.so account required pam_unix.so password required pam_unix.so session required pam_unix.so EOF
gdm can be tested by executing it from a root console.
To start a graphical login at boot, install the /etc/rc.d/init.d/gdm init script included in the blfs-bootscripts-5.1 package.
make install-gdm
To autostart with a graphical login, edit /etc/inittab so that the line containing:
id:3:initdefault:
is changed to:
id:5:initdefault:
The GDM package contains gdm, gdm-binary, gdmXnest, gdmXnestchooser, gdmchooser, gdmflexiserver, gdmgreeter, gdmlogin, gdmphotosetup, gdmsetup, gdmthemetester, gdm-restart, gdm-safe-restart, gdm-stop, gdmconfig, gdmopen and gdmtranslate.
gdm-restart sends the HUP signal and gdm-safe-restart sends the USR1 signal to the GDMdaemon so that it restarts. They are used after the config file is edited.