Introduction to GNOME Session

The GNOME Session package contains the GNOME session manager.

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

Package Information

GNOME Session Dependencies


dbus-glib-0.110, gnome-desktop-3.32.2, JSON-GLib-1.4.4, Mesa-19.1.4, Systemd-241, and UPower-0.99.10


GConf-3.2.6, xmlto-0.0.28, and libxslt-1.1.33 with docbook-xml-4.5 and docbook-xsl-1.79.2 (to build the documentation)

User Notes:

Installation of GNOME Session

When running Gnome under Wayland-1.17.0, environment settings are not imported for the user using the system profile. The Wayland developers are currently undecided on a standard method to provide system environment settings for user sessions. To work around this limitation, execute the following command to make gnome-session use a login shell:

sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/

Install GNOME Session by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr .. &&

This package does not come with a test suite.

Now, as the root user:

ninja install


Installed Programs: gnome-session, gnome-session-custom-session, gnome-session-inhibit, and gnome-session-quit
Installed Libraries: None
Installed Directories: /usr/share/doc/gnome-session-3.32.0 and /usr/share/gnome-session

Short Descriptions


is used to start up the GNOME Desktop environment.


is used to inhibit certain GNOME Session functionality while executing the given command.


is used to end the GNOME Session.

Last updated on 2019-08-25 11:35:01 -0700