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?
Consolekit cannot lookup lxsession
Re: Consolekit cannot lookup lxsession
I found a solution. Edit /etc/lxdm/Xsession and change (near the bottom):
exec -l bash -c "$LXSESSION"
to
ck-launch-session "$LXSESSION"
exec -l bash -c "$LXSESSION"
to
ck-launch-session "$LXSESSION"