Page 1 of 1

Consolekit cannot lookup lxsession

Posted: Sun May 14, 2017 9:22 pm
by rde42
I'm using lxsession 0.5.3 on FreeBSD, together with ConsoleKit 0.4.5.

I've upgraded the system; previously I was using lxsession 0.4.6.

When I start LXDE, I get a blank graphical screen, and a dialog box that says:

GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process 'xxxx'

xxxx is the process number for lxsession.

I start LXDE with startx and .xinitrc. This appears to be because consolekit is looking for XDG_SESSION_COOKIE, but there's nothing in lxsession about that.

If I acknowledge the dialog box, LXDE starts OK, as far as I can see. But how do I fix this please?

Re: Consolekit cannot lookup lxsession

Posted: Tue Sep 19, 2017 1:47 am
by maddoctor
I found a solution. Edit /etc/lxdm/Xsession and change (near the bottom):

exec -l bash -c "$LXSESSION"


ck-launch-session "$LXSESSION"