Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LP#1699972 "session-cleanup-script runs on user selection in greeter" #59

Open
bluesabre opened this issue Jun 11, 2020 · 0 comments
Open
Labels
Launchpad Issue synced from Launchpad. New Not looked at yet.

Comments

@bluesabre
Copy link
Member

bluesabre commented Jun 11, 2020

First reported on Launchpad at https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1699972

LP#0: nicholas (nbros652) wrote on 2017-06-23:

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.

@bluesabre 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
@bluesabre bluesabre added the Launchpad Issue synced from Launchpad. label May 30, 2021
@bluesabre bluesabre added the New Not looked at yet. label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Launchpad Issue synced from Launchpad. New Not looked at yet.
Projects
None yet
Development

No branches or pull requests

1 participant