You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting a session-cleanup-script, it runs perfectly fine when a user logs out. However, it also runs when no users are logged in, and a different user is selected from the dropdown menu of user on the login screen.
This is really problematic when, for example, you want to run /sbin/reboot with session-cleanup-script. Not only does the machine reboot when a user logs off, it also reboots when someone attempting to log in selects a different user from the dropdown menu on the login screen.
The script assigned to session-cleanup-script should only run when a user session is terminated. The description for session-cleanup-script reads "Script to run when quitting a user session (runs as root)." Thus, one would assume it should not be running when a different user is selected from the login greeter.
The text was updated successfully, but these errors were encountered:
bluesabre
changed the title
session-cleanup-script runs on user selection in greeter
LP#1699972 "session-cleanup-script runs on user selection in greeter"
May 30, 2021
First reported on Launchpad at https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1699972
LP#0: nicholas (nbros652) wrote on 2017-06-23:
The text was updated successfully, but these errors were encountered: