PRIMARY CATEGORY → DESKTOP SETUP

During the installation of the Setup Components, the user will have to be shutting down, restarting, logging out or simply blocking (i.e lock) the current session

Actions

This actions can be performed as follows →

Shut Down
$ sudo poweroff
Restart
$ sudo reboot
Log out
$ loginctl list-sessions # Get the Session's Number
$ loginctl terminate-session <session_number> # Finish a Session
Session Lock

It can be handled through the X Session Manager called lightDM

To interact with the lightdm daemon, the dm-tool binary comes into actions

$ dm-tool switch-to-greeter # Like the Change-User option in Windows
$ dm-tool lock # Like Windows + L in Windows

Alternatively, components such as I3Lock-Fancy can also be used to perform a Screen Lock