[Pkg-xfce-devel] Bug#612504: Bug#612504: xfce4-session: Attempted suspend causes logout and segfault

Yves-Alexis Perez corsac at debian.org
Mon Feb 21 07:24:53 UTC 2011


reopen 612504
thanks

On dim., 2011-02-20 at 19:41 -0500, Brandon Simmons wrote:
> I wanted to add more to this as this bug has re-appeared. I haven't
> figured out when and why it shows up, but now after several reboots
> it's still here. As mentioned earlier. the problem first shows itself
> when I attempt to suspend from the xfce4-session GUI box and it asks
> me for a password.


> 
> After clicking cancel and checking my ~/.xsession-errors, I see:
> 
> ------------------------------ SNIP --------------------------
> ** (x-session-manager:2178): WARNING **: xfsm-shutdown-helper.c:157:
> Failed to contact HAL: Did not receive a reply. Possible causes
> include: the remote application did not send a reply, the message bus
> security policy blocked the reply, the reply timeout expired, or the
> network connection was broken.
> ** Message: xfsm-shutdown-helper.c:274: HAL not available or does not
> permit to shutdown/reboot the computer, trying sudo fallback instead.
> ------------------------------ SNIP --------------------------

Is hal still installed?
> 
> I think it may be related to PolicyKit and perhaps the fact that I use
> 'slim' as my login manager. I think it is also related to this bug
> report:
> 
>     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525909

Consolekit is basically broken in sid if you don't use gdm/gdm3 or
startx, iirc, and that might be related. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597937 and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601003

There was a patch to slim which might help though:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=17757&group_id=2663


> I'm sorry I can't offer the solution yet.

It'd help to have a backtrace, and you can try with another login
manager (I think plain startx with “startxfce4” in your .xsession would
work). Check that ck-list-session returns something like:

corsac at hidalgo: ck-list-sessions
Session9:
	unix-user = '1000'
	realname = 'Yves-Alexis Perez'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ':0'
	x11-display-device = '/dev/tty8'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2011-02-19T22:19:19.773649Z'
	login-session-id = '4294967295'

especially the active = TRUE and is-local = TRUE

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20110221/b698170e/attachment.pgp>


More information about the Pkg-xfce-devel mailing list