NAME

smproxy - Session Manager Proxy

SYNOPSIS

smproxy [-clientId id] [-restore saveFile]

OPTIONS

-clientId _i_d
Specifies the session ID used by _s_m_p_r_o_x_y in the previous session.
-restore _s_a_v_e_F_i_l_e
Specifies the file used by _s_m_p_r_o_x_y to save state in the previous session.

DESCRIPTION

_s_m_p_r_o_x_y allows X applications that do not support X11R6 session management to participate in an X11R6 session.


In order for _s_m_p_r_o_x_y 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 WWMM__CCLLIIEENNTT__LLEEAADDEERR property. This property provides a pointer to the client leader window which contains the WWMM__CCLLAASSSS, WWMM__NNAAMMEE, WWMM__CCOOMMMMAANNDD, and WWMM__CCLLIIEENNTT__MMAACCHHIINNEE properties.


or ...


- The application maps a top level window which does not contain the WWMM__CCLLIIEENNTT__LLEEAADDEERR property. However, this top level window contains the WWMM__CCLLAASSSS, WWMM__NNAAMMEE, WWMM__CCOOMMMMAANNDD, and WWMM__CCLLIIEENNTT__MMAACCHHIINNEE properties.

An application that support the WWMM__SSAAVVEE__YYOOUURRSSEELLFF protocol will receive a WWMM__SSAAVVEE__YYOOUURRSSEELLFF 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 WWMM__SSAAVVEE__YYOOUURRSSEELLFF protocol, then the proxy will provide enough information to the session manager to restart the application (using WWMM__CCOOMMMMAANNDD), but no state will be restored.

SEE ALSO

xsm(1)

AUTHOR

Ralph Mor, X Consortium