Xfce4-notifyd-gtk3 "the notification service is not running...." [Solved]

Hi anyone.
First , I'm on the testing branch with xfce4-gtk3.
For some time now, I don't really know since when, I don't see the notification pop-up anymore. By running xfce4-notifyd-config, the configuration window opens well, but it tells me "the notification service is not running......"
There is indeed a file /usr/share/dbus-1/services/org.xfce.xfce.xfce4-notifyd.Notifications.service with"

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/lib/xfce4/notifyd/xfce4-notifyd
SystemdService=xfce4-notifyd.service

"
But when I do:

$ sudo systemctl start xfce4-notifyd.service
[sudo] Mot de passe de steph : 
Failed to start xfce4-notifyd.service: Unit xfce4-notifyd.service not found.

Any ideas?

Translated with www.DeepL.com/Translator

xfce4-notifyd-gtk3 is installed?

Yes it is.

systemctl --user enable xfce4-notifyd ?

systemctl --user status xfce4-notifyd

● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor preset: enabled)
   Active: active (running) since Sun 2018-10-07 21:34:33 CEST; 23min ago
 Main PID: 2939 (xfce4-notifyd)
   CGroup: /user.slice/user-1000.slice/user@1000.service/xfce4-notifyd.service
           └─2939 /usr/lib/xfce4/notifyd/xfce4-notifyd
systemctl --user start xfce4-notifyd

notify-send 'Hello world!' 'This is an example notification.' --icon=dialog-information

i have the same trouble , notify still working
but no systemd xfce4-notifyd ( Testing )

Post output #4 or minimum :wink:

systemctl --user status xfce4-notifyd

libnotify installed?

I use unstable.

Or this?

Here is my systemctl status:

