Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493784 - =x11-misc/slim-1.3.6-r3: doesn't run dbus-launch when logging in
Summary: =x11-misc/slim-1.3.6-r3: doesn't run dbus-launch when logging in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 20:24 UTC by Anthony Basile
Modified: 2013-12-10 16:47 UTC (History)
0 users

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 Anthony Basile gentoo-dev 2013-12-09 20:24:49 UTC
This is a regression wrt 1.3.5, although I hit it on a unique setup: a uclibc based desktop running xfce4, and slim built with USE="-branding -consolekit (-pam)".  I suspect its not reading any of /etc/X11/xinit/xinitrc.d.

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2013-12-09 22:04:15 UTC
Okay I found the issue.  It is a change in the default config file, slim.conf, from 

    sessiondir    /etc/X11/Sessions

to

    sessiondir    /usr/share/xsessions

You may want to patch the config.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2013-12-10 16:21:00 UTC
Upstream changed the default.  The session directory support in 1.3.5 only worked on session scripts, while 1.3.6 implements *.desktop session specification support.  Upstream's 1.3.6 *only* implements the new *.desktop support, but I patched back in the legacy support from 1.3.5 and older.

So both work, but I'm keeping the config's default at the new /usr/share/xsessions/ as per upstream's default.

Note that xfce.desktop gets installed by xfce-base/xfce4-session , so this new config option should still work for you if that package is installed.
Comment 3 Anthony Basile gentoo-dev 2013-12-10 16:47:03 UTC
(In reply to Ian Stakenvicius from comment #2)
> Upstream changed the default.  The session directory support in 1.3.5 only
> worked on session scripts, while 1.3.6 implements *.desktop session
> specification support.  Upstream's 1.3.6 *only* implements the new *.desktop
> support, but I patched back in the legacy support from 1.3.5 and older.
> 
> So both work, but I'm keeping the config's default at the new
> /usr/share/xsessions/ as per upstream's default.
> 
> Note that xfce.desktop gets installed by xfce-base/xfce4-session , so this
> new config option should still work for you if that package is installed.

The problem is you don't get dbus-launch starting using /usr/share/xsessiions.  As a result, anything that wants to communicate with dbus timesout before it starts ... like 10 seconds or so.