#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 41. Other X-based Programs

- Prev

  xdg-utils-1.2.1

- Next

  Multimedia

- Up
- Home

# XScreenSaver-6.15

## Introduction to XScreenSaver

The XScreenSaver package is a modular screen saver and locker for the X Window System. It is highly customizable and allows the use of any program that can draw on the root window as a display mode. The purpose of XScreenSaver is to display pretty pictures on your screen when it is not in use, in keeping with the philosophy that unattended monitors should always be doing something interesting, just like they do in the movies. However, XScreenSaver can also be used as a screen locker, to prevent others from using your terminal while you are away.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://www.jwz.org/xscreensaver/xscreensaver-6.15.tar.gz

- Download MD5 sum: 65cd8d94841019763e1246df097612ff

- Download size: 32 MB

- Estimated disk space required: 379 MB

- Estimated build time: 0.4 SBU (Using parallelism=4)

### XScreenSaver Dependencies

#### Required

GTK-3.24.52, Intltool-0.51.0, and Xorg Applications

#### Recommended

GLU-9.0.3

#### Optional

GDM-50.0, FFmpeg-8.1, Linux-PAM-1.7.2, MIT Kerberos V5-1.22.2, and GLE

## Installation of XScreenSaver

Install XScreenSaver by running the following commands:

    ./configure --prefix=/usr --with-systemd &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

`--with-setuid-hacks`: This switch allows some demos to be installed setuid `root` which is needed in order to ping other hosts.

## Configuring XScreenSaver

### Config Files

`/etc/X11/app-defaults/XScreenSaver` and `~/.xscreensaver`

### Linux PAM Configuration

If XScreenSaver has been built with Linux PAM support, you need to create a PAM configuration file, to get it working correctly with BLFS.

Issue the following commands as the `root` user to create the configuration file for Linux PAM:

    cat > /etc/pam.d/xscreensaver << "EOF"
    # Begin /etc/pam.d/xscreensaver

    auth    include system-auth
    account include system-account

    # End /etc/pam.d/xscreensaver
    EOF

## Contents

Installed Programs: xscreensaver, xscreensaver-command, xscreensaver-demo, and xscreensaver-settings
Installed Libraries: None
Installed Directories: /usr/libexec/xscreensaver and /usr/share/xscreensaver

### Short Descriptions

xscreensaver | is a screen saver and locker daemon
xscreensaver-command | controls a running xscreensaver process by sending it client messages
xscreensaver-demo | is a symlink to xscreensaver-settings
xscreensaver-settings | is a graphical front-end for setting the parameters used by the background xscreensaver daemon

- Prev

  xdg-utils-1.2.1

- Next

  Multimedia

- Up
- Home