GDM-3.36.2

GDM の概要

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

本パッケージは LFS-9.1 において正しくビルドでき動作することが確認されています。

パッケージ情報

GDM の依存パッケージ

必須

AccountsService-0.6.55, GTK+-3.24.21, ISO Codes-4.5.0, itstool-2.0.6, keyutils-1.6.1, libcanberra-0.30, libdaemon-0.14, Linux-PAM-1.4.0

Runtime Dependencies

gnome-session-3.36.0, gnome-shell-3.36.3, and elogind-243.7

ユーザー情報: http://wiki.linuxfromscratch.org/blfs/wiki/gdm

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

一般ユーザーになって、以下のコマンドを実行し GDM をビルドします。

sed 's@systemd@elogind@' -i data/pam-lfs/gdm-launch-environment.pam &&

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

このパッケージに利用可能なテストスイートはありません。

root ユーザーとなって以下を実行します。

make install

コマンド説明

--disable-static: このスイッチはスタティックライブラリをインストールしないようにします。

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

GDM の設定

設定ファイル

/etc/gdm/custom.conf

設定情報

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.

Boot Script

To start the gdm automatically when the system is booted, install the /etc/rc.d/init.d/gdm init script included in the blfs-bootscripts-20200404 package and set the default runlevel to 5 (graphical login) 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

You should also disable default elogind power management:

cat >> /etc/elogind/logind.conf << "EOF"
AllowSuspend=no
AllowHibernation=no
EOF

パッケージ構成

インストールプログラム: gdm, gdmflexiserver, gdm-screenshot
インストールライブラリ: libgdm.so, pam_gdm.so (PAM モジュール)
インストールディレクトリ: /etc/gdm, /usr/include/gdm, /usr/share/gdm, /usr/share/help/*/gdm, /var/cache/gdm, /var/lib/gdm, /var/log/gdm, /var/run/gdm

概略説明

gdm

is a login prompt for GNOME.

gdm-screenshot

is a screenshot tool for GDM.

最終更新日: 2020-05-06 00:31:20 +0900