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

### Chapter 33. GNOME Libraries and Desktop

- Prev

  gnome-shell-extensions-41.2

- Next

  GDM-41.3

- Up
- Home

# gnome-session-41.3

## 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-11.1 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gnome-session/41/gnome-session-41.3.tar.xz

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gnome-session/41/gnome-session-41.3.tar.xz

- Download MD5 sum: f0ccb8a21871a7dce3c3b104fe33a31a

- Download size: 476 KB

- Estimated disk space required: 16 MB

- Estimated build time: 0.1 SBU

### GNOME Session Dependencies

#### Required

dbus-glib-0.112, gnome-desktop-41.3, JSON-GLib-1.6.6, Mesa-21.3.6, Systemd-250, and UPower-0.99.13

#### Optional

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

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gnome-session

## Installation of GNOME Session

When running GNOME under Wayland-1.20.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/gnome-session.in

Install GNOME Session by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr --buildtype=release .. &&
    ninja

This package does not come with a test suite.

Now, as the `root` user:

    ninja install

Move the documentation to a versioned directory:

    mv -v /usr/share/doc/gnome-session{,-41.3}

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

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-41.3 and /usr/share/gnome-session

### Short Descriptions

gnome-session | is used to start up the GNOME Desktop environment
gnome-session-inhibit | is used to inhibit certain GNOME Session functionality while executing the given command
gnome-session-quit | is used to end the GNOME Session

Last updated on

- Prev

  gnome-shell-extensions-41.2

- Next

  GDM-41.3

- Up
- Home