[Bug 825414] New: ck-list-sessions does not show my session as "active" or "local"
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c0 Summary: ck-list-sessions does not show my session as "active" or "local" Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: qa-bugs@suse.de Found By: Third Party Developer/Partner Blocker: --- Using current Factory. susi:~ # ck-list-sessions Session1: unix-user = '10329' realname = 'Stefan Seyfried' seat = 'Seat2' session-type = '' active = FALSE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = FALSE on-since = '2013-06-17T06:20:31.674304Z' login-session-id = '2' susi:~ # I'm running xfce with gdm as login manager. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |hmacht@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c Stefan Fent <stefan.fent@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|stefan.fent@suse.com |pwieczorkiewicz@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c3 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com --- Comment #3 from Stephan Kulow <coolo@suse.com> 2013-08-02 18:29:59 CEST --- why do you have CK installed at all? I doubt gdm registers at CK, loginctl is the one to check. ConsoleKit is supposed to be dropped -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c4 --- Comment #4 from Stefan Seyfried <seife@novell.slipkontur.de> 2013-08-03 15:14:32 CEST --- susi:~ # rpm -e ConsoleKit error: Failed dependencies: ConsoleKit = 0.4.5-18.4 is needed by (installed) ConsoleKit-x11-0.4.5-18.4.x86_64 libck-connector.so.0()(64bit) is needed by (installed) lxdm-0.4.1-24.11.x86_64 I'm keeping lxdm for the case when gdm fails (usually everytime a gnome updates dripples into Factory). Hm, but the last few times this happened I was actually using lightdm, so I could just try to drop lxdm. OOOOPS. No. susi:~ # zypper rm ConsoleKit .. The following packages are going to be REMOVED: ConsoleKit ConsoleKit-x11 lxdm patterns-openSUSE-xfce patterns-openSUSE-xfce_basis patterns-openSUSE-xfce_office xfce4-panel-plugin-brightness xfce4-power-manager xfce4-power-manager-lang 9 packages to remove. After the operation, 3.0 MiB will be freed. I'd really like to keep xfce4-power-manager :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c5 Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pwieczorkiewicz@suse.com --- Comment #5 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> 2013-08-03 14:54:16 UTC --- Only a privileged user is allowed to create local sessions. This is implemented on purpose by ConsoleKit upstream back in 2010, due to security reasons. Since the actually remote users (over ssh for example) can start local session by startx. In order to get ck-list-sessions returning is-local=TRUE you have to use the following command: sudo /usr/sbin/pam-config --service common-session -a --ck_connector This one appends pam_ck_connector.so to common-session in PAM config. After re-log you will get privileges to create local sessions. However pam_ck_connector.so is not equipped with setting active variable, this can be possibly developed, if we consider ConsoleKit for further releases. As well in order to get x11_display and x11_display_device you have to specify the following pam_env variables: CKCON_TTY, CKCON_X11_DISPLAY and CKCON_X11_DISPLAY_DEVICE In order to to do you can use: CKCON_X11_DISPLAY=$DISPLAY CKCON_X11_DISPLAY_DEVICE=$(/usr/lib/ConsoleKit/ck-get-x11-display-device 2>/dev/null) These variables could be appended to /etc/environment Using pam_ck_connector as an originator of the session is enough to get local variable controlled well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c6 --- Comment #6 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> 2013-08-08 15:49:32 CEST --- The only dependency to the ConsoleKit will be removed soon (from xfce). Therefore ConsoleKit will be removed from Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=825414 https://bugzilla.novell.com/show_bug.cgi?id=825414#c7 Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX --- Comment #7 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> 2013-08-08 15:51:30 CEST --- The only dependency to the ConsoleKit will be removed soon (from xfce). Therefore ConsoleKit will be removed from Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com