Comment 54 for bug 123078

Revision history for this message
Christian Vogel (vogelchr) wrote :

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