$ systemctl --user status xfce4-notifyd
● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor >
   Active: failed (Result: exit-code) since Mon 2018-10-08 02:16:29 CEST; 3min >
  Process: 1019 ExecStart=/usr/lib/xfce4/notifyd/xfce4-notifyd (code=exited, st>
 Main PID: 1019 (code=exited, status=1/FAILURE)

oct. 08 02:16:29 steph-tour systemd[663]: Starting XFCE notifications service...
oct. 08 02:16:29 steph-tour xfce4-notifyd[1019]: Unable to init server: Impossi>
oct. 08 02:16:29 steph-tour xfce4-notifyd[1019]: cannot open display: 
oct. 08 02:16:29 steph-tour systemd[663]: xfce4-notifyd.service: Main process e>
oct. 08 02:16:29 steph-tour systemd[663]: xfce4-notifyd.service: Failed with re>
oct. 08 02:16:29 steph-tour systemd[663]: Failed to start XFCE notifications se>

And of course, libnotify is installed:

$ pacman -Qi libnotify
Nom                      : libnotify
Version                  : 0.7.7-1
Description              : Library for sending desktop notifications
Architecture             : x86_64
URL                      : https://developer.gnome.org/notification-spec/
Licences                 : LGPL
Groupes                  : --
Fournit                  : --
Dépend de                : gdk-pixbuf2
Dépendances opt.         : --
Requis par               : blueman  file-roller  geoclue2  network-manager-applet  orage  pamac  thunar-gtk3  udiskie  webkit2gtk
                           wxgtk3  xfce4-notifyd-gtk3  xfce4-power-manager-gtk3  xfce4-pulseaudio-plugin  xfce4-sensors-plugin
                           xfce4-settings-gtk3  zenity
Optionnel pour           : audacious-plugins  firefox  pulseaudio-ctl  vlc
Est en conflit avec      : --
Remplace                 : --
Taille installée         : 210,00 KiB
Paqueteur                : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Compilé le               : ven. 14 oct. 2016 06:04:07 CEST
Installé le              : dim. 24 juin 2018 10:58:54 CEST
Motif d’installation     : Installé comme dépendance d’un autre paquet
Script d’installation    : Non
Validé par               : Signature


And as I try to start with --user option:

sudo systemctl --user start xfce4-notifyd
[sudo] Mot de passe de steph : 
Failed to connect to bus: Aucun fichier ou dossier de ce type

I suppose a wrong link with d-bus somewhere in systemd-239-4 ...

Are we stephane and I alone with that issue ? We both are on french configuration.

Why do you use sudo?

I know this is not a good practice, but the password is often asked for system services, so doing it before does not change anything.

Well, it works fine on Archlinux with systemd-239.2-1....

Try it without sudo, I got no question about root password.
for all.

systemctl --user start xfce4-notifyd
systemctl --user status xfce4-notifyd
systemctl --user enable xfce4-notifyd

Back to Manjaro:

$ systemctl --user start xfce4-notifyd
Job for xfce4-notifyd.service failed because the control process exited with error code.
See "systemctl --user status xfce4-notifyd.service" and "journalctl --user -xe" for details.

[steph@steph-tour ~]$ journalctl --user -xe
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat RESULT.
oct. 08 03:11:46 steph-tour pulseaudio[667]: E: [pulseaudio] backend-ofono.c: F>
oct. 08 03:11:46 steph-tour dbus-daemon[583]: [session uid=1000 pid=583] Activa>
oct. 08 03:11:46 steph-tour dbus-daemon[583]: [session uid=1000 pid=583] Succes>
oct. 08 03:12:22 steph-tour systemd[548]: Starting XFCE notifications service...
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a commencé à démarrer.
oct. 08 03:12:22 steph-tour xfce4-notifyd[1076]: Unable to init server: Impossi>
oct. 08 03:12:22 steph-tour xfce4-notifyd[1076]: cannot open display: 
oct. 08 03:12:22 steph-tour systemd[548]: xfce4-notifyd.service: Main process e>
oct. 08 03:12:22 steph-tour systemd[548]: xfce4-notifyd.service: Failed with re>
oct. 08 03:12:22 steph-tour systemd[548]: Failed to start XFCE notifications se>
-- Subject: L'unité (unit) UNIT a échoué
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a échoué, avec le résultat RESULT.
oct. 08 03:13:41 steph-tour dbus-daemon[583]: [session uid=1000 pid=583] Failed>
lines 3734-3756/3756 (END)

Thanks

Missing Text

oct. 08 03:12:22 steph-tour xfce4-notifyd[1076]: Unable to init server: Impossi> ??????
oct. 08 03:12:22 steph-tour xfce4-notifyd[1076]: cannot open display: ????????
oct. 08 03:12:22 steph-tour systemd[548]: xfce4-notifyd.service: Main process e> ????????
oct. 08 03:12:22 steph-tour systemd[548]: xfce4-notifyd.service: Failed with re> ???????
oct. 08 03:12:22 steph-tour systemd[548]: Failed to start XFCE notifications se> ?????????

See "systemctl --user status xfce4-notifyd.service" 

without sudo.

Ooops sorry.
Here is the end of the whole redirected journalctl on a file.txt


-- L'unité (unit) UNIT a échoué, avec le résultat RESULT.
oct. 08 03:16:42 steph-tour systemd[548]: Starting XFCE notifications service...
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a commencé à démarrer.
oct. 08 03:16:42 steph-tour xfce4-notifyd[1375]: Unable to init server: Impossible de se connecter : Connexion refusée
oct. 08 03:16:42 steph-tour xfce4-notifyd[1375]: cannot open display: 
oct. 08 03:16:42 steph-tour systemd[548]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
oct. 08 03:16:42 steph-tour systemd[548]: xfce4-notifyd.service: Failed with result 'exit-code'.
oct. 08 03:16:42 steph-tour systemd[548]: Failed to start XFCE notifications service.
-- Subject: L'unité (unit) UNIT a échoué
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a échoué, avec le résultat RESULT.
oct. 08 03:17:01 steph-tour dbus-daemon[583]: [session uid=1000 pid=583] Failed to activate service 'org.freedesktop.Notifications': timed out (service_start_timeout=120000ms)
oct. 08 03:19:10 steph-tour systemd[548]: Starting XFCE notifications service...
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a commencé à démarrer.
oct. 08 03:19:10 steph-tour xfce4-notifyd[1402]: Unable to init server: Impossible de se connecter : Connexion refusée
oct. 08 03:19:10 steph-tour xfce4-notifyd[1402]: cannot open display: 
oct. 08 03:19:10 steph-tour systemd[548]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
oct. 08 03:19:10 steph-tour systemd[548]: xfce4-notifyd.service: Failed with result 'exit-code'.
oct. 08 03:19:10 steph-tour systemd[548]: Failed to start XFCE notifications service.
-- Subject: L'unité (unit) UNIT a échoué
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) UNIT a échoué, avec le résultat RESULT.

