https://bugzilla.novell.com/show_bug.cgi?id=825414
https://bugzilla.novell.com/show_bug.cgi?id=825414#c5
Pawel Wieczorkiewicz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pwieczorkiewicz@suse.com
--- Comment #5 from Pawel Wieczorkiewicz 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.