Session Management Extensions
The Gnome Session Manager complies with the X Session Management
Protocol document. However, it also implements a few extensions in
order to provide nicer behavior. A client is not required to use
these extensions, but it can in order to better integrate with the
Gnome desktop.
The current extensions are both new properties which a client can
set in order to change how it is treated by gnome-session:
- _GSM_Priority
- This property is an SmCARD8 value between 0 and 99
giving the client's priority level. The session manager starts
clients in priority order, starting with priority 0. If a
client does not specify a priority, the default priority of 50
is used.
- _XC_RestartService
- This property is of type SmLISTofARRAY8, and the
format is protocol/data. This property can be
used to inform the session manager that an alternate method is
required in order to restart this client.
The only currently defined protocol is rstart-rsh.
In this case, the data should be the hostname on
which to start the client; the session manager will use the
rstart program to run the client. If the host
running the session manager is the same as host, then
the client will be started locally as usual.