The gnome-session logout dialog
8.4
8.4 Starting GNOME 125
Notice that there are five clients in this session, as indicated by the num_clients entry.
These clients are numbered from 0 to 4, and the client number appears as the first
comma-delimited field on each line.
The clients are started in order based on the Priority entry for each client, with lowernumbered
clients going first. If the Priority is omitted, it defaults to 50. These priority
values are used to ensure that, for example, the window manager starts before the
panel client, so that the virtual desktop switcher applet in the panel (which talks to
the window manager) can initialize without any errors.
The client ID value (defaultN) is a placeholder and will be updated by the SM when
the client registers with it. The id line informs gnome-session about the client ID in
use; the options in the RestartCommand entry pass the same information to the client.
Once the client connects to the SM, the id value is changed to a concatenation of the
IP address, current time, process ID, and a sequence number. This is (in almost all
cases) a globally unique identifier.
The actual command used to start each client is listed in the RestartCommand entry.
Pages:
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212