%general-entities; ]> GDM-&gdm-version; GDM Introduction to GDM GDM is a system service that is responsible for providing graphical logins and managing local and remote displays. &lfs112_checked; 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 Runtime Dependencies , , and User Notes: Installation of GDM It is recommended to have a dedicated user and group to take control of the gdm daemon after it is started. Issue the following commands as the root user: groupadd -g 21 gdm && useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \ -g gdm -s /bin/false gdm && passwd -ql gdm First, adapt GDM to build without systemd present: sed -i -r '/(^| )systemd_dep/d' meson.build Install GDM by running the following commands: sed -e 's@systemd@elogind@' \ -e '/elogind/isession required pam_loginuid.so' \ -i data/pam-lfs/gdm-launch-environment.pam && mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dgdm-xsession=true \ -Drun-dir=/run/gdm \ -Dsystemd-journal=false \ -Dsystemdsystemunitdir=/tmp \ -Dsystemduserunitdir=/tmp .. && ninja mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dgdm-xsession=true \ -Drun-dir=/run/gdm .. ninja This package does not come with a usable test suite. Now, as the root user: ninja install && rm -rv /tmp/*.{service,target.d} ninja install Command Explanations : Use this switch to make GDM start on VT7 instead of the first free VT. : Use this switch if you did not create the /etc/lfs-release file or distribution auto detection will fail and you will be unable to use GDM. -Dgdm-xsession=true: This enables the installation of the GDM Xsession file. Configuring GDM Config Files /etc/gdm/custom.conf /etc/gdm/custom.conf Configuration Information The GDM daemon is configured using the /etc/gdm/custom.conf file. Default values are stored in GSettings in the gdm.schemas file. It is recommended that end-users modify the /etc/gdm/custom.conf file because the schemas file may be overwritten when the user updates their system to have a newer version of GDM. <phrase revision="sysv">Boot Script</phrase> <phrase revision="systemd">Systemd Unit</phrase> gdm To start gdm automatically when the system is switched to runlevel 5, install the /etc/rc.d/init.d/xdm script and the /etc/sysconfig/xdm configuration file included in the package and adjust /etc/inittab by running as the root user: make install-gdm In order to permanently set the default runlevel to 5, starting the gdm greeter screen automatically, you can modify /etc/inittab. As the root user: sed /initdefault/s/3/5/ -i /etc/inittab To start the gdm daemon at boot, enable the previously installed systemd unit by running the following command as the root user: systemctl enable gdm Starting GNOME It is possible to start GNOME from the command line, rather than using GDM. However, you must still have GDM installed for some portions of the desktop to work. One reason to start from the command line is if you want Wayland support on a system that has the proprietary NVIDIA driver installed, since GDM will not show the Wayland session type on such a system. To start GNOME using , run the following commands: cat > ~/.xinitrc << "EOF" dbus-run-session gnome-session EOF startx Alternatively, to start GNOME with Wayland support, run the following command: dbus-run-session -- gnome-shell --display-server --wayland Contents Installed Programs Installed Libraries Installed Directories gdm, gdmflexiserver, and gdm-screenshot libgdm.so and pam_gdm.so (PAM Module) /etc/gdm, /usr/include/gdm, /usr/share/gdm, and /usr/share/help/*/gdm Short Descriptions gdm is a login prompt for GNOME gdm gdm-screenshot is a screenshot tool for GDM gdm-screenshot