Re: [opensuse-factory] automount problems
Am 06/04/12, schrieb Patrick Shanahan <paka@opensuse.org>:
* Marcus Meissner <meissner@suse.de> [06-04-12 02:44]:
The ConsoleKit handling is the responsibility of either the display manager (xdm, kdm4, gdm have support for it) or can be explicitly set in the PAM snippet of your service.
You can check if this is done by doing:
$ ck-list-sessions
which should print something like:
Session1: unix-user = '1000' realname = 'Marcus Meissner' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2012-06-04T04:44:46.209182Z' login-session-id = '4294967295'
Thanks for this, may be the problem I have with automounting.
My ck-list-sessions reveals "FALSE" to "active" and "is-local". systemctl [start/restart] console-kit-daemon.service does not help What do I need to do the achieve "automounting"
My experience shows that ck is largely broken, or a least lacks in several aspects. It does not support multiseat (only one active session at a time), it does not support remote sessions (e.g. via LTSP) (unable to find the correct session at all). Whereas the former at least shows the pk authorization dialog, although for the wrong 'active' state, the latter is unable to show a dialog at all. These problems can be solved by using systemd-logind. This needs a newer/patched polkit package. Anyone interested in testing this can find one in home:StefanBruens:branches:Base:System . Session state can be queried using systemd-loginctl. Pros of systemd-loginctl: it works Cons: it *might* depend on systemd, but I have not tested this. Regards, Stefan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le lundi 04 juin 2012 à 17:46 +0200, "Stefan Brüns" a écrit :
These problems can be solved by using systemd-logind. This needs a newer/patched polkit package. Anyone interested in testing this can find one in home:StefanBruens:branches:Base:System .
Session state can be queried using systemd-loginctl.
Pros of systemd-loginctl: it works Cons: it *might* depend on systemd, but I have not tested this.
It DOES depend on systemd ;) Additional cons: software need to be ported to logind (gdm / etc..) and in a way which doesn't hard requires logind (using logind if available, then switching to CK if not), until we drop support for sysvinit (ie not for 12.2). -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le lundi 04 juin 2012, à 17:46 +0200, "Stefan Brüns" a écrit :
My experience shows that ck is largely broken, or a least lacks in several aspects. It does not support multiseat (only one active session at a time), it does not support remote sessions (e.g. via LTSP) (unable to find the correct session at all). Whereas the former at least shows the pk authorization dialog, although for the wrong 'active' state, the latter is unable to show a dialog at all.
These problems can be solved by using systemd-logind. This needs a newer/patched polkit package. Anyone interested in testing this can find one in home:StefanBruens:branches:Base:System .
Session state can be queried using systemd-loginctl.
Pros of systemd-loginctl: it works Cons: it *might* depend on systemd, but I have not tested this.
IIRC, it does indeed depend on systemd at runtime, with no proper fallback to ConsoleKit when the system is not booted with systemd. And that's why we've not switched the polkit package (and several others, including gdm, NetworkManager, gnome-packagekit, etc.) to use systemd-logind. It's a bit annoying, if you ask me :/ Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
"Stefan Brüns"
-
Frederic Crozat
-
Vincent Untz