You are not logged in.
After upgrading system, during starting X sessions the journal is flooded with the following lines:
org.freedesktop.Notifications[603]: (xfce4-notifyd:1597): Gtk-WARNING **: cannot open display:
dbus-daemon[603]: Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
After the session is started, warnings don't occur anymore. I guess, in the updated system the DISPLAY variable become known to dbus on later stages than before.
I start X with 'startx', with the following .xinitrc:
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec startxfce4
In /etc/X11/xinit/xinitrc.d there is only one file: 50-systemd-user.sh, which looks like this:
#!/bin/sh
systemctl --user import-environment DISPLAY XAUTHORITY
if which dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
What is needed in order that those warnings don't happen?
bing different
Offline
Do you have any user services starting (and sending notifications) immediately after login? (like wanted by default.target)
Offline
Yes. I'll try to start that service later. Thanks for the advise.
bing different
Offline