X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Floginctl.xml;h=46f1a990f8ffd2132f50bde6f00fa7407d9da9e8;hb=2b18106e03096fec69dbd821a126241981a1febd;hp=fd2f15c0ac61beb68320d969922d6c8a9e8a644a;hpb=b52d4a02cd5a141ed24d6a2e008c1ae2ae48fdf5;p=elogind.git
diff --git a/man/loginctl.xml b/man/loginctl.xml
index fd2f15c0a..46f1a990f 100644
--- a/man/loginctl.xml
+++ b/man/loginctl.xml
@@ -196,9 +196,9 @@
activate ID
Activate a session. This brings a session into
- the foreground, if another session is currently in the
+ the foreground if another session is currently in the
foreground on the respective seat. Takes a session identifier
- as argument. If no argument is specified the session of the
+ as argument. If no argument is specified, the session of the
caller is put into foreground.
@@ -209,7 +209,7 @@
Activates/deactivates the screen lock on one
or more sessions, if the session supports it. Takes one or
more session identifiers as arguments. If no argument is
- specified the session of the caller is locked/unlocked.
+ specified, the session of the caller is locked/unlocked.
@@ -284,8 +284,11 @@
spawned for the user at boot and kept around after logouts.
This allows users who are not logged in to run long-running
services. Takes one or more user names or numeric UIDs as
- argument. If no argument is specified enables/disables
- lingering for the user of the session of the caller.
+ argument. If no argument is specified, enables/disables
+ lingering for the user of the session of the caller.
+
+ See also KillUserProcesses= setting in
+ logind.conf5.
@@ -348,7 +351,7 @@
seat. The devices should be specified via device paths in the
/sys file system. To create a new seat,
attach at least one graphics card to a previously unused seat
- name. Seat names may consist only of a-z, A-Z, 0-9,
+ name. Seat names may consist only of aâz, AâZ, 0â9,
- and _ and must be
prefixed with seat. To drop assignment of a
device to a specific seat, just reassign it to a different
@@ -436,6 +439,37 @@
otherwise.
+
+ Examples
+
+
+ Querying user status
+
+ $ loginctl user-status
+fatima (1005)
+ Since: Sat 2016-04-09 14:23:31 EDT; 54min ago
+ State: active
+ Sessions: 5 *3
+ Unit: user-1005.slice
+ ââuser@1005.service
+ ...
+ ââsession-3.scope
+ ...
+ ââsession-5.scope
+ ââ3473 login -- fatima
+ ââ3515 -zsh
+
+Apr 09 14:40:30 laptop login[2325]: pam_unix(login:session):
+ session opened for user fatima by LOGIN(uid=0)
+Apr 09 14:40:30 laptop login[2325]: LOGIN ON tty3 BY fatima
+
+
+ There are two sessions, 3 and 5. Session 3 is a graphical session,
+ marked with a star. The tree of processing including the two corresponding
+ scope units and the user manager unit are shown.
+
+
+