xfwm4 is not running after failed shut down / "session manager must be in idle state when requesting a shutdown"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Session |
Fix Released
|
Medium
|
|||
Xfwm4 |
Confirmed
|
Medium
|
|||
xfce4-session (Ubuntu) |
Fix Released
|
High
|
Lionel Le Folgoc | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Lionel Le Folgoc | ||
xfwm4 (Debian) |
New
|
Unknown
|
|||
xfwm4 (Fedora) |
In Progress
|
High
|
Bug Description
Using XFCE desktop. I clicked the shut down button (action button on panel) and nothing seemed to happen. I clicked it again and got:
"Failed to receive a reply from the session manager. Session manager must be in idle state when requesting a shutdown."
The desktop didn't seem to be shutting down as usual, but after some (ten or so) seconds the system did shutdown. After restart and logging in, xfwm4 is not running and needs to be manually restarted.
This is the second time that this has happened in the last two weeks after upgrading to Precise.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xfwm4 4.8.3-1ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu5
Architecture: amd64
Date: Tue Apr 10 21:22:02 2012
ProcEnviron:
LANGUAGE=en_GB:en
TERM=linux
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: xfwm4
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
no longer affects: | xfwm4 (Suse) |
Changed in xfwm4 (Debian): | |
status: | Unknown → New |
affects: | xfwm4 (Ubuntu) → xfce4-session (Ubuntu) |
Changed in xfce4-session (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in xfce4-session (Ubuntu Raring): | |
status: | Triaged → In Progress |
assignee: | nobody → Lionel Le Folgoc (mrpouit) |
Changed in xfce4-session: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in xfwm4: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in xfwm4 (Fedora): | |
importance: | Unknown → High |
status: | Unknown → In Progress |
Created attachment 2363
mousepad patch that displays YNC prompt on session logout (demo only, won't save if you choose "yes")
When logging out, and 2+ application issue interact requests during their save-yourself-s, and (at least?) one of them actually starts interacting, the session manager will not continue normally when the interaction completes. Instead, it will wait 1 minute, and then forcibly close the session. During this period, a second logout attempt will say that the session manager must be idle when requesting shutdown.
It's OK if there is only 1 app with interactive save yourself, or there are 2 apps, but none of them actually interacts.
For example, patch a mousepad, run 2 copies of it, type "boza" in the first copy and try to logout. A yes/no/cancel prompt will be displayed, but after you answer, the second mousepad (and thus the whole session) will remain for 1 minute - or until you close the it. YMMV, I received an ICE I/O error once.
It's not a libxfcegui4 session-client problem, I tried with non-xfce apps as well.
Maybe it's not the interaction by itself that matters, but the longer time interval between interact request and interact done?