This is distinct from the X11 protocol
and uses different (and variable) ports.
At the beginning of a session, the SM starts clients that have a saved state. To enable
communication with the session manager, clients are passed a connection string in
the SESSION_MANAGER environment variable. This takes one of two forms, depending
on whether TCP/IP or Unix domain sockets are used:
tcp/hostname:port
local/hostname:path
Where hostname is a suitable hostname (usually a fully qualified domain name
(FQDN), but possibly a hostname within the local domain, an IP address, or an alias
such as localhost), port is a TCP/IP port number, and path is the pathname of a
Unix domain socket.
8.3
120 Chapter 8: Session Managers, Desktop Environments, and Window Managers
When an XSMP-aware client starts, it connects to the SM and introduces itself. The
SM assigns a unique ID number, and the client informs the SM of the command line
that will start it with the same ID number. It??™s also possible for clients to ask to be
restarted if they terminate unexpectedly, or to save their state and ask to be restarted
in the next session even if they are not running at the end of the current session. Clients
may also provide a command line that will discard the current session information,
so that (for example) disk space used to store the session state will free up if the
user doesn??™t want to restore the session.
Pages:
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204