]>
Commit | Line | Data |
---|---|---|
514094f9 | 1 | <?xml version='1.0'?> |
3a54a157 | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
eea10b26 | 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
c7f7e859 MK |
4 | <!ENTITY % entities SYSTEM "custom-entities.ent" > |
5 | %entities; | |
6 | ]> | |
db9ecf05 | 7 | <!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
8fa365e5 | 8 | |
d3fae78f | 9 | <refentry id="logind.conf" conditional='ENABLE_LOGIND' |
798d3a52 ZJS |
10 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
11 | <refentryinfo> | |
12 | <title>logind.conf</title> | |
13 | <productname>systemd</productname> | |
798d3a52 ZJS |
14 | </refentryinfo> |
15 | ||
16 | <refmeta> | |
17 | <refentrytitle>logind.conf</refentrytitle> | |
18 | <manvolnum>5</manvolnum> | |
19 | </refmeta> | |
20 | ||
21 | <refnamediv> | |
22 | <refname>logind.conf</refname> | |
23 | <refname>logind.conf.d</refname> | |
24 | <refpurpose>Login manager configuration files</refpurpose> | |
25 | </refnamediv> | |
26 | ||
27 | <refsynopsisdiv> | |
73e97bb0 ZJS |
28 | <para><simplelist> |
29 | <member><filename>/etc/systemd/logind.conf</filename></member> | |
b83a59f8 ZJS |
30 | <member><filename>/run/systemd/logind.conf</filename></member> |
31 | <member><filename>/usr/lib/systemd/logind.conf</filename></member> | |
73e97bb0 ZJS |
32 | <member><filename>/etc/systemd/logind.conf.d/*.conf</filename></member> |
33 | <member><filename>/run/systemd/logind.conf.d/*.conf</filename></member> | |
34 | <member><filename>/usr/lib/systemd/logind.conf.d/*.conf</filename></member> | |
35 | </simplelist></para> | |
798d3a52 ZJS |
36 | </refsynopsisdiv> |
37 | ||
38 | <refsect1> | |
39 | <title>Description</title> | |
40 | ||
0f943ae4 ZJS |
41 | <para>These files configure various parameters of the systemd login manager, |
42 | <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. See | |
675fa6ea | 43 | <citerefentry><refentrytitle>systemd.syntax</refentrytitle><manvolnum>7</manvolnum></citerefentry> |
0f943ae4 | 44 | for a general description of the syntax.</para> |
798d3a52 ZJS |
45 | </refsect1> |
46 | ||
e93549ef | 47 | <xi:include href="standard-conf.xml" xpointer="main-conf" /> |
798d3a52 ZJS |
48 | |
49 | <refsect1> | |
50 | <title>Options</title> | |
51 | ||
52 | <para>All options are configured in the | |
bdac5608 | 53 | [Login] section:</para> |
798d3a52 | 54 | |
d2acdcc6 | 55 | <variablelist class='config-directives'> |
798d3a52 ZJS |
56 | |
57 | <varlistentry> | |
58 | <term><varname>NAutoVTs=</varname></term> | |
59 | ||
60 | <listitem><para>Takes a positive integer. Configures how many | |
61 | virtual terminals (VTs) to allocate by default that, when | |
62 | switched to and are previously unused, | |
63 | <literal>autovt</literal> services are automatically spawned | |
64 | on. These services are instantiated from the template unit | |
65 | <filename>autovt@.service</filename> for the respective VT TTY | |
66 | name, for example, <filename>autovt@tty4.service</filename>. | |
67 | By default, <filename>autovt@.service</filename> is linked to | |
68 | <filename>getty@.service</filename>. In other words, login | |
69 | prompts are started dynamically as the user switches to unused | |
70 | virtual terminals. Hence, this parameter controls how many | |
71 | login <literal>gettys</literal> are available on the VTs. If a | |
72 | VT is already used by some other subsystem (for example, a | |
73 | graphical login), this kind of activation will not be | |
74 | attempted. Note that the VT configured in | |
75 | <varname>ReserveVT=</varname> is always subject to this kind | |
76 | of activation, even if it is not one of the VTs configured | |
77 | with the <varname>NAutoVTs=</varname> directive. Defaults to | |
78 | 6. When set to 0, automatic spawning of | |
79 | <literal>autovt</literal> services is | |
80 | disabled.</para></listitem> | |
81 | </varlistentry> | |
82 | ||
83 | <varlistentry> | |
84 | <term><varname>ReserveVT=</varname></term> | |
85 | ||
86 | <listitem><para>Takes a positive integer. Identifies one | |
87 | virtual terminal that shall unconditionally be reserved for | |
88 | <filename>autovt@.service</filename> activation (see above). | |
89 | The VT selected with this option will be marked busy | |
90 | unconditionally, so that no other subsystem will allocate it. | |
91 | This functionality is useful to ensure that, regardless of how | |
92 | many VTs are allocated by other subsystems, one login | |
93 | <literal>getty</literal> is always available. Defaults to 6 | |
94 | (in other words, there will always be a | |
95 | <literal>getty</literal> available on Alt-F6.). When set to 0, | |
ec07c3c8 AK |
96 | VT reservation is disabled.</para> |
97 | ||
98 | <xi:include href="version-info.xml" xpointer="v190"/></listitem> | |
798d3a52 ZJS |
99 | </varlistentry> |
100 | ||
101 | <varlistentry> | |
102 | <term><varname>KillUserProcesses=</varname></term> | |
103 | ||
65eb37f8 ZJS |
104 | <listitem><para>Takes a boolean argument. Configures whether the processes of a |
105 | user should be killed when the user logs out. If true, the scope unit | |
106 | corresponding to the session and all processes inside that scope will be | |
4f25723c | 107 | terminated. If false, the scope is "abandoned", see |
65eb37f8 | 108 | <citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
c7f7e859 | 109 | and processes are not killed. Defaults to <literal>&KILL_USER_PROCESSES;</literal>, |
921f831d ZJS |
110 | but see the options <varname>KillOnlyUsers=</varname> and |
111 | <varname>KillExcludeUsers=</varname> below.</para> | |
65eb37f8 ZJS |
112 | |
113 | <para>In addition to session processes, user process may run under the user | |
114 | manager unit <filename>user@.service</filename>. Depending on the linger | |
115 | settings, this may allow users to run processes independent of their login | |
116 | sessions. See the description of <command>enable-linger</command> in | |
117 | <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>. | |
118 | </para> | |
119 | ||
120 | <para>Note that setting <varname>KillUserProcesses=yes</varname> | |
798d3a52 | 121 | will break tools like |
65eb37f8 ZJS |
122 | <citerefentry project='die-net'><refentrytitle>screen</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
123 | and | |
124 | <citerefentry project='die-net'><refentrytitle>tmux</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
125 | unless they are moved out of the session scope. See example in | |
126 | <citerefentry><refentrytitle>systemd-run</refentrytitle><manvolnum>1</manvolnum></citerefentry>. | |
127 | </para></listitem> | |
798d3a52 ZJS |
128 | </varlistentry> |
129 | ||
130 | <varlistentry> | |
131 | <term><varname>KillOnlyUsers=</varname></term> | |
132 | <term><varname>KillExcludeUsers=</varname></term> | |
133 | ||
41b6ae4d ZJS |
134 | <listitem><para>These settings take space-separated lists of usernames that override the |
135 | <varname>KillUserProcesses=</varname> setting. A user name may be added to | |
136 | <varname>KillExcludeUsers=</varname> to exclude the processes in the session scopes of that user from | |
137 | being killed even if <varname>KillUserProcesses=yes</varname> is set. If | |
138 | <varname>KillExcludeUsers=</varname> is not set, the <literal>root</literal> user is excluded by | |
139 | default. <varname>KillExcludeUsers=</varname> may be set to an empty value to override this | |
140 | default. If a user is not excluded, <varname>KillOnlyUsers=</varname> is checked next. If this | |
141 | setting is specified, only the processes in the session scopes of those users will be | |
142 | killed. Otherwise, users are subject to the <varname>KillUserProcesses=yes</varname> setting. | |
143 | </para></listitem> | |
798d3a52 ZJS |
144 | </varlistentry> |
145 | ||
146 | <varlistentry> | |
147 | <term><varname>IdleAction=</varname></term> | |
148 | ||
149 | <listitem><para>Configures the action to take when the system | |
cd4dd90b MY |
150 | is idle. Takes one of <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, |
151 | <literal>halt</literal>, <literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, | |
152 | <literal>hybrid-sleep</literal>, <literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, | |
153 | and <literal>lock</literal>. Defaults to <literal>ignore</literal>.</para> | |
798d3a52 ZJS |
154 | |
155 | <para>Note that this requires that user sessions correctly | |
156 | report the idle status to the system. The system will execute | |
157 | the action after all sessions report that they are idle, no | |
158 | idle inhibitor lock is active, and subsequently, the time | |
159 | configured with <varname>IdleActionSec=</varname> (see below) | |
160 | has expired.</para> | |
ec07c3c8 AK |
161 | |
162 | <xi:include href="version-info.xml" xpointer="v198"/> | |
798d3a52 ZJS |
163 | </listitem> |
164 | </varlistentry> | |
165 | ||
166 | <varlistentry> | |
167 | <term><varname>IdleActionSec=</varname></term> | |
168 | ||
169 | <listitem><para>Configures the delay after which the action | |
170 | configured in <varname>IdleAction=</varname> (see above) is | |
ec07c3c8 AK |
171 | taken after the system is idle.</para> |
172 | ||
173 | <xi:include href="version-info.xml" xpointer="v198"/></listitem> | |
798d3a52 ZJS |
174 | </varlistentry> |
175 | ||
176 | <varlistentry> | |
177 | <term><varname>InhibitDelayMaxSec=</varname></term> | |
178 | ||
179 | <listitem><para>Specifies the maximum time a system shutdown | |
180 | or sleep request is delayed due to an inhibitor lock of type | |
181 | <literal>delay</literal> being active before the inhibitor is | |
182 | ignored and the operation executes anyway. Defaults to | |
183 | 5.</para></listitem> | |
184 | </varlistentry> | |
185 | ||
9afe9efb LP |
186 | <varlistentry> |
187 | <term><varname>UserStopDelaySec=</varname></term> | |
188 | ||
189 | <listitem><para>Specifies how long to keep the user record and per-user service | |
190 | <filename>user@.service</filename> around for a user after they logged out fully. If set to zero, the per-user | |
191 | service is terminated immediately when the last session of the user has ended. If this option is configured to | |
192 | non-zero rapid logout/login cycles are sped up, as the user's service manager is not constantly restarted. If | |
193 | set to <literal>infinity</literal> the per-user service for a user is never terminated again after first login, | |
ec07c3c8 AK |
194 | and continues to run until system shutdown. Defaults to 10s.</para> |
195 | ||
196 | <xi:include href="version-info.xml" xpointer="v240"/></listitem> | |
9afe9efb LP |
197 | </varlistentry> |
198 | ||
cd4dd90b MY |
199 | <varlistentry> |
200 | <term><varname>SleepOperation=</varname></term> | |
201 | ||
202 | <listitem><para>Takes a list of sleep operations. Possible values are <literal>suspend</literal>, | |
203 | <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, and <literal>suspend-then-hibernate</literal>. | |
204 | Controls the candidate sleep operations for the <literal>sleep</literal> action. When <literal>sleep</literal> | |
205 | action is performed, the specified sleep operations are checked in a fixed order (<literal>suspend-then-hibernate</literal> | |
206 | → <literal>hybrid-sleep</literal> → <literal>suspend</literal> → <literal>hibernate</literal>), and | |
207 | the first one supported by the machine is used to put the system into sleep. Defaults to | |
208 | <literal>suspend-then-hibernate suspend hibernate</literal>.</para> | |
209 | ||
210 | <xi:include href="version-info.xml" xpointer="v256"/></listitem> | |
211 | </varlistentry> | |
212 | ||
798d3a52 ZJS |
213 | <varlistentry> |
214 | <term><varname>HandlePowerKey=</varname></term> | |
a520bb66 YA |
215 | <term><varname>HandlePowerKeyLongPress=</varname></term> |
216 | <term><varname>HandleRebootKey=</varname></term> | |
217 | <term><varname>HandleRebootKeyLongPress=</varname></term> | |
798d3a52 | 218 | <term><varname>HandleSuspendKey=</varname></term> |
a520bb66 | 219 | <term><varname>HandleSuspendKeyLongPress=</varname></term> |
798d3a52 | 220 | <term><varname>HandleHibernateKey=</varname></term> |
a520bb66 | 221 | <term><varname>HandleHibernateKeyLongPress=</varname></term> |
798d3a52 | 222 | <term><varname>HandleLidSwitch=</varname></term> |
e25937a3 | 223 | <term><varname>HandleLidSwitchExternalPower=</varname></term> |
798d3a52 ZJS |
224 | <term><varname>HandleLidSwitchDocked=</varname></term> |
225 | ||
30e0343b LP |
226 | <listitem><para>Controls how logind shall handle the system power, reboot and sleep keys and the lid |
227 | switch to trigger actions such as system power-off, reboot or suspend. Can be one of | |
cd4dd90b MY |
228 | <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, <literal>halt</literal>, |
229 | <literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, | |
230 | <literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, <literal>lock</literal>, and | |
30e0343b LP |
231 | <literal>factory-reset</literal>. If <literal>ignore</literal>, <command>systemd-logind</command> |
232 | will never handle these keys. If <literal>lock</literal>, all running sessions will be screen-locked; | |
233 | otherwise, the specified action will be taken in the respective event. Only input devices with the | |
234 | <literal>power-switch</literal> udev tag will be watched for key/lid switch | |
235 | events.</para> | |
236 | ||
237 | <para><varname>HandlePowerKey=</varname> defaults to <literal>poweroff</literal>, | |
238 | <varname>HandleRebootKey=</varname> defaults to <literal>reboot</literal>, | |
239 | <varname>HandleSuspendKey=</varname> defaults to <literal>suspend</literal>, | |
240 | <varname>HandleHibernateKey=</varname> defaults to <literal>hibernate</literal>, | |
241 | <varname>HandlePowerKeyLongPress=</varname> defaults to <literal>ignore</literal>, | |
242 | <varname>HandleRebootKeyLongPress=</varname> defaults to <literal>poweroff</literal>, | |
243 | <varname>HandleSuspendKeyLongPress=</varname> defaults to <literal>hibernate</literal>, | |
244 | <varname>HandleHibernateKeyLongPress=</varname> defaults to <literal>ignore</literal>. | |
245 | <varname>HandleLidSwitch=</varname> defaults to <literal>suspend</literal>. | |
246 | <varname>HandleLidSwitchExternalPower=</varname> is completely ignored by default (for backwards | |
247 | compatibility) — an explicit value must be set before it will be used to determine | |
248 | behaviour. <varname>HandleLidSwitchDocked=</varname> defaults to <literal>ignore</literal>. If the | |
249 | system is inserted in a docking station, or if more than one display is connected, the action | |
250 | specified by <varname>HandleLidSwitchDocked=</varname> occurs; if the system is on external power the | |
251 | action (if any) specified by <varname>HandleLidSwitchExternalPower=</varname> occurs; otherwise the | |
252 | <varname>HandleLidSwitch=</varname> action occurs.</para> | |
05b2a8fd ZJS |
253 | |
254 | <para>A different application may disable logind's handling of system power and | |
255 | sleep keys and the lid switch by taking a low-level inhibitor lock | |
3daffa82 | 256 | (<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>, |
adbb2b6a | 257 | <literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>, |
a520bb66 | 258 | <literal>handle-reboot-key</literal>). |
3daffa82 | 259 | This is most commonly used by graphical desktop environments |
05b2a8fd ZJS |
260 | to take over suspend and hibernation handling, and to use their own configuration |
261 | mechanisms. If a low-level inhibitor lock is taken, logind will not take any | |
262 | action when that key or switch is triggered and the <varname>Handle*=</varname> | |
aefdc112 AK |
263 | settings are irrelevant.</para> |
264 | ||
265 | <xi:include href="version-info.xml" xpointer="v184"/></listitem> | |
798d3a52 ZJS |
266 | </varlistentry> |
267 | ||
268 | <varlistentry> | |
269 | <term><varname>PowerKeyIgnoreInhibited=</varname></term> | |
270 | <term><varname>SuspendKeyIgnoreInhibited=</varname></term> | |
271 | <term><varname>HibernateKeyIgnoreInhibited=</varname></term> | |
272 | <term><varname>LidSwitchIgnoreInhibited=</varname></term> | |
adbb2b6a | 273 | <term><varname>RebootKeyIgnoreInhibited=</varname></term> |
798d3a52 | 274 | |
05b2a8fd | 275 | <listitem><para>Controls whether actions that <command>systemd-logind</command> |
adbb2b6a RM |
276 | takes when the power, reboot and sleep keys and the lid switch are triggered are subject |
277 | to high-level inhibitor locks ("shutdown", "reboot", "sleep", "idle"). Low level inhibitor | |
3daffa82 | 278 | locks (<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>, |
adbb2b6a RM |
279 | <literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>, |
280 | <literal>handle-reboot-key</literal>), | |
3daffa82 | 281 | are always honored, irrespective of this setting.</para> |
05b2a8fd ZJS |
282 | |
283 | <para>These settings take boolean arguments. If <literal>no</literal>, the | |
284 | inhibitor locks taken by applications are respected. If <literal>yes</literal>, | |
adbb2b6a | 285 | "shutdown", "reboot" "sleep", and "idle" inhibitor locks are ignored. |
798d3a52 | 286 | <varname>PowerKeyIgnoreInhibited=</varname>, |
adbb2b6a RM |
287 | <varname>SuspendKeyIgnoreInhibited=</varname>, |
288 | <varname>HibernateKeyIgnoreInhibited=</varname> and | |
289 | <varname>RebootKeyIgnoreInhibited=</varname> default to <literal>no</literal>. | |
05b2a8fd ZJS |
290 | <varname>LidSwitchIgnoreInhibited=</varname> defaults to <literal>yes</literal>. |
291 | This means that when <command>systemd-logind</command> is handling events by | |
292 | itself (no low level inhibitor locks are taken by another application), the lid | |
293 | switch does not respect suspend blockers by default, but the power and sleep keys | |
aefdc112 AK |
294 | do.</para> |
295 | ||
296 | <xi:include href="version-info.xml" xpointer="v190"/></listitem> | |
798d3a52 ZJS |
297 | </varlistentry> |
298 | ||
9d10cbee DH |
299 | <varlistentry> |
300 | <term><varname>HoldoffTimeoutSec=</varname></term> | |
301 | ||
e9dd6984 | 302 | <listitem><para>Specifies a period of time after system startup or |
9d10cbee | 303 | system resume in which systemd will hold off on reacting to |
a8eaaee7 JE |
304 | lid events. This is required for the system to properly |
305 | detect any hotplugged devices so systemd can ignore lid events | |
9d10cbee DH |
306 | if external monitors, or docks, are connected. If set to 0, |
307 | systemd will always react immediately, possibly before the | |
308 | kernel fully probed all hotplugged devices. This is safe, as | |
309 | long as you do not care for systemd to account for devices | |
310 | that have been plugged or unplugged while the system was off. | |
ec07c3c8 AK |
311 | Defaults to 30s.</para> |
312 | ||
313 | <xi:include href="version-info.xml" xpointer="v220"/></listitem> | |
9d10cbee DH |
314 | </varlistentry> |
315 | ||
798d3a52 ZJS |
316 | <varlistentry> |
317 | <term><varname>RuntimeDirectorySize=</varname></term> | |
318 | ||
319 | <listitem><para>Sets the size limit on the | |
320 | <varname>$XDG_RUNTIME_DIR</varname> runtime directory for each | |
321 | user who logs in. Takes a size in bytes, optionally suffixed | |
322 | with the usual K, G, M, and T suffixes, to the base 1024 | |
323 | (IEC). Alternatively, a numerical percentage suffixed by | |
324 | <literal>%</literal> may be specified, which sets the size | |
325 | limit relative to the amount of physical RAM. Defaults to 10%. | |
326 | Note that this size is a safety limit only. As each runtime | |
327 | directory is a tmpfs file system, it will only consume as much | |
ec07c3c8 AK |
328 | memory as is needed.</para> |
329 | ||
330 | <xi:include href="version-info.xml" xpointer="v211"/></listitem> | |
90558f31 LP |
331 | </varlistentry> |
332 | ||
cc1c85fb TM |
333 | <varlistentry> |
334 | <term><varname>RuntimeDirectoryInodesMax=</varname></term> | |
335 | ||
336 | <listitem><para>Sets the limit on number of inodes for the | |
337 | <varname>$XDG_RUNTIME_DIR</varname> runtime directory for each | |
338 | user who logs in. Takes a number, optionally suffixed with the | |
339 | usual K, G, M, and T suffixes, to the base 1024 (IEC). | |
340 | Defaults to <varname>RuntimeDirectorySize=</varname> divided | |
341 | by 4096. Note that this size is a safety limit only. | |
342 | As each runtime directory is a tmpfs file system, it will | |
ec07c3c8 AK |
343 | only consume as much memory as is needed.</para> |
344 | ||
345 | <xi:include href="version-info.xml" xpointer="v246"/></listitem> | |
cc1c85fb TM |
346 | </varlistentry> |
347 | ||
c5a11ae2 LP |
348 | <varlistentry> |
349 | <term><varname>InhibitorsMax=</varname></term> | |
350 | ||
351 | <listitem><para>Controls the maximum number of concurrent inhibitors to permit. Defaults to 8192 | |
ec07c3c8 AK |
352 | (8K).</para> |
353 | ||
354 | <xi:include href="version-info.xml" xpointer="v230"/></listitem> | |
c5a11ae2 LP |
355 | </varlistentry> |
356 | ||
183e0738 LP |
357 | <varlistentry> |
358 | <term><varname>SessionsMax=</varname></term> | |
359 | ||
360 | <listitem><para>Controls the maximum number of concurrent user sessions to manage. Defaults to 8192 | |
361 | (8K). Depending on how the <filename>pam_systemd.so</filename> module is included in the PAM stack | |
362 | configuration, further login sessions will either be refused, or permitted but not tracked by | |
ec07c3c8 AK |
363 | <filename>systemd-logind</filename>.</para> |
364 | ||
365 | <xi:include href="version-info.xml" xpointer="v230"/></listitem> | |
183e0738 LP |
366 | </varlistentry> |
367 | ||
798d3a52 ZJS |
368 | <varlistentry> |
369 | <term><varname>RemoveIPC=</varname></term> | |
370 | ||
f59d94bc LP |
371 | <listitem><para>Controls whether System V and POSIX IPC objects belonging to the user shall be removed when the |
372 | user fully logs out. Takes a boolean argument. If enabled, the user may not consume IPC resources after the | |
373 | last of the user's sessions terminated. This covers System V semaphores, shared memory and message queues, as | |
374 | well as POSIX shared memory and message queues. Note that IPC objects of the root user and other system users | |
ec07c3c8 AK |
375 | are excluded from the effect of this setting. Defaults to <literal>yes</literal>.</para> |
376 | ||
377 | <xi:include href="version-info.xml" xpointer="v212"/></listitem> | |
798d3a52 ZJS |
378 | </varlistentry> |
379 | ||
82325af3 MS |
380 | <varlistentry> |
381 | <term><varname>StopIdleSessionSec=</varname></term> | |
382 | ||
383 | <listitem><para>Specifies a timeout in seconds, or a time span value after which | |
508b4786 MS |
384 | <filename>systemd-logind</filename> checks the idle state of all sessions. Every session that is idle |
385 | for longer than the timeout will be stopped. Note that this option doesn't apply to | |
386 | <literal>greeter</literal> or <literal>lock-screen</literal> sessions. Defaults to | |
387 | <literal>infinity</literal> (<filename>systemd-logind</filename> is not checking the idle state | |
388 | of sessions). For details about the syntax of time spans, see | |
82325af3 | 389 | <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. |
ec07c3c8 AK |
390 | </para> |
391 | ||
392 | <xi:include href="version-info.xml" xpointer="v252"/></listitem> | |
82325af3 | 393 | </varlistentry> |
798d3a52 ZJS |
394 | </variablelist> |
395 | </refsect1> | |
396 | ||
397 | <refsect1> | |
398 | <title>See Also</title> | |
13a69c12 DT |
399 | <para><simplelist type="inline"> |
400 | <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> | |
401 | <member><citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member> | |
402 | <member><citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> | |
403 | <member><citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></member> | |
404 | </simplelist></para> | |
798d3a52 | 405 | </refsect1> |
8fa365e5 LP |
406 | |
407 | </refentry> |