Subject: bug#373: xfce4-notifyd not started at xfce session login

From: Tito <[email-masked]>
Date: Tue, 28 Jan 2020 15:40:42 +0100

On Tue, 28 Jan 2020 11:16:09 +0000 Mark Hindley <[email-masked]> wrote:
> Tito,
> 
> Thanks. The only thing that catches my eye is you have kdeconnect installed.
> I am not familiar with it, but does it listen on the 
> org.freedesktop.Notifications dbus interface?
> 
> What does this command produce?
> 
>  busctl --user status org.freedesktop.Notifications
> 
> Mark

Hi,

At xfce4 start without starting xfce4-notifyd manually:

busctl --user status org.freedesktop.Notifications
Failed to get credentials: No such device or address

When xfce4-notifyd is started manually:

busctl --user status org.freedesktop.Notifications
PID=15600
PPID=15597
TTY=pts/0
UID=1002
EUID=1002
SUID=1002
FSUID=1002
GID=1002
EGID=1002
SGID=1002
FSGID=1002
SupplementaryGIDs=1002
Comm=xfce4-notifyd
Exe=/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
CommandLine=/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
Label=kernel
CGroup=/8
Session=8
AuditLoginUID=1002
AuditSessionID=8
UniqueName=:1.62
EffectiveCapabilities=
PermittedCapabilities=
InheritableCapabilities=
BoundingCapabilities=cap_chown cap_dac_override cap_dac_read_search
         cap_fowner cap_fsetid cap_kill cap_setgid
         cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service
         cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock
         cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot
         cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot
         cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config
         cap_mknod cap_lease cap_audit_write cap_audit_control
         cap_setfcap cap_mac_override cap_mac_admin cap_syslog
         cap_wake_alarm cap_block_suspend cap_audit_read

Attached you will find also a strace of the xfce4-notifyd manually
started until completion of the busctl command.

Hope this helps.
Tito