Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381727 - xfce4 integration with SLIM on systems with consolekit require additional, unlisted configuration steps
Summary: xfce4 integration with SLIM on systems with consolekit require additional, un...
Status: RESOLVED DUPLICATE of bug 342345
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/xfce-con...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 01:53 UTC by M. George Hansen
Modified: 2011-10-13 21:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. George Hansen 2011-09-04 01:53:44 UTC
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
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-11 15:21:18 UTC
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.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-11 15:50:17 UTC
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.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-10-11 23:21:47 UTC
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.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2011-10-13 16:47:26 UTC
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?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-10-13 21:36:22 UTC

*** This bug has been marked as a duplicate of bug 342345 ***