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-7.2 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gdm/3.6/gdm-3.6.2.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gdm/3.6/gdm-3.6.2.tar.xz
Download MD5 sum: b1924268d1515b8b947acbbe49d72292
Download size: 1.6 MB
Estimated disk space required: 65 MB
Estimated build time: 0.5 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
groupadd -g 21 gdm && useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \ -g gdm -s /bin/false gdm && usermod -a -G audio gdm && usermod -a -G video gdm
Install GDM by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/gdm \ --with-initial-vt=7 \ --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \ --with-authentication-agent-directory=/usr/lib/polkit-gnome \ --with-check-accelerated-directory=/usr/lib/gnome-session \ --with-consolekit-directory=/usr/lib/ConsoleKit \ --disable-static && make
If you have installed Check-0.9.10 and you wish to run the testsuite, issue: make check.
Now, as the
make install && chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
switch causes GDM to start on vt7
instead of the first free VT.
These switches specify the location of programs that are used at
switch prevents installation of static versions of the libraries.
this switch if you did not create
/etc/lfs-release or distribution auto detection
will fail and you will be unable to use GDM.
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.
If the system-wide D-BUS daemon was running during the installation of gdm, ensure you stop and restart the D-BUS daemon before attempting to start gdm.
gdm can be tested
by executing it as the
If you wish to stop it you will need to go to a different tty and
then kill it.
To start a graphical login when the system is booted, install the
/etc/rc.d/init.d/gdm init script
included in the blfs-bootscripts-20130512 package.
/etc/inittab with the
sed -i 's/id:3:initdefault:/id:5:initdefault:/' \ /etc/inittab
Last updated on 2013-02-10 18:12:25 +0000