After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172601 - Confirm reboot/shutdown, if another session is active
Confirm reboot/shutdown, if another session is active
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.32.x
Other Linux
: Normal enhancement
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-04 12:28 UTC by Stanislav Brabec
Modified: 2014-07-11 16:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Stanislav Brabec 2005-04-04 12:28:18 UTC
If there are one or more unfinished sessions on the machine, gnome-session
should ask for confirmation or do not offer reboot/shutdown during logout.

Related: bug 172600
Comment 1 Sebastien Bacher 2005-07-23 14:21:53 UTC
Thanks for your bug. I'm not sure if that's a duplicate of #172600,
gnome-session uses gdm to reboot, so maybe the only change required is on gdm
Comment 2 Lucas Rocha 2008-03-31 19:43:58 UTC
Sebastien is right: gnome-session currently queries GDM is it's possible to reboot/shutdown when showing the logout dialogs. Hence, GDM should basically check if there are any other active session to allow or not the reboot/shutdown actions.
Comment 3 Nirbheek Chauhan 2011-04-04 11:51:52 UTC
I think this bug is obsolete now with consolekit + polkit integration?
Comment 4 Stanislav Brabec 2011-04-05 18:49:21 UTC
I guess that not, at least in GNOME 2.32 and openSUSE 11.4. Yesterday I unintentionally halted a machine where another user was logged on.
Comment 5 Reuben Thomas 2014-07-11 10:32:54 UTC
I think this bug can now be closed: trying to power down from GDM while a user is logged on gives a prompt mentioning this fact.
Comment 6 Reuben Thomas 2014-07-11 10:33:17 UTC
(In GNOME 3.10.)
Comment 7 Stanislav Brabec 2014-07-11 16:41:46 UTC
OK.