Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374065 - Xfce4 session script does not use ck-launch-session (or any xinitrc.d scripts)
Summary: Xfce4 session script does not use ck-launch-session (or any xinitrc.d scripts)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 20:43 UTC by Ian Stakenvicius (RETIRED)
Modified: 2011-07-28 17:21 UTC (History)
0 users

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


Attachments
/etc/X11/Sessions/Xfce4 (Xfce4,1.62 KB, text/plain)
2011-07-04 22:59 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2011-07-04 20:43:18 UTC
the script /etc/X11/Sessions/Xfce4 is meant to launch a working xfce4 session when not using a DM that does compete session management.  SLiM and XDM both use this script.

At present it simply exec's startxfce4, which then (eventually) references /etc/xdg/xfce4/xinitrc to set up the actual session.  Although this does invoke dbus-launch and ssh-agent if applicable, it does not invoke ck-launch-session.

As dbus-launch, ck-launch-session, and others are now invokable via /etc/X11/xinit/xinitrc.d/* , it would be nice if support for this would be added to /etc/X11/Sessions/Xfce4 to make it more standard and to add support for ck-launch-session if applicable.  I will be attaching a script that could be used in lieu of the current script.

Alternatively, if /etc/xdg/xfce4/xinitrc could be patched to handle ck-launch-session in addition to dbus-launch, ssh-agent, etc., this would also be an acceptable (although I think less standard) means of addressing the root issue.

Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-07-04 22:59:50 UTC
Created attachment 279109 [details]
/etc/X11/Sessions/Xfce4

This file is based in part on the Xsession script from GDM, and the suggestions found at https://wiki.archlinux.org/index.php/Xfce#Running_Xfce (see the 'file ~/.xinitrc' box).
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2011-07-05 01:31:18 UTC
I expect that the solution I presented here is a better one than bug 370089  (listing for convenience)
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2011-07-06 16:59:23 UTC
...or not.

I wrote this on the basis that xinitrc.d was entirely in effect, and it seems that it is still in transition (ie, 50-ssh-agent etc. are installed by gdm, not by openssh)..  Since xinitrc.d/ does not seem to have been generically implemented yet the solution i presented may be premature.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2011-07-28 17:21:56 UTC
After further research, it's become apparent that this is not the way to go to ensure consolekit support in Xfce4; the DM's should handle it (and other xinitrc.d scripts).