Bug 525395 - Suspend button in logout dialog doesn't lock the screen
Suspend button in logout dialog doesn't lock the screen
Product: Fedora
Classification: Fedora
Component: xfce4-session (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
: 587633 (view as bug list)
Depends On:
Blocks: CVE-2009-4996
  Show dependency treegraph
Reported: 2009-09-24 04:22 EDT by Aleš Mareček
Modified: 2011-11-14 14:39 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-10-04 05:28:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Xfce 4805 None None None Never
Xfce 8105 None None None Never

  None (edit)
Description Aleš Mareček 2009-09-24 04:22:51 EDT
Description of problem:
Suspend button in Action Buttons on xfce-panel just suspends computer but it doesn't lock the screen. So everybody is able to use your laptop without password needs after this suspend via "Action Buttons" - screen wasn't locked.
If i close the cap of my laptop it will suspend and lock correctly (power manager is set for suspend after closing the cap).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Click to icon "Quit" (Action Buttons)
2. Click to suspend
3. Close and open cap of your laptop or use functional key for wake
Actual results:
Suspend without locking screen

Expected results:
Suspend and after waking your screen is locked

Additional info:
Comment 1 Aleš Mareček 2009-09-24 04:24:00 EDT
$ rpm -q xfce4-panel
Comment 2 Christoph Wickert 2009-09-24 19:38:16 EDT
The action buttons in xfce4-panel only have "Logout" and "Lock Screen". You are talking about the logout dialog, right?
Comment 3 Aleš Mareček 2009-09-25 05:35:23 EDT
Probably yes. There are following buttons: "Log Out", "Restart", Shut Down", "Suspend" and "Hibernate" in this dialog.
Comment 4 Christoph Wickert 2009-09-25 05:44:08 EDT
Ok, thanks for the clarification. I will look at this after the weekend.
Comment 5 Christoph Wickert 2009-10-04 05:28:59 EDT
I took a look and it's way more complicated than I thought. Changes like this should be happening upstream, but the author of xfce4-session has no intentions to do so. Quote from http://bugzilla.xfce.org/show_bug.cgi?id=4805#c7:

"I'm going to reject this.  xfce4-power-manager supports this already, and does a fine job.  It's silly to duplicate this in more than one place.  Conceptually, the session manager isn't the place for this anyway.

I'm planning on having xfce4-session's suspend/hibernate buttons (and possibly
shutdown/reboot as well) send those actions to the power manager if present, so
when that's done, the screen will lock appropriately."

Comment 6 Christoph Wickert 2009-10-04 05:35:40 EDT
Hope no one is disappointed now. Another quote, just to show how clear upstream is about this:

"My original assertion still stands: xfce4-session WILL NOT support locking the
screen after suspend.  I've already explained why and I don't intend to rehash

Comment 7 Christoph Wickert 2010-04-30 10:52:03 EDT
*** Bug 587633 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.