On mer, 2009-04-29 at 00:16 +0200, Michael Biebl wrote: > - If you are using a display manager like gdm or kdm, everything should work > out > of the box without any configuration. Both login managers talk to ConsoleKit > directly. I think this covers most of our users.
I'm not really sure. First, there are other DM (but they seem to correctly use XSessions.d stuff so no problem there). Second, I'm not sure that “most user” use gdm or kdm, and I think a lot of people first login from console, then run their desktop environment. Which is the case I'm worry about. > - If you are using startx [/path/to/windowmanager|session-manager], it should > work out of the box, using the xsession integration As you said later, this isn't true. I thought so too, but asking X people, it's not (and I confirmed this) and it's been like this since age. > (/etc/X11/Xsession.d/90consolekit) *unless* you also have libpam-ck-connector > installed *and* enabled. See #520720, why that is. > The check for XDG_SESSION_COOKIE is there, as you otherwise might register two > CK sessions: One from the login manager directly, and the other from > 90consolekit. I'll read #520720 but at first sight that would consistent to me. > - A CK session on the console (via libpam-ck-connector) is not automatically > transferred to the X11 session (CK will still track the console tty) As I said, I don't know CK internals so I can't really be sure. But if CK session *should not* be transferred to the X session, then it makes sense to open a new CK session for the X tty. Why wouldn't the X session not have CK if the tty has it. Again, I'll read #520720 to know why. > > What are the exact needs of Xfce? Could it's start script be updated to use > the > Debian Xsession.d mechanism (or launch ck-launch-session itself) I want a simple way to start Xfce from console. A lot of Xfce users (much more than GNOME/KDE people, since there's no Xfce DM and as a “lightweight” desktop environment, a lot of people using it just don't want a DM). And I want to: - use the Debian environment (Xsessions.d, not only for CK, but for CK too) - use the Xfce stuff (the startxfce4 script contains some setup) - not divert too much from upstream The easiest way to do that if for me to advertise the “good way” to start Xfce from console, which is to put “exec startxfce4” in .xsession, and use startx. That way, I have the best of both world… except if libpam-ck-connector is installed (and it very well might be since it's a Recommends:). Demoting to Suggests: might help, but I can still have some weird cases when people have it for legitimate reasons (I can't just add a conflict on that, that would not make sense). So again, I really think 90consolekit should run ck-launch-session even if libpam-ck-connector is installed (and the user has logged in with it enabled), for consistency. Now I go and read #520720 :) Cheers, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part

