On 06/25/2017 09:03 AM, Paul Franke wrote:
1) Any idea what's responsible?
2) From what I can see the issue isn't just startup. If you see my
previous email, it looks like the notifyd is crashing for some reason.
Maybe, xfce4-notifyd crashes on startup due to not set DISPLAY
environment variable?
Please, check for DISPLAY using: dbus-update-activation-environment
--verbose --all
If not, make sure /etc/X11/xinit/xinitrc.d/50-systemd-user.sh gets
sourced on startup of Xorg in some way.
I've come to the conclusion that xfce4-notifyd isn't crashing on
startup, but rather it's intentionally shutting down on inactivity.
(See https://bugzilla.xfce.org/show_bug.cgi?id=12754) And the problem
isn't that it's shutting down, but rather that it's not able to
successfully restart itself.
The DISPLAY variable does seem to be getting set correctly in my console
sessions:
$ dbus-update-activation-environment --verbose --all 2>&1 | grep DISPLAY
dbus-update-activation-environment: setting DISPLAY=:0.0
But perhaps it's not getting set for non-interactive/non-login sessions
somehow. I'll look into that.
Thanks,
DR