Introduction to Xfce4 Session

Xfce4 Session is a session manager for Xfce. Its task is to save the state of your desktop (opened applications and their location) and restore it during a next startup. You can create several different sessions and choose one of them on startup.

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

Package Information

Xfce4 Session Dependencies


libwnck-2.30.7, libxfce4ui-4.12.1, Which-2.21, and Xorg Applications


Required Runtime


User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xfce4-session

Installation of Xfce4 Session

Install Xfce4 Session by running the following commands:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --disable-legacy-sm &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--disable-legacy-sm: This switch disables legacy session management which isn't necessary on modern system.

Configuring Xfce4 Session

There are several optional run time dependencies for Xfce4: D-Bus-1.10.6, GnuPG-2.1.12, hicolor-icon-theme-0.15, OpenSSH-7.2p2 and Systemd-230

To launch Xfce4 use the command startxfce4.

When building an Xfce4 packages, some configuration files are installed in /usr/share/applications, /usr/share/icons, and /usr/share/mime. In order to use those files in your Xfce4 session, you need to update various databases. Run the following commands as the root user to update them (you need to have the recommended dependencies installed):

update-desktop-database &&
update-mime-database /usr/share/mime


Installed Programs: xfce4-session, xfce4-session-logout, xfce4-session-settings and xfce4-tips
Installed Library: libxfsm-4.6.so
Installed Directories: /usr/include/xfce4/xfce4-session-4.6, /usr/share/xfce4/tips and /usr/share/doc/xfce4-session-4.12.1

Short Descriptions


starts up the Xfce Desktop Environment.


logs out from Xfce.


is a GTK+ 2 GUI which allows you to alter your preferences for your Xfce Session.


is a GTK+ 2 GUI which displays tips when you log in to an Xfce Session.


contains the Xfce Session API functions.

Last updated on 2016-05-05 20:04:13 -0500