The GNOME Session package contains the GNOME session manager.
This package is known to build and work properly using an LFS-7.2 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gnome-session/3.6/gnome-session-3.6.2.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gnome-session/3.6/gnome-session-3.6.2.tar.xz
Download MD5 sum: 355730543dbcc166f331d806cd0da22d
Download size: 716 KB
Estimated disk space required: 20 MB
Estimated build time: 0.3 SBU
GConf-3.2.6, GTK+-3.6.4, JSON-GLib-0.16.0 and UPower-0.9.20
ConsoleKit-0.4.6 (if you intend to use startx to initiate your GNOME desktop)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnome-session
Install GNOME Session by running the following commands:
./configure --prefix=/usr --libexecdir=/usr/lib/gnome-session && make
This package does not come with a test suite.
Now, as the root user:
make install
--enable-docbook-docs: This switch is
used to enable building of the documentation.
If you are not using GDM to start your GNOME desktop, you will need to invoke gnome-session instead of invoking a window-manager directly. All of the packages in the 'Desktop' section of this chapter need to be installed first, and some of the 'Applications' - particularly GNOME Terminal (xterm does not install a '.desktop' file and so not appear in the menus).
When gnome-session is run, it invokes the necessary daemons and either Metacity or gnome-shell. A desktop manager such as GDM will invoke ConsoleKit before the window manager, but if you use startx the first invocation after booting may fail because the daemon is not already running, so it is invoked first.
To automatically start the gnome-session window manager when you issue
the startx command,
backup your current ~/.xinitrc
before proceeding. Note that you will be able to invoke
GNOME Terminal from the menu, so
there is no reason to invoke xterm here. Create a new
.xinitrc using this command:
cat >> ~/.xinitrc << "EOF"
exec ck-launch-session dbus-launch --exit-with-session gnome-session
EOF
Last updated on 2013-02-11 18:51:17 +0000