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 603783 - PolicyKit dialog shown at shutdown request is confusing
PolicyKit dialog shown at shutdown request is confusing
Status: RESOLVED DUPLICATE of bug 585614
Product: gnome-session
Classification: Core
Component: gnome-session
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-04 13:14 UTC by Josselin Mouette
Modified: 2009-12-22 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2009-12-04 13:14:02 UTC
We discussed about the logout process on #debian-gnome this morning, and there was agreement that the current process is confusing whenever several people are logged on.

(Note that the Debian PolicyKit defaults are: yes for org.freedesktop.consolekit.system.stop, and auth_admin_keep for org.freedesktop.consolekit.system.stop-multiple-users)

Whenever someone else is logged on, the session is terminated but the PolicyKit dialog shows up and requests to enter the root password before shutting down. Pressing Cancel will bring back to the GDM login prompt.

Now this is confusing for several reasons:
 * The dialog appears after all applications have been closed.
 * This is a standard PK dialog, and it doesn’t make obvious that “Cancel” actually means “Log out”.
 * There is no indication in the shutdown dialog that the “Shutdown” action will actually require authentication.

Therefore, here is an improvement proposal for the shutdown dialog, that would make things much more obvious.
 * Before showing up the shutdown dialog, g-session asks CK whether it has the appropriate permissions to shut down.
 * If the permissions are here (no one else is logged on), nothing changes from the current dialog.
 * If the permissions are missing and authentication is required, the shutdown and restart buttons are grayed out. Furthermore, a label and a button are added below the existing buttons:
     Shutting down the computer will require authentication. [[ Unlock ]]

I don’t know whether this requires any extension to the existing ConsoleKit API, but in all cases it should be close to what e.g. gnome-system-tools does.
Comment 1 Vincent Untz 2009-12-22 13:22:48 UTC
This is what's remaining of bug 585614 :-)

*** This bug has been marked as a duplicate of bug 585614 ***