---
name: "smproxy"
section: "1x"
platform: "linux"
package: "xbase-clients"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/smproxy/1x"
---

# smproxy(1x)

Session Manager Proxy

## NAME

smproxy - Session Manager Proxy

## SYNOPSIS

**smproxy** \[-clientId id\] \[-restore saveFile\]

## OPTIONS

- **-clientId *id***

  Specifies the session ID used by *smproxy* in the previous session.

- **-restore *saveFile***

  Specifies the file used by *smproxy* to save state in the previous session.

## DESCRIPTION

*smproxy* allows X applications that do not support X11R6 session management to participate in an X11R6 session.  \

In order for *smproxy* to act as a proxy for an X application, one of the following must be true:\

\- The application maps a top level window containing the **WM\_CLIENT\_LEADER** property.  This property provides a pointer to the client leader window which contains the **WM\_CLASS**, **WM\_NAME**, **WM\_COMMAND**, and **WM\_CLIENT\_MACHINE** properties.\

or ...\

\- The application maps a top level window which does not contain the **WM\_CLIENT\_LEADER** property.  However, this top level window contains the **WM\_CLASS**, **WM\_NAME**, **WM\_COMMAND**, and **WM\_CLIENT\_MACHINE** properties.

An application that support the **WM\_SAVE\_YOURSELF** protocol will receive a **WM\_SAVE\_YOURSELF** client message each time the session manager issues a checkpoint or shutdown.  This allows the application to save state.  If an application does not support the **WM\_SAVE\_YOURSELF** protocol, then the proxy will provide enough information to the session manager to restart the application (using **WM\_COMMAND**), but no state will be restored.

## SEE ALSO

[xsm(1)](/xsm/1.md)

## AUTHOR

Ralph Mor, X Consortium
