Integrating xfce4 with SLIM on a system with consolekit installed requires some additional configuration steps that aren't listed on the XFCE Configuration Guide. Failing to follow these steps results in permissions problems in xfce4 that prevent users from using xfce4's power commands and the gnome-keyring, among other issues. It would save users a lot of time and headache if this information were listed on the XFCE Configuration Guide. The required steps are listed on a post by ssuominen on the Gentoo forums at <http://forums.gentoo.org/viewtopic-t-858965.html?sid=e93ffdb00f8cc619662fd1d01f8a486f>. Here's the relevant bit: ============================== START PASTE =================================== If you use simple display manager without built-in ConsoleKit support, such as XDM or SLIM, you also need to change: /etc/pam.d/system-login from this: Code: session optional pam_ck_connector.so nox11 To this: Code: session optional pam_ck_connector.so SLIM users: Make sure to include "ck-launch-session" in login_cmd at /etc/slim.conf, or /etc/X11/Sessions/<your session> or in ~/.xinitrc or ~/.xsession file at home directory. It's really up to you where you want to put it, just be sure it's there only once and you are not duplicating previous location! You can detect such duplication by simply looking at 'ck-list-sessions' output and comparing "x11-display-device" lines where /dev/tty7 should only appear once. Here is an working example for running Xfce: Code: $ grep ^login_cmd /etc/slim.conf login_cmd exec ck-launch-session startxfce4 ================================ END PASTE =================================== Reproducible: Always
Both of these steps are no longer required. Well, -maybe- the /etc/pam.d/system-login file still needs to be edited; flameeyes has states that the 'nox11' option will be removed next release, but I don't know if that release has happened yet or not. As of slim-1.3.2-r5 , the default slim.conf no longer needs to be modified.
added dependency on bug 386819 , which is to remove the nox11 parameter from pam_ck_connector.so , so that part#1 of these undocumented steps can also be resolved/obsolete.
The slim.conf example in Comment #0 is broken as it breaks $PATH and I've removed it from the forums post too. And pam_ck_connector's "nox11 issue" is bug 342345.
So of the two reported items, one is no longer needed (or even wrong) and the other one is in process of being handled by bug #342345... can I then just mark this as a duplicate of the latter?
*** This bug has been marked as a duplicate of bug 342345 ***