You are not logged in.

#1 2017-03-03 13:03:37

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

[Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

Just an FYI, I raised a bug report here: https://bugs.archlinux.org/task/53154

My system is configured with "exec startxfce4" in ~/.xinitrc. This logins me in automatically through systemd via xlogin-git.

After upgrading from xfce4-session-4.12.1-4 to xfce4-session-4.12.1-6, I get:

Unable to contact settings server

Failed to connect to socket /tmp/dbus/Ba99xulXz0V: Connection refused


Followed by a grey screen with flashing XFCE logo, then:

Unable to get connection to the message bus session

Could not connect: Connection refused


Rolling back to xfce4-session-4.12.1-4, it works fine. Oddly, "startx" still works as before, but with xlogin@me enabled in systemd, I get the above and no desktop.

Last edited by Modeler (2017-03-11 21:07:19)


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

#2 2017-03-10 22:02:40

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

Re: [Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

I get the same problem with both slim and lightdm. How is everyone else logging in to Xfce4? This is so broken right now!


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

#3 2017-03-11 01:02:56

toz
Member
Registered: 2011-10-28
Posts: 494

Re: [Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

lightdm, xdm and basic startx all work here.

Failed to connect to socket /tmp/dbus/Ba99xulXz0V: Connection refused

Looks like your having a dbus problem. Possible use of dbus-launch which has been deprecated. Have a read through https://bbs.archlinux.org/viewtopic.php?id=217902 and https://bbs.archlinux.org/viewtopic.php?id=216001.

Offline

#4 2017-03-11 12:23:04

jones
Member
Registered: 2013-03-14
Posts: 244

Re: [Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

LightDM works just as it should.

startxfce4

in my TTY3 as well.

Any more questions, Modeler?

Offline

#5 2017-03-11 13:16:51

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

@toz or it could be xlogin-git which supplies /etc/X11/xinit/xinitrc.d/25-xlogin.sh

#! @bash@

# Don't use the systemd user bus for the X session
if [ "$DBUS_SESSION_BUS_ADDRESS" = "unix:path=$XDG_RUNTIME_DIR/bus" ]; then
    unset DBUS_SESSION_BUS_ADDRESS
fi

xfce4-session-4.12.1-6 starts sourcing files in /etc/X11/xinit/xinitrc.d/ with release 6.
This should also affect `startx` unless Modeler's xinitrc does not include

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

Offline

#6 2017-03-11 21:12:27

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

Re: [Solved] xfce4-session update (4.12.1-6) breaks XFCE with xlogin

My apologies for flipping out a little there. Of course Xfce4 isn't broken for everyone; how would it have got through testing?

loqs wrote:

@toz or it could be xlogin-git which supplies /etc/X11/xinit/xinitrc.d/25-xlogin.sh

#! @bash@

# Don't use the systemd user bus for the X session
if [ "$DBUS_SESSION_BUS_ADDRESS" = "unix:path=$XDG_RUNTIME_DIR/bus" ]; then
    unset DBUS_SESSION_BUS_ADDRESS
fi

You are quite right. This is the file that's causing the problem and it belongs to xlogin-git. With this removed, lightdm and slim both work fine. foutrelis commented as such on the bug report.

loqs wrote:

xfce4-session-4.12.1-6 starts sourcing files in /etc/X11/xinit/xinitrc.d/ with release 6.
This should also affect `startx` unless Modeler's xinitrc does not include

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

That is the key bit of information I was missing. I understand the issue now, so marking as solved. Thanks all.

Last edited by Modeler (2017-03-11 21:12:57)


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

Board footer

Powered by FluxBB