Summary: | x11-misc/slim session script doesn't work well with Xfce | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vikraman (RETIRED) <vikraman> |
Component: | Current packages | Assignee: | Jeremy Olexa (darkside) (RETIRED) <darkside> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | axs, desktop-misc, marius.brehler+gentoo, vikraman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Vikraman (RETIRED)
2011-06-05 11:33:56 UTC
SLIM has no internal ConsoleKit support so you have to configure slim properly otherwise for the PAM module and ck-launch-session, something like this should work: login_cmd exec ck-launch-session /bin/bash -login /usr/share/slim/Xsession %session As in, you need to ensure the ck-launch-session gets executed early enough and the envvars it sets don't get lost in the process. Thus I don't think this is really a bug, but a feature request for internal ConsoleKit support in SLIM, and this should have gone to SLIM's bugtracking system instead. Although, that's propably waste of time as SLIM development is stopped... Samuli's post at http://forums.gentoo.org/viewtopic-t-858965.html describes how to get slim working with consolekit. The main thing is to add login_cmd exec ck-launch-session startxfce4 to /etc/slim.conf and to remove the 'nox11' at /etc/pam.d/system-login form line session optional pam_ck_connector.so nox11 So it might be an idea to patch /etc/slim.conf. As Samuli already mentioned this isn't a real bug, but imho should be worked around by default. I personally don't see this as a slim startup issue, but an Xfce4 session script issue.. This is what I did to add session support: contents of file "/etc/X11/Sessions/Xfce4:" #!/bin/sh if [ -e `which ck-launch-session` ]; then exec ck-launch-session startxfce4 else exec startxfce4 fi IIRC, session support isn't so much up to the DM as it is the DE; in this case it's Xfce4 that's delinquent IMO, not SLiM. To this end, I think the best approach might instead be the implementation of bug #374065 Hopefully the desktop herd can decide and implement one of these. After further research and consultation, replacing slim's Xsession script with the updated one in attachment 218315 [details, diff] of bug 334111 is the most standardized solution; ck-launch-session if installed is handled via xinitrc.d script sourcing; which is how GDM and KDM do it. Hopefully darkside will agree and have some time to commit the update fairly soon? Ian, I trust your research here. I'll check it out next week. +*slim-1.3.2-r4 (16 Aug 2011) + + 16 Aug 2011; Jeremy Olexa <darkside@gentoo.org> +slim-1.3.2-r4.ebuild, + +files/Xsession-r2: + New Xsession script, bug 334111 by Ian Stakenvicius |