%general-entities; ]> $LastChangedBy$ $Date$ gdm-&gdm-version;.tar gdm GDM-&gdm-version; GDM Introduction to GDM The GDM package contains GNOME's Display Manager daemon. This is useful for allowing configurable graphical logins. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &gdm-md5sum; Download size: &gdm-size; Estimated disk space required: &gdm-buildsize; Estimated build time: &gdm-time; GDM Dependencies Required , and Optional and Installation of GDM It is recommended to have a dedicated user and group to take control of the gdm-binary daemon after it is started. Issue the following commands as the root user: groupadd -g 21 gdm && useradd -c "GDM Daemon Owner" -d /dev/null \ -g gdm -s /bin/bash -u 21 gdm Install GDM by running the following commands as an unprivileged user: ./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 This package does not come with a test suite. Now, as the root user: make install && chmod -v 644 `pkg-config --variable=prefix ORBit-2.0`\ /share/gdm/BuiltInSessions/default.desktop \ `pkg-config --variable=prefix ORBit-2.0`\ /share/xsessions/gnome.desktop Command Explanations --sysconfdir=/etc/gnome: This command puts configuration files in /etc/gnome instead of $GNOME_PREFIX/etc. --localstatedir=/var/lib: This command puts files in /var/lib instead of $GNOME_PREFIX/var. This also has the downside affect of using /var/lib/log/gdm as the log directory. See the Configuration Information section below for information how to relocate the log file directory. --with-pam-prefix=/etc: This command puts PAM configuration files in /etc/pam.d instead of /etc/gnome. Configuring GDM Config Files /etc/gnome/gdm/gdm.conf /etc/gnome/gdm/gdm.conf Configuration Information Change the directory containing the GDM log files to the /var/log hierarchy by creating a directory and modifying the /etc/gnome/gdm/gdm.conf configuration file. Issue the following commands as the root user: install -v -m755 -d /var/log/gdm && sed -i "s|var/lib/log|var/log|" /etc/gnome/gdm/gdm.conf The GDM PAM config files contain modules not present in a BLFS installation. The following commands will replace those files (issue as the root user): 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 /etc/pam.d/gdm /etc/pam.d/gdm-autologin If you have D-BUS installed and you want to start the session D-BUS daemon when you start the GNOME desktop environment using gdm, you'll need to create a new Xsession file. Create the file using the following command as the root user. cat > $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop << "EOF" [Desktop Entry] Encoding=UTF-8 Name=GNOME with D-BUS Comment=GNOME Desktop with D-BUS support Exec=dbus-launch --exit-with-session gnome-session TryExec=/usr/bin/dbus-launch Icon= Type=Application EOF Choose this session using the session selection dialog on the display manager login screen. You also have the opportunity to make this your default session. You may use the .desktop file created above as an example to create additional .desktop files and add any other desired items to the GDM display manager session selection menu. gdm can be tested by executing it as the root user. Use the gdm-stop command if you wish to stop the display manager. Boot Script To start a graphical login at boot, install the /etc/rc.d/init.d/gdm init script included in the package. If your GNOME_PREFIX environment variable is anything other than /usr or /opt/gnome-&gnome-version;, you will need to modify the PATH statement in the script to include the path where you have GNOME installed. gdm 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: Contents Installed Programs Installed Libraries Installed Directories gdm, gdm-binary, gdmXnest, gdmXnestchooser, gdmchooser, gdmflexiserver, gdmgreeter, gdmlogin, gdmphotosetup, gdmsetup, gdmthemetester, gdm-restart, gdm-safe-restart, gdm-stop, gdmconfig, gdmopen, and gdmtranslate None /etc/gnome/dm, /etc/gnome/gdm, $GNOME_PREFIX/share/gdm, $GNOME_PREFIX/share/gnome/capplets, $GNOME_PREFIX/share/gnome/help/gdm, $GNOME_PREFIX/share/omf/gdm, $GNOME_PREFIX/share/xsessions, /var/lib/gdm and /var/log/gdm Short Descriptions gdm is a wrapper script to execute the GDM binary, the configurable GNOME based login prompt. gdm gdmchooser is an application for selecting XDMCP enabled hosts on the local network. gdmchooser gdmsetup is a graphical interface to edit the gdm.conf file. gdmsetup gdm-restart sends the HUP signal to the GDM daemon so that it restarts. It's used after the config file is edited gdm-restart gdm-safe-restart sends the USR1 signal to the GDM daemon so that it restarts. It's used after the config file is edited. gdm-safe-restart gdmconfig is an application for managing the configuration of the entire GDM applications suite. It handles look and feel, security, XDMCP, GDMchooser and more. gdmconfig