This seems to be a deadlock with regards to the session manager. I also
have g-p-m disabled in my session options... When I replace /usr/bin
/gnome-power-manager by a shell script that starts the real gnome-power-
manager under strace, I get the following debugging output:

---------> Output of strace -o /tmp/gnome-power-manager.$$ 
/usr/bin/gnome-power-manager.orig
connect(12, {sa_family=AF_FILE, path="/tmp/.ICE-unix/6166"}, 21) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
write(12, "\0\1\0\0\0\0\0\0", 8)        = 8
read(12, 0x80c7770, 8)                  = ? ERESTARTSYS (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---

Note that gnome-power-manager connects to the session manager, sends a
packet and then waits indefinitely (it has been killed by me with
SIGTERM after some time).

$ env|grep SESSION_MANAGER
SESSION_MANAGER=local/enormity:/tmp/.ICE-unix/6166

-- 
System -> Quit takes a long time to appear
https://bugs.launchpad.net/bugs/123078
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to