:: [devuan-dev] bug#373: xfce4-notifyd…
Top Pagina
Delete this message
Reply to this message
Auteur: Tito
Datum:  
Aan: 373
Onderwerp: [devuan-dev] bug#373: xfce4-notifyd not started at xfce session login


On 1/31/20 11:34 AM, Mark Hindley wrote:
> On Fri, Jan 31, 2020 at 10:19:26AM +0000, Mark Hindley wrote:
>> To be honest, I am still unlcear why your setup is not working (yet).
>>
>> Let's explore some other avenues.
>>
>> What display manager are you using or are you starting from the terminal with
>> startx? I notice you have both slim and sddm installed.


I've tried them all: lightdm, sddm and slim but it did not make
any difference for this bug.

> A few other things to explore.
>
> Do you think this is the same as Debian #899377
> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899377)


Hi,
yes this looks the same due to plasma-desktop being installed
and if I recall correctly notifications were working before
installing it.

> Are there any message in /var/log/daemon.log relating to failed DBus activation
> start of xfce4-notifyd?


Yes at the end: Jan 31 14:21:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
but with no hints about the reason of failure.

Jan 31 14:20:08 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Adding new display on vt 7 ...
Jan 31 14:20:08 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Loading theme configuration from ""
Jan 31 14:20:08 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Display server starting...
Jan 31 14:20:08 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{5d5b9ab0-2ee8-4586-87e4-c890ed2bcb0e} -background none -noreset -displayfd 18 -seat seat0 vt7
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Setting default cursor
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Display server started.
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Socket server starting...
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Socket server started.
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Loading theme configuration from "/usr/share/sddm/themes/maldives/theme.conf"
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Greeter starting...
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Adding cookie to "/var/run/sddm/{5d5b9ab0-2ee8-4586-87e4-c890ed2bcb0e}"
Jan 31 14:20:09 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Starting...
Jan 31 14:20:09 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Authenticating...
Jan 31 14:20:09 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] returning.
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Greeter session started successfully
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:High-DPI autoscaling not Enabled
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Reading from "/usr/share/xsessions/plasma.desktop"
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Reading from "/usr/share/xsessions/xfce.desktop"
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Loading theme configuration from "/usr/share/sddm/themes/maldives/theme.conf"
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Connected to the daemon.
Jan 31 14:20:09 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Message received from greeter: Connect
Jan 31 14:20:09 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Loading file:///usr/share/sddm/themes/maldives/Main.qml...
Jan 31 14:20:10 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Adding view for "DVI-I-1" QRect(0,0 1920x1080)
Jan 31 14:20:10 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Message received from daemon: Capabilities
Jan 31 14:20:10 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Message received from daemon: HostName
Jan 31 14:20:17 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Reading from "/usr/share/xsessions/xfce.desktop"
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Message received from greeter: Login
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Reading from "/usr/share/xsessions/xfce.desktop"
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Reading from "/usr/share/xsessions/xfce.desktop"
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Session "/usr/share/xsessions/xfce.desktop" selected, command: "startxfce4"
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Starting...
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Authenticating...
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Preparing to converse...
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Conversation with 1 messages
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] returning.
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Authenticated successfully
Jan 31 14:20:17 devuan sddm-greeter: CODE_FILE=unknown:CODE_LINE=0:unknown:Message received from daemon: LoginSucceeded
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:Starting: "/etc/sddm/Xsession \"startxfce4\""
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:Adding cookie to "/home/test/.Xauthority"
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Session started
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Closing session
Jan 31 14:20:17 devuan sddm-helper: CODE_FILE=unknown:CODE_LINE=0:unknown:[PAM] Ended.
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Auth: sddm-helper exited successfully
Jan 31 14:20:17 devuan sddm: CODE_FILE=unknown:CODE_LINE=0:unknown:Greeter stopped.
Jan 31 14:20:17 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=1002 pid=4180 comm="xfce4-session " label="kernel")
Jan 31 14:20:17 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.a11y.Bus'
Jan 31 14:20:17 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.xfce.Xfconf' requested by ':1.3' (uid=1002 pid=4180 comm="xfce4-session " label="kernel")
Jan 31 14:20:17 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.xfce.Xfconf'
Jan 31 14:20:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.Daemon' requested by ':1.9' (uid=1002 pid=4201 comm="Thunar --sm-client-id 20589a729-5b9b-4525-81f1-bb8" label="kernel")
Jan 31 14:20:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 31 14:20:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.16' (uid=1002 pid=4225 comm="xfdesktop --display :0.0 --sm-client-id 25a4b624b-" label="kernel")
Jan 31 14:20:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.freedesktop.Notifications' requested by ':1.19' (uid=1002 pid=4233 comm="xfce4-power-manager --restart --sm-client-id 2aa7c" label="kernel")
Jan 31 14:20:18 devuan dbus-daemon[2447]: [system] Activating service name='org.freedesktop.PackageKit' requested by ':1.60' (uid=1002 pid=4254 comm="package-update-indicator " label="kernel") (using servicehelper)
Jan 31 14:20:18 devuan PackageKit: daemon start
Jan 31 14:20:18 devuan rtkit-daemon[3454]: Successfully made thread 4292 of process 4292 (n/a) owned by '1002' high priority at nice level -11.
Jan 31 14:20:18 devuan rtkit-daemon[3454]: Supervising 4 threads of 2 processes of 2 users.
Jan 31 14:20:19 devuan dbus-daemon[2447]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.18' (uid=1002 pid=4235 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.GPhoto2VolumeMonitor' requested by ':1.18' (uid=1002 pid=4235 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.AfcVolumeMonitor' requested by ':1.18' (uid=1002 pid=4235 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.GoaVolumeMonitor' requested by ':1.18' (uid=1002 pid=4235 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.18' (uid=1002 pid=4235 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.gtk.vfs.Metadata' requested by ':1.15' (uid=1002 pid=4225 comm="xfdesktop --display :0.0 --sm-client-id 25a4b624b-" label="kernel")
Jan 31 14:20:19 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Successfully activated service 'org.gtk.vfs.Metadata'
Jan 31 14:20:19 devuan NetworkManager: src/settings/nm-agent-manager.c:352:n/a:<info> [1580476819.5317] agent-manager: req[0x5647a66ad180, :1.68/org.freedesktop.nm-applet/1002]: agent registered
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Supervising 4 threads of 2 processes of 2 users.
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Successfully made thread 4347 of process 4292 (n/a) owned by '1002' RT at priority 5.
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Supervising 5 threads of 2 processes of 2 users.
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Supervising 5 threads of 2 processes of 2 users.
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Successfully made thread 4348 of process 4292 (n/a) owned by '1002' RT at priority 5.
Jan 31 14:20:19 devuan rtkit-daemon[3454]: Supervising 6 threads of 2 processes of 2 users.
Jan 31 14:20:28 devuan bluetoothd[2498]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource
Jan 31 14:20:28 devuan bluetoothd[2498]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink
Jan 31 14:21:18 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
Jan 31 14:24:20 devuan dbus-daemon[4160]: [session uid=1002 pid=4158] Activating service name='org.freedesktop.Notifications' requested by ':1.34' (uid=1002 pid=4273 comm="nm-applet " label="kernel")


> I also notice that you have plasma-workspace installed as does the reporter in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899377#32. He also provides a
> workaround.


I did try other notification services: dunst and growl that did work, but they do not integrate well
with xfce's notification settings.

Removing /usr/share/dbus-1/services/org.kde.plasma.Notifications.service don't seem a viable option to me.

I cannot believe that this dbus services are started alphabetically without checking if they belong
to the current DE...

Other solutions I can think off:
1) use a system wide notification daemon for all DE's, rather complicated needs work to integrate well.
2) start the daemons in /etc/xdg/autostart where they can be selected correctly with
    NotShowIn=GNOME;KDE;Unity;MATE; etc.
    this is a minor change that could be attempted even at devuan level to ensure that different DE's
    installed play along nice.
I will test n.2 and report.


Tito

> Mark
>