Re: Help, how to restrict users to one session?
Here are the options as shown by the man page:
versus the web man page:
The inactivity example shows that other options could be used besides logging out.
Also, when I tried it, the popup dialog also installed a system tray icon which offered the standard leave options. Nice tool!
Originally posted by SteveRiley
Options:
-s, --shutdown Turn off computer
-h, --halt Turn off computer
-r, --reboot Restart computer
-k, --lock Lock session
-l, --logout End current session
-w, --wizard Wizard
--standard Show standard logout dialog
-c, --cancel Cancel an active action
--init Don't show window at startup
--test Enable test mode
--default Disable test mode
-s, --shutdown Turn off computer
-h, --halt Turn off computer
-r, --reboot Restart computer
-k, --lock Lock session
-l, --logout End current session
-w, --wizard Wizard
--standard Show standard logout dialog
-c, --cancel Cancel an active action
--init Don't show window at startup
--test Enable test mode
--default Disable test mode
Options:
--help Show this help
-h, --halt Turn Off Computer
-s, --shutdown Turn Off Computer (like above)
-k, --lock Lock screen
-r, --reboot Restart Computer
-l, --logout Logout
-H, --hibernate Hibernate Computer
-S, --suspend Suspend Computer (sleep)
--test [Since 2.0 Beta 10] Test Action (does nothing)
-e, --extra <file> [KDE 4] Run executable file (see link below)
-i, --inactivity [Since 2.0 Beta 11] Detect user inactivity. Example: --logout --inactivity 90
- automatically logout after 90 minutes of user inactivity
--cancel [Since 2.0 Beta 12] Cancel an active action
--confirm [Since 2.0 Beta 12] Confirm command line action
--hide-ui [Since 2.0 Beta 10] Hide main window and system tray icon
--init Do not show main window on startup
--help Show this help
-h, --halt Turn Off Computer
-s, --shutdown Turn Off Computer (like above)
-k, --lock Lock screen
-r, --reboot Restart Computer
-l, --logout Logout
-H, --hibernate Hibernate Computer
-S, --suspend Suspend Computer (sleep)
--test [Since 2.0 Beta 10] Test Action (does nothing)
-e, --extra <file> [KDE 4] Run executable file (see link below)
-i, --inactivity [Since 2.0 Beta 11] Detect user inactivity. Example: --logout --inactivity 90
- automatically logout after 90 minutes of user inactivity
--cancel [Since 2.0 Beta 12] Cancel an active action
--confirm [Since 2.0 Beta 12] Confirm command line action
--hide-ui [Since 2.0 Beta 10] Hide main window and system tray icon
--init Do not show main window on startup
Also, when I tried it, the popup dialog also installed a system tray icon which offered the standard leave options. Nice tool!
Comment