GDM-3.32.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 33. GNOME Libraries and Desktop

- Prev

  gnome-session-3.32.0

- Next

  gnome-user-docs-3.32.3

- Up
- Home

# GDM-3.32.0

## Introduction to GDM

GDM is a system service that is responsible for providing graphical logins and managing local and remote displays.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gdm/3.32/gdm-3.32.0.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gdm/3.32/gdm-3.32.0.tar.xz

- Download MD5 sum: 6aea9c398b2c0edb494c932d5865e877

- Download size: 1.2 MB

- Estimated disk space required: 43 MB

- Estimated build time: 0.3 SBU

### GDM Dependencies

#### Required

AccountsService-0.6.55, GTK+-3.24.10, ISO Codes-4.3, itstool-2.0.6, keyutils-1.6, libcanberra-0.30, libdaemon-0.14, and Linux-PAM-1.3.1

#### Runtime Dependencies

gnome-session-3.32.0, gnome-shell-3.32.2, and Systemd-241

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gdm

## 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

Install GDM by running the following commands:

    ./configure --prefix=/usr         \
                --sysconfdir=/etc     \
                --localstatedir=/var  \
                --without-plymouth    \
                --disable-static      \
                --enable-gdm-xsession \
                --with-pam-mod-dir=/lib/security &&
    make

This package does not come with a usable test suite.

Now, as the `root` user:

    make install &&
    install -v -m644 data/gdm.service /lib/systemd/system/gdm.service

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--with-initial-vt=7`: Use this switch to make GDM start on VT7 instead of the first free VT.

`--without-plymouth`: GDM now explicitly requires plymouth to be installed. Use this switch to disable this dependency.

`--with-default-pam-config=lfs`: 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.

`--enable-gdm-xsession`: This enables the installation of the GDM Xsession file.

## Configuring GDM

### Config Files

`/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.

### Systemd Unit

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

## Contents

Installed Programs: gdm, gdmflexiserver, and gdm-screenshot
Installed Libraries: libgdm.so and pam_gdm.so (PAM Module)
Installed Directories: /etc/gdm, /usr/include/gdm, /usr/share/gdm, /usr/share/help/*/gdm, /var/cache/gdm, /var/lib/gdm, /var/log/gdm, and /var/run/gdm

### Short Descriptions

gdm | is a login prompt for GNOME.
gdm-screenshot | is a screenshot tool for GDM.

Last updated on 2019-08-29 13:29:12 -0700

- Prev

  gnome-session-3.32.0

- Next

  gnome-user-docs-3.32.3

- Up
- Home