[Pkg-xfce-devel] Bug#612504: Bug#612504: xfce4-session: Attempted suspend

Frank Zambrini fzambrini at gmail.com
Tue May 17 03:34:08 UTC 2011


With xfce 4.6 I switched to gdm from slim and everything was working
fine. 

However after upgrading to xfce 4.8, the session manager broke again
for both gdm and slim.

If "Prompt on Logout" is unchecked from the Session and Startup menu,
clicking the logout button on the panel causes the session to restart
back to the slim/gdm login screen.

If "Prompt on Logout" is checked, then the logout window will be
displayed (after waiting about 30 seconds) but only has options for
shutdown, restart, and Log Out. Suspend is missing from the menu, but I
can still put the computer in standby with "sudo pm-suspend."

I did a backtrace of xfce4-session (using slim, w/out Prompt on Logout),
but I don't know if it will do much good. For some reason, when gdb is
attached to xfce4-session (from a VT), clicking the logout button will
not cause the session to restart. Instead, I get a "Failed to connect to
session manager" error message. Then when I quit gdb, the session
restarts and returns to the login screen.

If there is anything else I can do let me know. Maybe I should file a
bug against consolekit?


-------------------------------------------------------------------
#0  0x00007ff0cdd6b663 in poll () from /lib/libc.so.6
#1  0x00007ff0ce0699e4 in g_main_context_poll (context=0x7ff0d2bba8d0,
block=1, dispatch=1, self=<value optimized out>)
at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3404 #2
g_main_context_iterate (context=0x7ff0d2bba8d0, block=1, dispatch=1,
self=<value optimized out>)
at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3086 #3
0x00007ff0ce06a2f2 in g_main_loop_run (loop=0x7ff0d2bfeeb0)
at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3299 #4
0x00007ff0cfb012b7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #5
0x00007ff0d120d0eb in main (argc=1, argv=0x7fff9b679438) at main.c:267
#0  0x00007ff0cdd6b663 in poll () from /lib/libc.so.6 No symbol table
info available. #1  0x00007ff0ce0699e4 in g_main_context_poll
(context=0x7ff0d2bba8d0, block=1, dispatch=1, self=<value optimized
out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3404 poll_func =
out>0x7ff0ce079aa0 <g_poll> #2  g_main_context_iterate
out>(context=0x7ff0d2bba8d0, block=1, dispatch=1, self=<value optimized
out>out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
out>out>max_priority = 2147483647 timeout = -1
        some_ready = <value optimized out>
        nfds = 11
        allocated_nfds = <value optimized out>
        fds = 0x7ff0d2c0d7a0
#3  0x00007ff0ce06a2f2 in g_main_loop_run (loop=0x7ff0d2bfeeb0)
at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3299 __PRETTY_FUNCTION__ =
"g_main_loop_run" #4  0x00007ff0cfb012b7 in gtk_main ()
from /usr/lib/libgtk-x11-2.0.so.0 No symbol table info available.
#5  0x00007ff0d120d0eb in main (argc=1, argv=0x7fff9b679438) at
main.c:267 manager = 0x7ff0d2bf5050
        shutdown_type = <value optimized out>
        error = 0x0
        dpy = <value optimized out>
        channel = 0x7ff0d2beb5c0
A debugging session is active.

	Inferior 1 [process 13944] will be detached.

Quit anyway? (y or n) Detaching from program: /usr/bin/xfce4-session,
process 13944

-------------------------------------------------------------------






More information about the Pkg-xfce-devel mailing list