And

$ systemctl --user status xfce4-notifyd.service
● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor >
   Active: failed (Result: exit-code) since Mon 2018-10-08 03:19:10 CEST; 8min >
  Process: 1402 ExecStart=/usr/lib/xfce4/notifyd/xfce4-notifyd (code=exited, st>
 Main PID: 1402 (code=exited, status=1/FAILURE)

oct. 08 03:19:10 steph-tour systemd[548]: Starting XFCE notifications service...
oct. 08 03:19:10 steph-tour xfce4-notifyd[1402]: Unable to init server: Impossi>
oct. 08 03:19:10 steph-tour xfce4-notifyd[1402]: cannot open display: 
oct. 08 03:19:10 steph-tour systemd[548]: xfce4-notifyd.service: Main process e>
oct. 08 03:19:10 steph-tour systemd[548]: xfce4-notifyd.service: Failed with re>
oct. 08 03:19:10 steph-tour systemd[548]: Failed to start XFCE notifications se>
lines 1-12/12 (END)

2 Minutes.

See "systemctl --user status xfce4-notifyd.service" 

without sudo.

Are this the right user like "user@1000.service" in
cat /etc/passwd

Missing text again

❯ systemctl --user status xfce4-notifyd.service
● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor preset: enabled)
   Active: active (running) since Sun 2018-10-07 23:57:02 CEST; 3h 28min ago
 Main PID: 1456 (xfce4-notifyd)
   CGroup: /user.slice/user-1000.slice/user@1000.service/xfce4-notifyd.service
           └─1456 /usr/lib/xfce4/notifyd/xfce4-notifyd

I think I could not help, but for other helpers maybe they need the rest from text.

systemctl --user status give still the same output .
In /etc/passwd , I don't see user@100.service but a line with my username:

steph:x:1000:1001:steph:/home/steph:/bin/bash

For the other service, I have no problems (sshd, httpd...)
May be should I precise that I disabled lightdm as the fist boot after new installation and connect directly thrue tty. Notifications did work after until some few days...

Thank for your advice. Here is a link to a file.txt with the whole output of journalctl --user -xe
[url=http://xn--pp-oia.com/Hio9]âpp.com/Hio9[/url]

Test it :smiley:

mint:x:1000:1000:SGS:/home/mint:/usr/bin/zsh
this is me, mint, named "SGS" 1000:1000 I must google for different numbers 1000:1001 or you :slight_smile:

À l'école, j'avais un 5 en français. Et les paramètres de mon navigateur ne me permettent pas d'accéder à journalctl-xe.txt par lemust83.
At school, I had a 5 in French. And my browser settings do not allow me to access journalctl-xe.txt through lemust83.

  • User ID (UID) :"1000" Each user must be assigned a user ID (UID). UID 0 (zero) is reserved for root and UIDs 1-99 are reserved for other predefined accounts. Further UID 100-999 are reserved by system for administrative and system accounts/groups.
  • Group ID (GID) : "1001"The primary group ID (stored in /etc/group file)

Hi
Solved since new xfdesktop-gtk3:

$ pacman -Qi xfdesktop-gtk3
Nom                      : xfdesktop-gtk3
Version                  : 4.13.2-5
Description              : A desktop manager for Xfce
Architecture             : x86_64
URL                      : http://www.xfce.org/
Licences                 : GPL2
Groupes                  : xfce4-gtk3
Fournit                  : xfdesktop
Dépend de                : exo-gtk3  garcon-gtk3  hicolor-icon-theme  libwnck3
                           libxfce4ui-gtk3  thunar-gtk3
Dépendances opt.         : --
Requis par               : --
Optionnel pour           : --
Est en conflit avec      : xfce4-menueditor  xfdesktop
Remplace                 : xfce4-menueditor
Taille installée         : 2,82 MiB
Paqueteur                : Philip Mueller <philm@manjaro.org>
Compilé le               : sam. 13 oct. 2018 13:01:10 CEST
Installé le              : dim. 14 oct. 2018 17:55:31 CEST
Motif d’installation     : Explicitement installé
Script d’installation    : Non
Validé par               : Signature

Works fine.

Forum kindly sponsored by