---
name: "logout-button"
section: "1x"
platform: "linux"
package: "logout-button"
version: "19980721-2.2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/logout-button"
---

# logout-button(1x)

creates button which is used with an appropriate .xsession to terminate the user's session.

## NAME

logout-button - creates button which is used with an appropriate .xsession to terminate the user's session.

## SYNOPSIS

**logout-button**

## DESCRIPTION

This manual page documents briefly the **logout-button** command.

**logout-button** puts up a button on your screen, which exits when pressed. If set up  correctly, the exiting of the logout-button will cause the X Display Manager to end the session that was started by logging in.

## OPTIONS

**logout-button** has no command line options whatsoever.

## SETUP

To use with the example provided: First, copy the example .xsession file into your home directory, making sure it's named .xsession. Make it executable. Next, edit it to taste, starting any desired clients in the background. Be sure to choose your favorite window manager. That should be it!

You might try without editing first; if problems come up, you can log in on a text console and look at the file .xsession-errors to see what might have gone wrong.

Note! If you later get something else to act as your session manager,  you can still use the .xsession, just replace the "exec logout-button" with "exec \<yourSessionManager\>".

For example, Gnome has a session manager called gnome-session, so you could replace the exec line with "exec gnome-session".

## FILES

\~you/.xsession\
 \~you/.xsession-errors\
 /usr/doc/logout-button/examples/example.xsession

## SEE ALSO

See also the example .xsession (cited above) and the description of the  package.

## AUTHOR

This manual page was written by Jim Lynch \<jwl@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
