Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526928 - dbus > 1.8.4 causes xfce4-session to fail with dbus error
Summary: dbus > 1.8.4 causes xfce4-session to fail with dbus error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 12:08 UTC by James C. Georgas
Modified: 2014-10-26 13:12 UTC (History)
0 users

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


Attachments
package.use (package.use,4.65 KB, text/plain)
2014-10-26 12:10 UTC, James C. Georgas
Details
world file (world,608 bytes, text/plain)
2014-10-26 12:12 UTC, James C. Georgas
Details
output of emerge -vp world (world.emerge,8.58 KB, text/plain)
2014-10-26 12:17 UTC, James C. Georgas
Details
kernel config (config-3.16.5-gentoo,77.40 KB, text/plain)
2014-10-26 12:46 UTC, James C. Georgas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James C. Georgas 2014-10-26 12:08:59 UTC
Using any version of dbus above 1.8.4 causes xfce4-session to fail on login with a popup error dialog which reads:

   Unable to contact Settings Server.
   
   Failed to connect to socket /tmp/dbus-tNwiNYuQA4: connection refused

This only happens when I let the display manager start the session. If I login to a failsafe session, which is just a bare xterm, then I can manually start xfce4-session, and it works fine.

If I click through the error dialog, xfce eventually loads after hanging for about 5 minutes, but with no WM, desktop or menus; just all my startup programs, like sylpheed and firefox, all bare X children of the root window.

I tested with xdm and slim as my login manager; they both fail the same way, and my failsafe workaround succeeds the same way for both.

Using non-dbus aware WM such as twm gives no error.

Downgrading to dbus-1.8.4 fixes it.

Reproducible: Always

Steps to Reproduce:
1. login with xfce4 as the session manager
Actual Results:  
failure to start xfce4-session

Expected Results:  
successful start of xfce4-session

make.conf:

CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j32"
CHOST="x86_64-pc-linux-gnu"
FEATURES="userpriv usersandbox usersync"
USE="-* 3dnow 3dnowext mmx mmxext nls nptl opengl openrc python sse sse2 sse3 ssse3 sse4 sse4_1 threads vaapi vdpau"
PYTHON_TARGETS="python3_4 python3_3"
PYTHON_SINGLE_TARGET="python3_3"
USE_PYTHON="3.3 2.7"
LINGUAS="en ja"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.hoobly.com/"
VIDEO_CARDS="radeon radeonsi"
INPUT_DEVICES="evdev"

PORTDIR=/var/cache/portage/tree
PORTDIR_OVERLAY=/var/cache/portage/overlay
PKGDIR=/var/cache/portage/packages
DISTDIR=/var/cache/portage/distfiles


emerge --info:

Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo x86_64)
=================================================================
System uname: Linux-3.16.5-gentoo-x86_64-AMD_Opteron-tm-_Processor_6366_HE-with-gentoo-2.2
KiB Mem:   131924948 total, 130869852 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 25 Oct 2014 16:00:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo james
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree"
PORTDIR_OVERLAY="/var/cache/portage/overlay"
USE="3dnow 3dnowext amd64 mmx mmxext nls nptl opengl openrc python sse sse2 sse3 sse4 sse4_1 ssse3 threads vaapi vdpau" ABI_X86="64" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en ja" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python3_4 python3_3" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi"
USE_PYTHON="3.3 2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 James C. Georgas 2014-10-26 12:10:38 UTC
Created attachment 387440 [details]
package.use
Comment 2 James C. Georgas 2014-10-26 12:12:14 UTC
Created attachment 387442 [details]
world file
Comment 3 James C. Georgas 2014-10-26 12:17:00 UTC
Created attachment 387444 [details]
output of emerge -vp world

These are the current versions I have installed. There's no ~amd64 packages installed on this box; it's stock stable all the way.
Comment 4 James C. Georgas 2014-10-26 12:46:01 UTC
Created attachment 387446 [details]
kernel config
Comment 5 James C. Georgas 2014-10-26 13:12:27 UTC
Oh, wow. I feel like a tool now.

I was missing USE="X" on dbus. I noticed this when I proofread the files I attached, and saw that I had it on, but for an exact version, in package.use. Once I added it back in for 1.8.8 it worked fine.

Not sure why <= 1.8.4 was ok without the X USE flag though.

Sorry for the noise.