Bug 466773

Summary: Dialogue offers me to log out from GDM
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jmccann, mclasen, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-24 23:07:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 457945    

Description Bastien Nocera 2008-10-13 15:17:40 UTC
1. Boot laptop
2. When at gdm, press "Power button"
3. Get dialogue telling me:
"Log out of this system now?
You are currently logged in as "gdm"
You will be automatically logged out in XX seconds".

[Switch user] [Log out] [Cancel]
"

Comment 1 Matthias Clasen 2008-10-14 04:04:18 UTC
Another interesting point to notice is that if I do this while another session is running, the dialog pops up in all sessions.

Comment 2 Matthias Clasen 2008-10-14 04:06:34 UTC
The dialog comes from gnome-session

Comment 3 Matthias Clasen 2008-10-14 04:15:46 UTC
gnome-settings-daemon handles the power button, and currently calls

gnome-session-save --kill

I wonder if thats a leftover from when we had a single dialog that also had shutdown in it. Nowadays we have a separate shutdown dialog, and we should
probably call

gnome-session-save --shutdown-dialog 

instead ?

Comment 4 Matthias Clasen 2008-10-15 21:15:54 UTC
I've fixed gnome-settings-daemon to call gnome-session-save --shutdown-dialog,
but it turns out that currently, gnome-power-manager handles the key and causes the logout dialog to be displayed. I hear that the key handling is going to move to X very soon, though.

Comment 5 Matthias Clasen 2008-10-24 23:07:04 UTC
This was fixed in gnome-power-manager to bring up the shutdown dialog.