[Xfce4-commits] <xfce4-session:master> Reuse existing ConsoleKit sessions (bug #6685).
jannis at xfce.org
Wed Sep 15 14:09:21 CEST 2010
On Wed, 08 Sep 2010 13:43:09 +0200
Yves-Alexis Perez <corsac at debian.org> wrote:
> On 08/09/2010 12:54, Enrico Tröger wrote:
> > Now, with the change above, I can't do any of these things.
> > xfce4-session-logout only offers Logout, reboot and halt are
> > disabled. Also mounting my USB stick doesn't work with this change.
> > Has anyone else similar problems or is just me?
> > Btw, all this happens on Debian Testing.
> I assume consolekit is installed? Is it correctly started? What does
> 'ck-list-session' return? How *exactly* do you start xfce?
> There's a README.Debian in xfce4-session which helps for that, but it
> applies more to Xfce 4.6 so I'm not sure it'd work for 4.7.
> The “correct” way to do it, using console is:
> * install consolekit
> * don't use a .xinitrc
> * don't call startxfce4
> * put “exec startxfce4" in .xsessionrc
> * call startx (*only*, no arg, nothing)
> This way, scripts in /etc/X11/Xsession.d will be executed, and
> especially 90consolekit, which will start it for you.
Fedora doesn't have /etc/X11/Xsession.d, so this won't work on all
distributions. We need something reliable. Any other ideas? Uxlaunch
is no solution, especially not if it requires patching distro packages.
BTW, I asked on the ConsoleKit mailing list what we should do:
The reply I received was this: nothing. So we're neither supposed to
call ck-launch-session nor to open a new session ourselves in
xfce4-session. Still, this only works when using a login manager and a
Xorg startup method that sets CK session parameters like
A note to Enrico and Mike: if the underlying technologies change then
sometimes the way things work also changes. So if simply calling
"startxfce4" won't work anymore then that's fine, at least if there is
an alternative way with the new technologies.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Xfce4-dev